diff --git a/asset-manifest.json b/asset-manifest.json deleted file mode 100644 index 9312f69..0000000 --- a/asset-manifest.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "files": { - "main.js": "./static/js/main.61fbd98d.js", - "index.html": "./index.html", - "main.61fbd98d.js.map": "./static/js/main.61fbd98d.js.map" - }, - "entrypoints": [ - "static/js/main.61fbd98d.js" - ] -} \ No newline at end of file diff --git a/assets/index-DE-VvRNO.js b/assets/index-DE-VvRNO.js new file mode 100644 index 0000000..39fe922 --- /dev/null +++ b/assets/index-DE-VvRNO.js @@ -0,0 +1,279 @@ +function k5(e,t){for(var r=0;rn[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(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 n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();var wa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Rt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function So(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var cT={exports:{}},Wm={},dT={exports:{}},We={};/** + * @license React + * 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 $d=Symbol.for("react.element"),T5=Symbol.for("react.portal"),j5=Symbol.for("react.fragment"),I5=Symbol.for("react.strict_mode"),A5=Symbol.for("react.profiler"),M5=Symbol.for("react.provider"),F5=Symbol.for("react.context"),N5=Symbol.for("react.forward_ref"),L5=Symbol.for("react.suspense"),D5=Symbol.for("react.memo"),B5=Symbol.for("react.lazy"),VC=Symbol.iterator;function z5(e){return e===null||typeof e!="object"?null:(e=VC&&e[VC]||e["@@iterator"],typeof e=="function"?e:null)}var fT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pT=Object.assign,vT={};function Jl(e,t,r){this.props=e,this.context=t,this.refs=vT,this.updater=r||fT}Jl.prototype.isReactComponent={};Jl.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Jl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mT(){}mT.prototype=Jl.prototype;function ex(e,t,r){this.props=e,this.context=t,this.refs=vT,this.updater=r||fT}var tx=ex.prototype=new mT;tx.constructor=ex;pT(tx,Jl.prototype);tx.isPureReactComponent=!0;var UC=Array.isArray,hT=Object.prototype.hasOwnProperty,rx={current:null},gT={key:!0,ref:!0,__self:!0,__source:!0};function yT(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)hT.call(t,n)&&!gT.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1>>1,W=M[K];if(0>>1;Ko(G,q))neo(ve,G)?(M[K]=ve,M[ne]=q,K=ne):(M[K]=G,M[Y]=q,K=Y);else if(neo(ve,q))M[K]=ve,M[ne]=q,K=ne;else break e}}return N}function o(M,N){var q=M.sortIndex-N.sortIndex;return q!==0?q:M.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var u=[],l=[],d=1,f=null,p=3,v=!1,h=!1,b=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(M){for(var N=r(l);N!==null;){if(N.callback===null)n(l);else if(N.startTime<=M)n(l),N.sortIndex=N.expirationTime,t(u,N);else break;N=r(l)}}function C(M){if(b=!1,y(M),!h)if(r(u)!==null)h=!0,L(O);else{var N=r(l);N!==null&&B(C,N.startTime-M)}}function O(M,N){h=!1,b&&(b=!1,g(E),E=-1),v=!0;var q=p;try{for(y(N),f=r(u);f!==null&&(!(f.expirationTime>N)||M&&!T());){var K=f.callback;if(typeof K=="function"){f.callback=null,p=f.priorityLevel;var W=K(f.expirationTime<=N);N=e.unstable_now(),typeof W=="function"?f.callback=W:f===r(u)&&n(u),y(N)}else n(u);f=r(u)}if(f!==null)var le=!0;else{var Y=r(l);Y!==null&&B(C,Y.startTime-N),le=!1}return le}finally{f=null,p=q,v=!1}}var S=!1,P=null,E=-1,$=5,k=-1;function T(){return!(e.unstable_now()-k<$)}function j(){if(P!==null){var M=e.unstable_now();k=M;var N=!0;try{N=P(!0,M)}finally{N?I():(S=!1,P=null)}}else S=!1}var I;if(typeof m=="function")I=function(){m(j)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,D=A.port2;A.port1.onmessage=j,I=function(){D.postMessage(null)}}else I=function(){x(j,0)};function L(M){P=M,S||(S=!0,I())}function B(M,N){E=x(function(){M(e.unstable_now())},N)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){h||v||(h=!0,L(O))},e.unstable_forceFrameRate=function(M){0>M||125K?(M.sortIndex=q,t(l,M),r(u)===null&&M===r(l)&&(b?(g(E),E=-1):b=!0,B(C,q-K))):(M.sortIndex=W,t(u,M),h||v||(h=!0,L(O))),M},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(M){var N=p;return function(){var q=p;p=N;try{return M.apply(this,arguments)}finally{p=q}}}})(wT);xT.exports=wT;var J5=xT.exports;/** + * @license React + * 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 ST=c,Yr=J5;function pe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tb=Object.prototype.hasOwnProperty,Z5=/^[: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]*$/,qC={},HC={};function eB(e){return Tb.call(HC,e)?!0:Tb.call(qC,e)?!1:Z5.test(e)?HC[e]=!0:(qC[e]=!0,!1)}function tB(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rB(e,t,r,n){if(t===null||typeof t>"u"||tB(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Pr(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var sr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){sr[e]=new Pr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];sr[t]=new Pr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){sr[e]=new Pr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){sr[e]=new Pr(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){sr[e]=new Pr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){sr[e]=new Pr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){sr[e]=new Pr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){sr[e]=new Pr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){sr[e]=new Pr(e,5,!1,e.toLowerCase(),null,!1,!1)});var ox=/[\-:]([a-z])/g;function ax(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(ox,ax);sr[t]=new Pr(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(ox,ax);sr[t]=new Pr(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(ox,ax);sr[t]=new Pr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){sr[e]=new Pr(e,1,!1,e.toLowerCase(),null,!1,!1)});sr.xlinkHref=new Pr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){sr[e]=new Pr(e,1,!1,e.toLowerCase(),null,!0,!0)});function ix(e,t,r,n){var o=sr.hasOwnProperty(t)?sr[t]:null;(o!==null?o.type!==0:n||!(2s||o[i]!==a[s]){var u=` +`+o[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Qg=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?rc(e):""}function nB(e){switch(e.tag){case 5:return rc(e.type);case 16:return rc("Lazy");case 13:return rc("Suspense");case 19:return rc("SuspenseList");case 0:case 2:case 15:return e=Xg(e.type,!1),e;case 11:return e=Xg(e.type.render,!1),e;case 1:return e=Xg(e.type,!0),e;default:return""}}function Mb(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 Ds:return"Fragment";case Ls:return"Portal";case jb:return"Profiler";case sx:return"StrictMode";case Ib:return"Suspense";case Ab:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ET:return(e.displayName||"Context")+".Consumer";case CT:return(e._context.displayName||"Context")+".Provider";case lx:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ux:return t=e.displayName||null,t!==null?t:Mb(e.type)||"Memo";case pa:t=e._payload,e=e._init;try{return Mb(e(t))}catch{}}return null}function oB(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Mb(t);case 8:return t===sx?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ua(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function $T(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aB(e){var t=$T(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sf(e){e._valueTracker||(e._valueTracker=aB(e))}function RT(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=$T(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ev(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fb(e,t){var r=t.checked;return _t({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function KC(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ua(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kT(e,t){t=t.checked,t!=null&&ix(e,"checked",t,!1)}function Nb(e,t){kT(e,t);var r=Ua(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Lb(e,t.type,r):t.hasOwnProperty("defaultValue")&&Lb(e,t.type,Ua(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function QC(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Lb(e,t,r){(t!=="number"||ev(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var nc=Array.isArray;function il(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Of.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qc(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var dc={animationIterationCount:!0,aspectRatio:!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},iB=["Webkit","ms","Moz","O"];Object.keys(dc).forEach(function(e){iB.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),dc[t]=dc[e]})});function AT(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||dc.hasOwnProperty(e)&&dc[e]?(""+t).trim():t+"px"}function MT(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=AT(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var sB=_t({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 zb(e,t){if(t){if(sB[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(pe(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(pe(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(pe(61))}if(t.style!=null&&typeof t.style!="object")throw Error(pe(62))}}function Vb(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}}var Ub=null;function cx(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Wb=null,sl=null,ll=null;function JC(e){if(e=Td(e)){if(typeof Wb!="function")throw Error(pe(280));var t=e.stateNode;t&&(t=Qm(t),Wb(e.stateNode,e.type,t))}}function FT(e){sl?ll?ll.push(e):ll=[e]:sl=e}function NT(){if(sl){var e=sl,t=ll;if(ll=sl=null,JC(e),t)for(e=0;e>>=0,e===0?32:31-(yB(e)/bB|0)|0}var Cf=64,Ef=4194304;function oc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ov(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=r&268435455;if(i!==0){var s=i&~o;s!==0?n=oc(s):(a&=i,a!==0&&(n=oc(a)))}else i=r&~o,i!==0?n=oc(i):a!==0&&(n=oc(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,a=t&-t,o>=a||o===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function Rd(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Hn(t),e[t]=r}function SB(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=pc),sE=" ",lE=!1;function nj(e,t){switch(e){case"keyup":return YB.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oj(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bs=!1;function ZB(e,t){switch(e){case"compositionend":return oj(t);case"keypress":return t.which!==32?null:(lE=!0,sE);case"textInput":return e=t.data,e===sE&&lE?null:e;default:return null}}function ez(e,t){if(Bs)return e==="compositionend"||!yx&&nj(e,t)?(e=tj(),fp=mx=Sa=null,Bs=!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)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fE(r)}}function lj(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lj(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function uj(){for(var e=window,t=ev();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ev(e.document)}return t}function bx(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")}function uz(e){var t=uj(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&lj(r.ownerDocument.documentElement,r)){if(n!==null&&bx(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=n.end===void 0?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=pE(r,a);var i=pE(r,n);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,zs=null,Xb=null,mc=null,Yb=!1;function vE(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Yb||zs==null||zs!==ev(n)||(n=zs,"selectionStart"in n&&bx(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),mc&&Yc(mc,n)||(mc=n,n=sv(Xb,"onSelect"),0Ws||(e.current=n0[Ws],n0[Ws]=null,Ws--)}function ct(e,t){Ws++,n0[Ws]=e.current,e.current=t}var Wa={},hr=Qa(Wa),Fr=Qa(!1),qi=Wa;function Rl(e,t){var r=e.type.contextTypes;if(!r)return Wa;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Nr(e){return e=e.childContextTypes,e!=null}function uv(){vt(Fr),vt(hr)}function xE(e,t,r){if(hr.current!==Wa)throw Error(pe(168));ct(hr,t),ct(Fr,r)}function yj(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(pe(108,oB(e)||"Unknown",o));return _t({},r,n)}function cv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wa,qi=hr.current,ct(hr,e),ct(Fr,Fr.current),!0}function wE(e,t,r){var n=e.stateNode;if(!n)throw Error(pe(169));r?(e=yj(e,t,qi),n.__reactInternalMemoizedMergedChildContext=e,vt(Fr),vt(hr),ct(hr,e)):vt(Fr),ct(Fr,r)}var Ao=null,Xm=!1,cy=!1;function bj(e){Ao===null?Ao=[e]:Ao.push(e)}function xz(e){Xm=!0,bj(e)}function Xa(){if(!cy&&Ao!==null){cy=!0;var e=0,t=Je;try{var r=Ao;for(Je=1;e>=i,o-=i,No=1<<32-Hn(t)+o|r<E?($=P,P=null):$=P.sibling;var k=p(g,P,y[E],C);if(k===null){P===null&&(P=$);break}e&&P&&k.alternate===null&&t(g,P),m=a(k,m,E),S===null?O=k:S.sibling=k,S=k,P=$}if(E===y.length)return r(g,P),ht&&hi(g,E),O;if(P===null){for(;EE?($=P,P=null):$=P.sibling;var T=p(g,P,k.value,C);if(T===null){P===null&&(P=$);break}e&&P&&T.alternate===null&&t(g,P),m=a(T,m,E),S===null?O=T:S.sibling=T,S=T,P=$}if(k.done)return r(g,P),ht&&hi(g,E),O;if(P===null){for(;!k.done;E++,k=y.next())k=f(g,k.value,C),k!==null&&(m=a(k,m,E),S===null?O=k:S.sibling=k,S=k);return ht&&hi(g,E),O}for(P=n(g,P);!k.done;E++,k=y.next())k=v(P,g,E,k.value,C),k!==null&&(e&&k.alternate!==null&&P.delete(k.key===null?E:k.key),m=a(k,m,E),S===null?O=k:S.sibling=k,S=k);return e&&P.forEach(function(j){return t(g,j)}),ht&&hi(g,E),O}function x(g,m,y,C){if(typeof y=="object"&&y!==null&&y.type===Ds&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case wf:e:{for(var O=y.key,S=m;S!==null;){if(S.key===O){if(O=y.type,O===Ds){if(S.tag===7){r(g,S.sibling),m=o(S,y.props.children),m.return=g,g=m;break e}}else if(S.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===pa&&RE(O)===S.type){r(g,S.sibling),m=o(S,y.props),m.ref=Bu(g,S,y),m.return=g,g=m;break e}r(g,S);break}else t(g,S);S=S.sibling}y.type===Ds?(m=Ii(y.props.children,g.mode,C,y.key),m.return=g,g=m):(C=_p(y.type,y.key,y.props,null,g.mode,C),C.ref=Bu(g,m,y),C.return=g,g=C)}return i(g);case Ls:e:{for(S=y.key;m!==null;){if(m.key===S)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){r(g,m.sibling),m=o(m,y.children||[]),m.return=g,g=m;break e}else{r(g,m);break}else t(g,m);m=m.sibling}m=yy(y,g.mode,C),m.return=g,g=m}return i(g);case pa:return S=y._init,x(g,m,S(y._payload),C)}if(nc(y))return h(g,m,y,C);if(Mu(y))return b(g,m,y,C);If(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(r(g,m.sibling),m=o(m,y),m.return=g,g=m):(r(g,m),m=gy(y,g.mode,C),m.return=g,g=m),i(g)):r(g,m)}return x}var Tl=Pj(!0),$j=Pj(!1),jd={},ho=Qa(jd),td=Qa(jd),rd=Qa(jd);function Ei(e){if(e===jd)throw Error(pe(174));return e}function $x(e,t){switch(ct(rd,t),ct(td,e),ct(ho,jd),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Bb(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Bb(t,e)}vt(ho),ct(ho,t)}function jl(){vt(ho),vt(td),vt(rd)}function Rj(e){Ei(rd.current);var t=Ei(ho.current),r=Bb(t,e.type);t!==r&&(ct(td,e),ct(ho,r))}function Rx(e){td.current===e&&(vt(ho),vt(td))}var gt=Qa(0);function hv(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var dy=[];function kx(){for(var e=0;er?r:4,e(!0);var n=fy.transition;fy.transition={};try{e(!1),t()}finally{Je=r,fy.transition=n}}function qj(){return wn().memoizedState}function Cz(e,t,r){var n=Fa(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Hj(e))Gj(t,r);else if(r=Sj(e,t,r,n),r!==null){var o=Or();Gn(r,e,n,o),Kj(r,t,n)}}function Ez(e,t,r){var n=Fa(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Hj(e))Gj(t,o);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var i=t.lastRenderedState,s=a(i,r);if(o.hasEagerState=!0,o.eagerState=s,Kn(s,i)){var u=t.interleaved;u===null?(o.next=o,Ex(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}r=Sj(e,t,o,n),r!==null&&(o=Or(),Gn(r,e,n,o),Kj(r,t,n))}}function Hj(e){var t=e.alternate;return e===bt||t!==null&&t===bt}function Gj(e,t){hc=gv=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Kj(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,fx(e,r)}}var yv={readContext:xn,useCallback:ur,useContext:ur,useEffect:ur,useImperativeHandle:ur,useInsertionEffect:ur,useLayoutEffect:ur,useMemo:ur,useReducer:ur,useRef:ur,useState:ur,useDebugValue:ur,useDeferredValue:ur,useTransition:ur,useMutableSource:ur,useSyncExternalStore:ur,useId:ur,unstable_isNewReconciler:!1},Pz={readContext:xn,useCallback:function(e,t){return ao().memoizedState=[e,t===void 0?null:t],e},useContext:xn,useEffect:TE,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,hp(4194308,4,Bj.bind(null,t,e),r)},useLayoutEffect:function(e,t){return hp(4194308,4,e,t)},useInsertionEffect:function(e,t){return hp(4,2,e,t)},useMemo:function(e,t){var r=ao();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ao();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Cz.bind(null,bt,e),[n.memoizedState,e]},useRef:function(e){var t=ao();return e={current:e},t.memoizedState=e},useState:kE,useDebugValue:Mx,useDeferredValue:function(e){return ao().memoizedState=e},useTransition:function(){var e=kE(!1),t=e[0];return e=Oz.bind(null,e[1]),ao().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=bt,o=ao();if(ht){if(r===void 0)throw Error(pe(407));r=r()}else{if(r=t(),Xt===null)throw Error(pe(349));Gi&30||jj(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,TE(Aj.bind(null,n,a,e),[e]),n.flags|=2048,ad(9,Ij.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=ao(),t=Xt.identifierPrefix;if(ht){var r=Lo,n=No;r=(n&~(1<<32-Hn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=nd++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[fo]=t,e[ed]=n,nI(e,t,!1,!1),t.stateNode=e;e:{switch(i=Vb(r,n),r){case"dialog":dt("cancel",e),dt("close",e),o=n;break;case"iframe":case"object":case"embed":dt("load",e),o=n;break;case"video":case"audio":for(o=0;oAl&&(t.flags|=128,n=!0,zu(a,!1),t.lanes=4194304)}else{if(!n)if(e=hv(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),zu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!ht)return cr(t),null}else 2*Pt()-a.renderingStartTime>Al&&r!==1073741824&&(t.flags|=128,n=!0,zu(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(r=a.last,r!==null?r.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Pt(),t.sibling=null,r=gt.current,ct(gt,n?r&1|2:r&1),t):(cr(t),null);case 22:case 23:return zx(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ur&1073741824&&(cr(t),t.subtreeFlags&6&&(t.flags|=8192)):cr(t),null;case 24:return null;case 25:return null}throw Error(pe(156,t.tag))}function Mz(e,t){switch(xx(t),t.tag){case 1:return Nr(t.type)&&uv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jl(),vt(Fr),vt(hr),kx(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Rx(t),null;case 13:if(vt(gt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(pe(340));kl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return vt(gt),null;case 4:return jl(),null;case 10:return Cx(t.type._context),null;case 22:case 23:return zx(),null;case 24:return null;default:return null}}var Mf=!1,fr=!1,Fz=typeof WeakSet=="function"?WeakSet:Set,$e=null;function Ks(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Ct(e,t,n)}else r.current=null}function m0(e,t,r){try{r()}catch(n){Ct(e,t,n)}}var BE=!1;function Nz(e,t){if(Jb=av,e=uj(),bx(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var i=0,s=-1,u=-1,l=0,d=0,f=e,p=null;t:for(;;){for(var v;f!==r||o!==0&&f.nodeType!==3||(s=i+o),f!==a||n!==0&&f.nodeType!==3||(u=i+n),f.nodeType===3&&(i+=f.nodeValue.length),(v=f.firstChild)!==null;)p=f,f=v;for(;;){if(f===e)break t;if(p===r&&++l===o&&(s=i),p===a&&++d===n&&(u=i),(v=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=v}r=s===-1||u===-1?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zb={focusedElem:e,selectionRange:r},av=!1,$e=t;$e!==null;)if(t=$e,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$e=e;else for(;$e!==null;){t=$e;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var b=h.memoizedProps,x=h.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?b:Dn(t.type,b),x);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(pe(163))}}catch(C){Ct(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,$e=e;break}$e=t.return}return h=BE,BE=!1,h}function gc(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,a!==void 0&&m0(t,r,a)}o=o.next}while(o!==n)}}function Zm(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function h0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function iI(e){var t=e.alternate;t!==null&&(e.alternate=null,iI(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[fo],delete t[ed],delete t[r0],delete t[bz],delete t[_z])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sI(e){return e.tag===5||e.tag===3||e.tag===4}function zE(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sI(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function g0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=lv));else if(n!==4&&(e=e.child,e!==null))for(g0(e,t,r),e=e.sibling;e!==null;)g0(e,t,r),e=e.sibling}function y0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(y0(e,t,r),e=e.sibling;e!==null;)y0(e,t,r),e=e.sibling}var rr=null,zn=!1;function sa(e,t,r){for(r=r.child;r!==null;)lI(e,t,r),r=r.sibling}function lI(e,t,r){if(mo&&typeof mo.onCommitFiberUnmount=="function")try{mo.onCommitFiberUnmount(qm,r)}catch{}switch(r.tag){case 5:fr||Ks(r,t);case 6:var n=rr,o=zn;rr=null,sa(e,t,r),rr=n,zn=o,rr!==null&&(zn?(e=rr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):rr.removeChild(r.stateNode));break;case 18:rr!==null&&(zn?(e=rr,r=r.stateNode,e.nodeType===8?uy(e.parentNode,r):e.nodeType===1&&uy(e,r),Qc(e)):uy(rr,r.stateNode));break;case 4:n=rr,o=zn,rr=r.stateNode.containerInfo,zn=!0,sa(e,t,r),rr=n,zn=o;break;case 0:case 11:case 14:case 15:if(!fr&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,i!==void 0&&(a&2||a&4)&&m0(r,t,i),o=o.next}while(o!==n)}sa(e,t,r);break;case 1:if(!fr&&(Ks(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Ct(r,t,s)}sa(e,t,r);break;case 21:sa(e,t,r);break;case 22:r.mode&1?(fr=(n=fr)||r.memoizedState!==null,sa(e,t,r),fr=n):sa(e,t,r);break;default:sa(e,t,r)}}function VE(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Fz),t.forEach(function(n){var o=Hz.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Ln(e,t){var r=t.deletions;if(r!==null)for(var n=0;no&&(o=i),n&=~a}if(n=o,n=Pt()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Dz(n/1960))-n,10e?16:e,Oa===null)var n=!1;else{if(e=Oa,Oa=null,xv=0,Ge&6)throw Error(pe(331));var o=Ge;for(Ge|=4,$e=e.current;$e!==null;){var a=$e,i=a.child;if($e.flags&16){var s=a.deletions;if(s!==null){for(var u=0;uPt()-Dx?ji(e,0):Lx|=r),Lr(e,t)}function hI(e,t){t===0&&(e.mode&1?(t=Ef,Ef<<=1,!(Ef&130023424)&&(Ef=4194304)):t=1);var r=Or();e=Wo(e,t),e!==null&&(Rd(e,t,r),Lr(e,r))}function qz(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),hI(e,r)}function Hz(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(pe(314))}n!==null&&n.delete(t),hI(e,r)}var gI;gI=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fr.current)Mr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Mr=!1,Iz(e,t,r);Mr=!!(e.flags&131072)}else Mr=!1,ht&&t.flags&1048576&&_j(t,fv,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;gp(e,t),e=t.pendingProps;var o=Rl(t,hr.current);cl(t,r),o=jx(null,t,n,e,o,r);var a=Ix();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Nr(n)?(a=!0,cv(t)):a=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Px(t),o.updater=Ym,t.stateNode=o,o._reactInternals=t,l0(t,n,e,r),t=d0(null,t,n,!0,a,r)):(t.tag=0,ht&&a&&_x(t),_r(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(gp(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Kz(n),e=Dn(n,e),o){case 0:t=c0(null,t,n,e,r);break e;case 1:t=NE(null,t,n,e,r);break e;case 11:t=ME(null,t,n,e,r);break e;case 14:t=FE(null,t,n,Dn(n.type,e),r);break e}throw Error(pe(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dn(n,o),c0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dn(n,o),NE(e,t,n,o,r);case 3:e:{if(eI(t),e===null)throw Error(pe(387));n=t.pendingProps,a=t.memoizedState,o=a.element,Oj(e,t),mv(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){o=Il(Error(pe(423)),t),t=LE(e,t,n,r,o);break e}else if(n!==o){o=Il(Error(pe(424)),t),t=LE(e,t,n,r,o);break e}else for(qr=Ia(t.stateNode.containerInfo.firstChild),Kr=t,ht=!0,Vn=null,r=$j(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(kl(),n===o){t=qo(e,t,r);break e}_r(e,t,n,r)}t=t.child}return t;case 5:return Rj(t),e===null&&a0(t),n=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,e0(n,o)?i=null:a!==null&&e0(n,a)&&(t.flags|=32),Zj(e,t),_r(e,t,i,r),t.child;case 6:return e===null&&a0(t),null;case 13:return tI(e,t,r);case 4:return $x(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Tl(t,null,n,r):_r(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dn(n,o),ME(e,t,n,o,r);case 7:return _r(e,t,t.pendingProps,r),t.child;case 8:return _r(e,t,t.pendingProps.children,r),t.child;case 12:return _r(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,ct(pv,n._currentValue),n._currentValue=i,a!==null)if(Kn(a.value,i)){if(a.children===o.children&&!Fr.current){t=qo(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){i=a.child;for(var u=s.firstContext;u!==null;){if(u.context===n){if(a.tag===1){u=Bo(-1,r&-r),u.tag=2;var l=a.updateQueue;if(l!==null){l=l.shared;var d=l.pending;d===null?u.next=u:(u.next=d.next,d.next=u),l.pending=u}}a.lanes|=r,u=a.alternate,u!==null&&(u.lanes|=r),i0(a.return,r,t),s.lanes|=r;break}u=u.next}}else if(a.tag===10)i=a.type===t.type?null:a.child;else if(a.tag===18){if(i=a.return,i===null)throw Error(pe(341));i.lanes|=r,s=i.alternate,s!==null&&(s.lanes|=r),i0(i,r,t),i=a.sibling}else i=a.child;if(i!==null)i.return=a;else for(i=a;i!==null;){if(i===t){i=null;break}if(a=i.sibling,a!==null){a.return=i.return,i=a;break}i=i.return}a=i}_r(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,cl(t,r),o=xn(o),n=n(o),t.flags|=1,_r(e,t,n,r),t.child;case 14:return n=t.type,o=Dn(n,t.pendingProps),o=Dn(n.type,o),FE(e,t,n,o,r);case 15:return Yj(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Dn(n,o),gp(e,t),t.tag=1,Nr(n)?(e=!0,cv(t)):e=!1,cl(t,r),Ej(t,n,o),l0(t,n,o,r),d0(null,t,n,!0,e,r);case 19:return rI(e,t,r);case 22:return Jj(e,t,r)}throw Error(pe(156,t.tag))};function yI(e,t){return WT(e,t)}function Gz(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,t,r,n){return new Gz(e,t,r,n)}function Ux(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kz(e){if(typeof e=="function")return Ux(e)?1:0;if(e!=null){if(e=e.$$typeof,e===lx)return 11;if(e===ux)return 14}return 2}function Na(e,t){var r=e.alternate;return r===null?(r=gn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function _p(e,t,r,n,o,a){var i=2;if(n=e,typeof e=="function")Ux(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ds:return Ii(r.children,o,a,t);case sx:i=8,o|=8;break;case jb:return e=gn(12,r,t,o|2),e.elementType=jb,e.lanes=a,e;case Ib:return e=gn(13,r,t,o),e.elementType=Ib,e.lanes=a,e;case Ab:return e=gn(19,r,t,o),e.elementType=Ab,e.lanes=a,e;case PT:return th(r,o,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case CT:i=10;break e;case ET:i=9;break e;case lx:i=11;break e;case ux:i=14;break e;case pa:i=16,n=null;break e}throw Error(pe(130,e==null?e:typeof e,""))}return t=gn(i,r,t,o),t.elementType=e,t.type=n,t.lanes=a,t}function Ii(e,t,r,n){return e=gn(7,e,n,t),e.lanes=r,e}function th(e,t,r,n){return e=gn(22,e,n,t),e.elementType=PT,e.lanes=r,e.stateNode={isHidden:!1},e}function gy(e,t,r){return e=gn(6,e,null,t),e.lanes=r,e}function yy(e,t,r){return t=gn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qz(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Jg(0),this.expirationTimes=Jg(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Jg(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Wx(e,t,r,n,o,a,i,s,u){return e=new Qz(e,t,r,s,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=gn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Px(a),e}function Xz(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wI)}catch(e){console.error(e)}}wI(),_T.exports=en;var ih=_T.exports;const ic=Rt(ih);var SI,XE=ih;SI=XE.createRoot,XE.hydrateRoot;var t6={id:""},r6={login:function(){return Promise.resolve()},logout:function(){return Promise.resolve()},checkAuth:function(){return Promise.resolve()},checkError:function(){return Promise.resolve()},getPermissions:function(){return Promise.resolve()},getIdentity:function(){return Promise.resolve(t6)}},OI=c.createContext(r6);OI.displayName="AuthContext";const CI=OI;var sh={loginUrl:"/login",afterLoginUrl:"/"},Qo=function(){return c.useContext(CI)};function S0(e,t){return S0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},S0(e,t)}function Xo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S0(e,t)}var tu=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(n){var o=this,a=n||function(){};return this.listeners.push(a),this.onSubscribe(),function(){o.listeners=o.listeners.filter(function(i){return i!==a}),o.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}();function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u";function nr(){}function n6(e,t){return typeof e=="function"?e(t):e}function O0(e){return typeof e=="number"&&e>=0&&e!==1/0}function Cv(e){return Array.isArray(e)?e:[e]}function EI(e,t){return Math.max(e+(t||0)-Date.now(),0)}function xp(e,t,r){return Id(e)?typeof t=="function"?R({},r,{queryKey:e,queryFn:t}):R({},t,{queryKey:e}):e}function o6(e,t,r){return Id(e)?typeof t=="function"?R({},r,{mutationKey:e,mutationFn:t}):R({},t,{mutationKey:e}):typeof e=="function"?R({},t,{mutationFn:e}):R({},e)}function ma(e,t,r){return Id(e)?[R({},t,{queryKey:e}),r]:[e||{},t]}function a6(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e??!t;return r?"active":"inactive"}function YE(e,t){var r=e.active,n=e.exact,o=e.fetching,a=e.inactive,i=e.predicate,s=e.queryKey,u=e.stale;if(Id(s)){if(n){if(t.queryHash!==Kx(s,t.options))return!1}else if(!Ev(t.queryKey,s))return!1}var l=a6(r,a);if(l==="none")return!1;if(l!=="all"){var d=t.isActive();if(l==="active"&&!d||l==="inactive"&&d)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||typeof o=="boolean"&&t.isFetching()!==o||i&&!i(t))}function JE(e,t){var r=e.exact,n=e.fetching,o=e.predicate,a=e.mutationKey;if(Id(a)){if(!t.options.mutationKey)return!1;if(r){if(Ca(t.options.mutationKey)!==Ca(a))return!1}else if(!Ev(t.options.mutationKey,a))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||o&&!o(t))}function Kx(e,t){var r=(t==null?void 0:t.queryKeyHashFn)||Ca;return r(e)}function Ca(e){var t=Cv(e);return i6(t)}function i6(e){return JSON.stringify(e,function(t,r){return C0(r)?Object.keys(r).sort().reduce(function(n,o){return n[o]=r[o],n},{}):r})}function Ev(e,t){return PI(Cv(e),Cv(t))}function PI(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!PI(e[r],t[r])}):!1}function Pv(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||C0(e)&&C0(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),a=o.length,i=r?[]:{},s=0,u=0;u"u")return!0;var r=t.prototype;return!(!ZE(r)||!r.hasOwnProperty("isPrototypeOf"))}function ZE(e){return Object.prototype.toString.call(e)==="[object Object]"}function Id(e){return typeof e=="string"||Array.isArray(e)}function l6(e){return new Promise(function(t){setTimeout(t,e)})}function eP(e){Promise.resolve().then(e).catch(function(t){return setTimeout(function(){throw t})})}function $I(){if(typeof AbortController=="function")return new AbortController}var u6=function(e){Xo(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!Ov&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),function(){window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setFocused(s):i.onFocus()})},r.setFocused=function(o){this.focused=o,o&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(o){o()})},r.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},t}(tu),_c=new u6,c6=function(e){Xo(t,e);function t(){var n;return n=e.call(this)||this,n.setup=function(o){var a;if(!Ov&&((a=window)!=null&&a.addEventListener)){var i=function(){return o()};return window.addEventListener("online",i,!1),window.addEventListener("offline",i,!1),function(){window.removeEventListener("online",i),window.removeEventListener("offline",i)}}},n}var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){if(!this.hasListeners()){var o;(o=this.cleanup)==null||o.call(this),this.cleanup=void 0}},r.setEventListener=function(o){var a,i=this;this.setup=o,(a=this.cleanup)==null||a.call(this),this.cleanup=o(function(s){typeof s=="boolean"?i.setOnline(s):i.onOnline()})},r.setOnline=function(o){this.online=o,o&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(o){o()})},r.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},t}(tu),wp=new c6;function d6(e){return Math.min(1e3*Math.pow(2,e),3e4)}function $v(e){return typeof(e==null?void 0:e.cancel)=="function"}var RI=function(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent};function Sp(e){return e instanceof RI}var kI=function(t){var r=this,n=!1,o,a,i,s;this.abort=t.abort,this.cancel=function(p){return o==null?void 0:o(p)},this.cancelRetry=function(){n=!0},this.continueRetry=function(){n=!1},this.continue=function(){return a==null?void 0:a()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(p,v){i=p,s=v});var u=function(v){r.isResolved||(r.isResolved=!0,t.onSuccess==null||t.onSuccess(v),a==null||a(),i(v))},l=function(v){r.isResolved||(r.isResolved=!0,t.onError==null||t.onError(v),a==null||a(),s(v))},d=function(){return new Promise(function(v){a=v,r.isPaused=!0,t.onPause==null||t.onPause()}).then(function(){a=void 0,r.isPaused=!1,t.onContinue==null||t.onContinue()})},f=function p(){if(!r.isResolved){var v;try{v=t.fn()}catch(h){v=Promise.reject(h)}o=function(b){if(!r.isResolved&&(l(new RI(b)),r.abort==null||r.abort(),$v(v)))try{v.cancel()}catch{}},r.isTransportCancelable=$v(v),Promise.resolve(v).then(u).catch(function(h){var b,x;if(!r.isResolved){var g=(b=t.retry)!=null?b:3,m=(x=t.retryDelay)!=null?x:d6,y=typeof m=="function"?m(r.failureCount,h):m,C=g===!0||typeof g=="number"&&r.failureCount"u"&&(s.exact=!0),this.queries.find(function(u){return YE(s,u)})},r.findAll=function(o,a){var i=ma(o,a),s=i[0];return Object.keys(s).length>0?this.queries.filter(function(u){return YE(s,u)}):this.queries},r.notify=function(o){var a=this;ut.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){var o=this;ut.batch(function(){o.queries.forEach(function(a){a.onFocus()})})},r.onOnline=function(){var o=this;ut.batch(function(){o.queries.forEach(function(a){a.onOnline()})})},t}(tu),h6=function(){function e(r){this.options=R({},r.defaultOptions,r.options),this.mutationId=r.mutationId,this.mutationCache=r.mutationCache,this.observers=[],this.state=r.state||jI(),this.meta=r.meta}var t=e.prototype;return t.setState=function(n){this.dispatch({type:"setState",state:n})},t.addObserver=function(n){this.observers.indexOf(n)===-1&&this.observers.push(n)},t.removeObserver=function(n){this.observers=this.observers.filter(function(o){return o!==n})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(nr).catch(nr)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var n=this,o,a=this.state.status==="loading",i=Promise.resolve();return a||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){n.mutationCache.config.onMutate==null||n.mutationCache.config.onMutate(n.state.variables,n)}).then(function(){return n.options.onMutate==null?void 0:n.options.onMutate(n.state.variables)}).then(function(s){s!==n.state.context&&n.dispatch({type:"loading",context:s,variables:n.state.variables})})),i.then(function(){return n.executeMutation()}).then(function(s){o=s,n.mutationCache.config.onSuccess==null||n.mutationCache.config.onSuccess(o,n.state.variables,n.state.context,n)}).then(function(){return n.options.onSuccess==null?void 0:n.options.onSuccess(o,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(o,null,n.state.variables,n.state.context)}).then(function(){return n.dispatch({type:"success",data:o}),o}).catch(function(s){return n.mutationCache.config.onError==null||n.mutationCache.config.onError(s,n.state.variables,n.state.context,n),Rv().error(s),Promise.resolve().then(function(){return n.options.onError==null?void 0:n.options.onError(s,n.state.variables,n.state.context)}).then(function(){return n.options.onSettled==null?void 0:n.options.onSettled(void 0,s,n.state.variables,n.state.context)}).then(function(){throw n.dispatch({type:"error",error:s}),s})})},t.executeMutation=function(){var n=this,o;return this.retryer=new kI({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:(o=this.options.retry)!=null?o:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(n){var o=this;this.state=g6(this.state,n),ut.batch(function(){o.observers.forEach(function(a){a.onMutationUpdate(n)}),o.mutationCache.notify(o)})},e}();function jI(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function g6(e,t){switch(t.type){case"failed":return R({},e,{failureCount:e.failureCount+1});case"pause":return R({},e,{isPaused:!0});case"continue":return R({},e,{isPaused:!1});case"loading":return R({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return R({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return R({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return R({},e,t.state);default:return e}}var y6=function(e){Xo(t,e);function t(n){var o;return o=e.call(this)||this,o.config=n||{},o.mutations=[],o.mutationId=0,o}var r=t.prototype;return r.build=function(o,a,i){var s=new h6({mutationCache:this,mutationId:++this.mutationId,options:o.defaultMutationOptions(a),state:i,defaultOptions:a.mutationKey?o.getMutationDefaults(a.mutationKey):void 0,meta:a.meta});return this.add(s),s},r.add=function(o){this.mutations.push(o),this.notify(o)},r.remove=function(o){this.mutations=this.mutations.filter(function(a){return a!==o}),o.cancel(),this.notify(o)},r.clear=function(){var o=this;ut.batch(function(){o.mutations.forEach(function(a){o.remove(a)})})},r.getAll=function(){return this.mutations},r.find=function(o){return typeof o.exact>"u"&&(o.exact=!0),this.mutations.find(function(a){return JE(o,a)})},r.findAll=function(o){return this.mutations.filter(function(a){return JE(o,a)})},r.notify=function(o){var a=this;ut.batch(function(){a.listeners.forEach(function(i){i(o)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var o=this.mutations.filter(function(a){return a.state.isPaused});return ut.batch(function(){return o.reduce(function(a,i){return a.then(function(){return i.continue().catch(nr)})},Promise.resolve())})},t}(tu);function b6(){return{onFetch:function(t){t.fetchFn=function(){var r,n,o,a,i,s,u=(r=t.fetchOptions)==null||(n=r.meta)==null?void 0:n.refetchPage,l=(o=t.fetchOptions)==null||(a=o.meta)==null?void 0:a.fetchMore,d=l==null?void 0:l.pageParam,f=(l==null?void 0:l.direction)==="forward",p=(l==null?void 0:l.direction)==="backward",v=((i=t.state.data)==null?void 0:i.pages)||[],h=((s=t.state.data)==null?void 0:s.pageParams)||[],b=$I(),x=b==null?void 0:b.signal,g=h,m=!1,y=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},C=function(A,D,L,B){return g=B?[D].concat(g):[].concat(g,[D]),B?[L].concat(A):[].concat(A,[L])},O=function(A,D,L,B){if(m)return Promise.reject("Cancelled");if(typeof L>"u"&&!D&&A.length)return Promise.resolve(A);var M={queryKey:t.queryKey,signal:x,pageParam:L,meta:t.meta},N=y(M),q=Promise.resolve(N).then(function(W){return C(A,L,W,B)});if($v(N)){var K=q;K.cancel=N.cancel}return q},S;if(!v.length)S=O([]);else if(f){var P=typeof d<"u",E=P?d:tP(t.options,v);S=O(v,P,E)}else if(p){var $=typeof d<"u",k=$?d:_6(t.options,v);S=O(v,$,k,!0)}else(function(){g=[];var I=typeof t.options.getNextPageParam>"u",A=u&&v[0]?u(v[0],0,v):!0;S=A?O([],I,h[0]):Promise.resolve(C([],h[0],v[0]));for(var D=function(M){S=S.then(function(N){var q=u&&v[M]?u(v[M],M,v):!0;if(q){var K=I?h[M]:tP(t.options,N);return O(N,I,K)}return Promise.resolve(C(N,h[M],v[M]))})},L=1;L"u"&&(d.revert=!0);var f=ut.batch(function(){return i.queryCache.findAll(u).map(function(p){return p.cancel(d)})});return Promise.all(f).then(nr).catch(nr)},t.invalidateQueries=function(n,o,a){var i,s,u,l=this,d=ma(n,o,a),f=d[0],p=d[1],v=R({},f,{active:(i=(s=f.refetchActive)!=null?s:f.active)!=null?i:!0,inactive:(u=f.refetchInactive)!=null?u:!1});return ut.batch(function(){return l.queryCache.findAll(f).forEach(function(h){h.invalidate()}),l.refetchQueries(v,p)})},t.refetchQueries=function(n,o,a){var i=this,s=ma(n,o,a),u=s[0],l=s[1],d=ut.batch(function(){return i.queryCache.findAll(u).map(function(p){return p.fetch(void 0,R({},l,{meta:{refetchPage:u==null?void 0:u.refetchPage}}))})}),f=Promise.all(d).then(nr);return l!=null&&l.throwOnError||(f=f.catch(nr)),f},t.fetchQuery=function(n,o,a){var i=xp(n,o,a),s=this.defaultQueryOptions(i);typeof s.retry>"u"&&(s.retry=!1);var u=this.queryCache.build(this,s);return u.isStaleByTime(s.staleTime)?u.fetch(s):Promise.resolve(u.state.data)},t.prefetchQuery=function(n,o,a){return this.fetchQuery(n,o,a).then(nr).catch(nr)},t.fetchInfiniteQuery=function(n,o,a){var i=xp(n,o,a);return i.behavior=b6(),this.fetchQuery(i)},t.prefetchInfiniteQuery=function(n,o,a){return this.fetchInfiniteQuery(n,o,a).then(nr).catch(nr)},t.cancelMutations=function(){var n=this,o=ut.batch(function(){return n.mutationCache.getAll().map(function(a){return a.cancel()})});return Promise.all(o).then(nr).catch(nr)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(n){return this.mutationCache.build(this,n).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(n){this.defaultOptions=n},t.setQueryDefaults=function(n,o){var a=this.queryDefaults.find(function(i){return Ca(n)===Ca(i.queryKey)});a?a.defaultOptions=o:this.queryDefaults.push({queryKey:n,defaultOptions:o})},t.getQueryDefaults=function(n){var o;return n?(o=this.queryDefaults.find(function(a){return Ev(n,a.queryKey)}))==null?void 0:o.defaultOptions:void 0},t.setMutationDefaults=function(n,o){var a=this.mutationDefaults.find(function(i){return Ca(n)===Ca(i.mutationKey)});a?a.defaultOptions=o:this.mutationDefaults.push({mutationKey:n,defaultOptions:o})},t.getMutationDefaults=function(n){var o;return n?(o=this.mutationDefaults.find(function(a){return Ev(n,a.mutationKey)}))==null?void 0:o.defaultOptions:void 0},t.defaultQueryOptions=function(n){if(n!=null&&n._defaulted)return n;var o=R({},this.defaultOptions.queries,this.getQueryDefaults(n==null?void 0:n.queryKey),n,{_defaulted:!0});return!o.queryHash&&o.queryKey&&(o.queryHash=Kx(o.queryKey,o)),o},t.defaultQueryObserverOptions=function(n){return this.defaultQueryOptions(n)},t.defaultMutationOptions=function(n){return n!=null&&n._defaulted?n:R({},this.defaultOptions.mutations,this.getMutationDefaults(n==null?void 0:n.mutationKey),n,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}(),w6=function(e){Xo(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.options=o,a.trackedProps=[],a.selectError=null,a.bindMethods(),a.setOptions(o),a}var r=t.prototype;return r.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},r.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),rP(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},r.onUnsubscribe=function(){this.listeners.length||this.destroy()},r.shouldFetchOnReconnect=function(){return E0(this.currentQuery,this.options,this.options.refetchOnReconnect)},r.shouldFetchOnWindowFocus=function(){return E0(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},r.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},r.setOptions=function(o,a){var i=this.options,s=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(o),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=i.queryKey),this.updateQuery();var u=this.hasListeners();u&&nP(this.currentQuery,s,this.options,i)&&this.executeFetch(),this.updateResult(a),u&&(this.currentQuery!==s||this.options.enabled!==i.enabled||this.options.staleTime!==i.staleTime)&&this.updateStaleTimeout();var l=this.computeRefetchInterval();u&&(this.currentQuery!==s||this.options.enabled!==i.enabled||l!==this.currentRefetchInterval)&&this.updateRefetchInterval(l)},r.getOptimisticResult=function(o){var a=this.client.defaultQueryObserverOptions(o),i=this.client.getQueryCache().build(this.client,a);return this.createResult(i,a)},r.getCurrentResult=function(){return this.currentResult},r.trackResult=function(o,a){var i=this,s={},u=function(d){i.trackedProps.includes(d)||i.trackedProps.push(d)};return Object.keys(o).forEach(function(l){Object.defineProperty(s,l,{configurable:!1,enumerable:!0,get:function(){return u(l),o[l]}})}),(a.useErrorBoundary||a.suspense)&&u("error"),s},r.getNextResult=function(o){var a=this;return new Promise(function(i,s){var u=a.subscribe(function(l){l.isFetching||(u(),l.isError&&(o!=null&&o.throwOnError)?s(l.error):i(l))})})},r.getCurrentQuery=function(){return this.currentQuery},r.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},r.refetch=function(o){return this.fetch(R({},o,{meta:{refetchPage:o==null?void 0:o.refetchPage}}))},r.fetchOptimistic=function(o){var a=this,i=this.client.defaultQueryObserverOptions(o),s=this.client.getQueryCache().build(this.client,i);return s.fetch().then(function(){return a.createResult(s,i)})},r.fetch=function(o){var a=this;return this.executeFetch(o).then(function(){return a.updateResult(),a.currentResult})},r.executeFetch=function(o){this.updateQuery();var a=this.currentQuery.fetch(this.options,o);return o!=null&&o.throwOnError||(a=a.catch(nr)),a},r.updateStaleTimeout=function(){var o=this;if(this.clearStaleTimeout(),!(Ov||this.currentResult.isStale||!O0(this.options.staleTime))){var a=EI(this.currentResult.dataUpdatedAt,this.options.staleTime),i=a+1;this.staleTimeoutId=setTimeout(function(){o.currentResult.isStale||o.updateResult()},i)}},r.computeRefetchInterval=function(){var o;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(o=this.options.refetchInterval)!=null?o:!1},r.updateRefetchInterval=function(o){var a=this;this.clearRefetchInterval(),this.currentRefetchInterval=o,!(Ov||this.options.enabled===!1||!O0(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(a.options.refetchIntervalInBackground||_c.isFocused())&&a.executeFetch()},this.currentRefetchInterval))},r.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},r.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},r.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},r.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},r.createResult=function(o,a){var i=this.currentQuery,s=this.options,u=this.currentResult,l=this.currentResultState,d=this.currentResultOptions,f=o!==i,p=f?o.state:this.currentQueryInitialState,v=f?this.currentResult:this.previousQueryResult,h=o.state,b=h.dataUpdatedAt,x=h.error,g=h.errorUpdatedAt,m=h.isFetching,y=h.status,C=!1,O=!1,S;if(a.optimisticResults){var P=this.hasListeners(),E=!P&&rP(o,a),$=P&&nP(o,i,a,s);(E||$)&&(m=!0,b||(y="loading"))}if(a.keepPreviousData&&!h.dataUpdateCount&&(v!=null&&v.isSuccess)&&y!=="error")S=v.data,b=v.dataUpdatedAt,y=v.status,C=!0;else if(a.select&&typeof h.data<"u")if(u&&h.data===(l==null?void 0:l.data)&&a.select===this.selectFn)S=this.selectResult;else try{this.selectFn=a.select,S=a.select(h.data),a.structuralSharing!==!1&&(S=Pv(u==null?void 0:u.data,S)),this.selectResult=S,this.selectError=null}catch(j){Rv().error(j),this.selectError=j}else S=h.data;if(typeof a.placeholderData<"u"&&typeof S>"u"&&(y==="loading"||y==="idle")){var k;if(u!=null&&u.isPlaceholderData&&a.placeholderData===(d==null?void 0:d.placeholderData))k=u.data;else if(k=typeof a.placeholderData=="function"?a.placeholderData():a.placeholderData,a.select&&typeof k<"u")try{k=a.select(k),a.structuralSharing!==!1&&(k=Pv(u==null?void 0:u.data,k)),this.selectError=null}catch(j){Rv().error(j),this.selectError=j}typeof k<"u"&&(y="success",S=k,O=!0)}this.selectError&&(x=this.selectError,S=this.selectResult,g=Date.now(),y="error");var T={status:y,isLoading:y==="loading",isSuccess:y==="success",isError:y==="error",isIdle:y==="idle",data:S,dataUpdatedAt:b,error:x,errorUpdatedAt:g,failureCount:h.fetchFailureCount,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>p.dataUpdateCount||h.errorUpdateCount>p.errorUpdateCount,isFetching:m,isRefetching:m&&y!=="loading",isLoadingError:y==="error"&&h.dataUpdatedAt===0,isPlaceholderData:O,isPreviousData:C,isRefetchError:y==="error"&&h.dataUpdatedAt!==0,isStale:Qx(o,a),refetch:this.refetch,remove:this.remove};return T},r.shouldNotifyListeners=function(o,a){if(!a)return!0;var i=this.options,s=i.notifyOnChangeProps,u=i.notifyOnChangePropsExclusions;if(!s&&!u||s==="tracked"&&!this.trackedProps.length)return!0;var l=s==="tracked"?this.trackedProps:s;return Object.keys(o).some(function(d){var f=d,p=o[f]!==a[f],v=l==null?void 0:l.some(function(b){return b===d}),h=u==null?void 0:u.some(function(b){return b===d});return p&&!h&&(!l||v)})},r.updateResult=function(o){var a=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!s6(this.currentResult,a)){var i={cache:!0};(o==null?void 0:o.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,a)&&(i.listeners=!0),this.notify(R({},i,o))}},r.updateQuery=function(){var o=this.client.getQueryCache().build(this.client,this.options);if(o!==this.currentQuery){var a=this.currentQuery;this.currentQuery=o,this.currentQueryInitialState=o.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(a==null||a.removeObserver(this),o.addObserver(this))}},r.onQueryUpdate=function(o){var a={};o.type==="success"?a.onSuccess=!0:o.type==="error"&&!Sp(o.error)&&(a.onError=!0),this.updateResult(a),this.hasListeners()&&this.updateTimers()},r.notify=function(o){var a=this;ut.batch(function(){o.onSuccess?(a.options.onSuccess==null||a.options.onSuccess(a.currentResult.data),a.options.onSettled==null||a.options.onSettled(a.currentResult.data,null)):o.onError&&(a.options.onError==null||a.options.onError(a.currentResult.error),a.options.onSettled==null||a.options.onSettled(void 0,a.currentResult.error)),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)}),o.cache&&a.client.getQueryCache().notify({query:a.currentQuery,type:"observerResultsUpdated"})})},t}(tu);function S6(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function rP(e,t){return S6(e,t)||e.state.dataUpdatedAt>0&&E0(e,t,t.refetchOnMount)}function E0(e,t,r){if(t.enabled!==!1){var n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Qx(e,t)}return!1}function nP(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&Qx(e,r)}function Qx(e,t){return e.isStaleByTime(t.staleTime)}var O6=function(e){Xo(t,e);function t(n,o){var a;return a=e.call(this)||this,a.client=n,a.setOptions(o),a.bindMethods(),a.updateResult(),a}var r=t.prototype;return r.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},r.setOptions=function(o){this.options=this.client.defaultMutationOptions(o)},r.onUnsubscribe=function(){if(!this.listeners.length){var o;(o=this.currentMutation)==null||o.removeObserver(this)}},r.onMutationUpdate=function(o){this.updateResult();var a={listeners:!0};o.type==="success"?a.onSuccess=!0:o.type==="error"&&(a.onError=!0),this.notify(a)},r.getCurrentResult=function(){return this.currentResult},r.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},r.mutate=function(o,a){return this.mutateOptions=a,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,R({},this.options,{variables:typeof o<"u"?o:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},r.updateResult=function(){var o=this.currentMutation?this.currentMutation.state:jI(),a=R({},o,{isLoading:o.status==="loading",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=a},r.notify=function(o){var a=this;ut.batch(function(){a.mutateOptions&&(o.onSuccess?(a.mutateOptions.onSuccess==null||a.mutateOptions.onSuccess(a.currentResult.data,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(a.currentResult.data,null,a.currentResult.variables,a.currentResult.context)):o.onError&&(a.mutateOptions.onError==null||a.mutateOptions.onError(a.currentResult.error,a.currentResult.variables,a.currentResult.context),a.mutateOptions.onSettled==null||a.mutateOptions.onSettled(void 0,a.currentResult.error,a.currentResult.variables,a.currentResult.context))),o.listeners&&a.listeners.forEach(function(i){i(a.currentResult)})})},t}(tu),C6=ic.unstable_batchedUpdates;ut.setBatchNotifyFunction(C6);var E6=console;p6(E6);var oP=te.createContext(void 0),II=te.createContext(!1);function AI(e){return e&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=oP),window.ReactQueryClientContext):oP}var Rn=function(){var t=te.useContext(AI(te.useContext(II)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},P6=function(t){var r=t.client,n=t.contextSharing,o=n===void 0?!1:n,a=t.children;te.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var i=AI(o);return te.createElement(II.Provider,{value:o},te.createElement(i.Provider,{value:r},a))};function $6(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var R6=te.createContext($6()),k6=function(){return te.useContext(R6)};function MI(e,t,r){return typeof t=="function"?t.apply(void 0,r):typeof t=="boolean"?t:!!e}function ru(e,t,r){var n=te.useRef(!1),o=te.useState(0),a=o[1],i=o6(e,t,r),s=Rn(),u=te.useRef();u.current?u.current.setOptions(i):u.current=new O6(s,i);var l=u.current.getCurrentResult();te.useEffect(function(){n.current=!0;var f=u.current.subscribe(ut.batchCalls(function(){n.current&&a(function(p){return p+1})}));return function(){n.current=!1,f()}},[]);var d=te.useCallback(function(f,p){u.current.mutate(f,p).catch(nr)},[]);if(l.error&&MI(void 0,u.current.options.useErrorBoundary,[l.error]))throw l.error;return R({},l,{mutate:d,mutateAsync:l.mutate})}function T6(e,t){var r=te.useRef(!1),n=te.useState(0),o=n[1],a=Rn(),i=k6(),s=a.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=ut.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=ut.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=ut.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(i.isReset()||(s.retryOnMount=!1));var u=te.useState(function(){return new t(a,s)}),l=u[0],d=l.getOptimisticResult(s);if(te.useEffect(function(){r.current=!0,i.clearReset();var f=l.subscribe(ut.batchCalls(function(){r.current&&o(function(p){return p+1})}));return l.updateResult(),function(){r.current=!1,f()}},[i,l]),te.useEffect(function(){l.setOptions(s,{listeners:!1})},[s,l]),s.suspense&&d.isLoading)throw l.fetchOptimistic(s).then(function(f){var p=f.data;s.onSuccess==null||s.onSuccess(p),s.onSettled==null||s.onSettled(p,null)}).catch(function(f){i.clearReset(),s.onError==null||s.onError(f),s.onSettled==null||s.onSettled(void 0,f)});if(d.isError&&!i.isReset()&&!d.isFetching&&MI(s.suspense,s.useErrorBoundary,[d.error,l.getCurrentQuery()]))throw d.error;return s.notifyOnChangeProps==="tracked"&&(d=l.trackResult(d,s)),d}function Ya(e,t,r){var n=xp(e,t,r);return T6(n,w6)}/** + * @remix-run/router v1.15.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function P0(){return P0=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function FI(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function aP(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Ad(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var iP;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(iP||(iP={}));function j6(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Ad(t):t,o=Xx(n.pathname||"/",r);if(o==null)return null;let a=NI(e);I6(a);let i=null;for(let s=0;i==null&&s{let u={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};u.relativePath.startsWith("/")&&($t(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let l=La([n,u.relativePath]),d=r.concat(u);a.children&&a.children.length>0&&($t(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+l+'".')),NI(a.children,t,d,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:B6(l,a.index),routesMeta:d})};return e.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let u of LI(a.path))o(a,i,u)}),t}function LI(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=LI(n.join("/")),s=[];return s.push(...i.map(u=>u===""?a:[a,u].join("/"))),o&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function I6(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:z6(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const A6=/^:[\w-]+$/,M6=3,F6=2,N6=1,L6=10,D6=-2,sP=e=>e==="*";function B6(e,t){let r=e.split("/"),n=r.length;return r.some(sP)&&(n+=D6),t&&(n+=F6),r.filter(o=>!sP(o)).reduce((o,a)=>o+(A6.test(a)?M6:a===""?N6:L6),n)}function z6(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function V6(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i{let{paramName:p,isOptional:v}=d;if(p==="*"){let b=s[f]||"";i=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const h=s[f];return v&&!h?l[p]=void 0:l[p]=(h||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:i,pattern:e}}function U6(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),FI(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(n.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function W6(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return FI(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Xx(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function q6(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Ad(e):e;return{pathname:r?r.startsWith("/")?r:H6(r,t):t,search:Q6(n),hash:X6(o)}}function H6(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function by(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function G6(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Yx(e,t){let r=G6(e);return t?r.map((n,o)=>o===e.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Jx(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Ad(e):(o=P0({},e),$t(!o.pathname||!o.pathname.includes("?"),by("?","pathname","search",o)),$t(!o.pathname||!o.pathname.includes("#"),by("#","pathname","hash",o)),$t(!o.search||!o.search.includes("#"),by("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,s;if(i==null)s=r;else{let f=t.length-1;if(!n&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}s=f>=0?t[f]:"/"}let u=q6(o,s),l=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(l||d)&&(u.pathname+="/"),u}const La=e=>e.join("/").replace(/\/\/+/g,"/"),K6=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Q6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,X6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Y6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const DI=["post","put","patch","delete"];new Set(DI);const J6=["get",...DI];new Set(J6);/** + * React Router v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ld(){return ld=Object.assign?Object.assign.bind():function(e){for(var t=1;tsd(e,t),[t,e])}function zI(e){c.useContext(Yo).static||c.useLayoutEffect(e)}function Co(){let{isDataRoute:e}=c.useContext(Oo);return e?h9():r9()}function r9(){Ja()||$t(!1);let e=c.useContext(Zx),{basename:t,future:r,navigator:n}=c.useContext(Yo),{matches:o}=c.useContext(Oo),{pathname:a}=Ht(),i=JSON.stringify(Yx(o,r.v7_relativeSplatPath)),s=c.useRef(!1);return zI(()=>{s.current=!0}),c.useCallback(function(l,d){if(d===void 0&&(d={}),!s.current)return;if(typeof l=="number"){n.go(l);return}let f=Jx(l,JSON.parse(i),a,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:La([t,f.pathname])),(d.replace?n.replace:n.push)(f,d.state,d)},[t,n,i,a,e])}const n9=c.createContext(null);function o9(e){let t=c.useContext(Oo).outlet;return t&&c.createElement(n9.Provider,{value:e},t)}function uh(){let{matches:e}=c.useContext(Oo),t=e[e.length-1];return t?t.params:{}}function ew(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=c.useContext(Yo),{matches:o}=c.useContext(Oo),{pathname:a}=Ht(),i=JSON.stringify(Yx(o,n.v7_relativeSplatPath));return c.useMemo(()=>Jx(e,JSON.parse(i),a,r==="path"),[e,i,a,r])}function a9(e,t){return i9(e,t)}function i9(e,t,r,n){Ja()||$t(!1);let{navigator:o}=c.useContext(Yo),{matches:a}=c.useContext(Oo),i=a[a.length-1],s=i?i.params:{};i&&i.pathname;let u=i?i.pathnameBase:"/";i&&i.route;let l=Ht(),d;if(t){var f;let x=typeof t=="string"?Ad(t):t;u==="/"||(f=x.pathname)!=null&&f.startsWith(u)||$t(!1),d=x}else d=l;let p=d.pathname||"/",v=p;if(u!=="/"){let x=u.replace(/^\//,"").split("/");v="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=j6(e,{pathname:v}),b=d9(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:La([u,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?u:La([u,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),a,r,n);return t&&b?c.createElement(lh.Provider,{value:{location:ld({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:kv.Pop}},b):b}function s9(){let e=m9(),t=Y6(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),r?c.createElement("pre",{style:o},r):null,null)}const l9=c.createElement(s9,null);class u9 extends c.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?c.createElement(Oo.Provider,{value:this.props.routeContext},c.createElement(BI.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function c9(e){let{routeContext:t,match:r,children:n}=e,o=c.useContext(Zx);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),c.createElement(Oo.Provider,{value:t},n)}function d9(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let i=e,s=(o=r)==null?void 0:o.errors;if(s!=null){let d=i.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id]));d>=0||$t(!1),i=i.slice(0,Math.min(i.length,d+1))}let u=!1,l=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d=0?i=i.slice(0,l+1):i=[i[0]];break}}}return i.reduceRight((d,f,p)=>{let v,h=!1,b=null,x=null;r&&(v=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||l9,u&&(l<0&&p===0?(g9("route-fallback",!1),h=!0,x=null):l===p&&(h=!0,x=f.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,p+1)),m=()=>{let y;return v?y=b:h?y=x:f.route.Component?y=c.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,c.createElement(c9,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:r!=null},children:y})};return r&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?c.createElement(u9,{location:r.location,revalidation:r.revalidation,component:b,error:v,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var VI=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(VI||{}),Tv=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Tv||{});function f9(e){let t=c.useContext(Zx);return t||$t(!1),t}function p9(e){let t=c.useContext(Z6);return t||$t(!1),t}function v9(e){let t=c.useContext(Oo);return t||$t(!1),t}function UI(e){let t=v9(),r=t.matches[t.matches.length-1];return r.route.id||$t(!1),r.route.id}function m9(){var e;let t=c.useContext(BI),r=p9(Tv.UseRouteError),n=UI(Tv.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function h9(){let{router:e}=f9(VI.UseNavigateStable),t=UI(Tv.UseNavigateStable),r=c.useRef(!1);return zI(()=>{r.current=!0}),c.useCallback(function(o,a){a===void 0&&(a={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ld({fromRouteId:t},a)))},[e,t])}const lP={};function g9(e,t,r){!t&&!lP[e]&&(lP[e]=!0)}function y9(e){let{to:t,replace:r,state:n,relative:o}=e;Ja()||$t(!1);let{future:a,static:i}=c.useContext(Yo),{matches:s}=c.useContext(Oo),{pathname:u}=Ht(),l=Co(),d=Jx(t,Yx(s,a.v7_relativeSplatPath),u,o==="path"),f=JSON.stringify(d);return c.useEffect(()=>l(JSON.parse(f),{replace:r,state:n,relative:o}),[l,f,o,r,n]),null}function b9(e){return o9(e.context)}function ar(e){$t(!1)}function _9(e){let{basename:t="/",children:r=null,location:n,navigationType:o=kv.Pop,navigator:a,static:i=!1,future:s}=e;Ja()&&$t(!1);let u=t.replace(/^\/*/,"/"),l=c.useMemo(()=>({basename:u,navigator:a,static:i,future:ld({v7_relativeSplatPath:!1},s)}),[u,s,a,i]);typeof n=="string"&&(n=Ad(n));let{pathname:d="/",search:f="",hash:p="",state:v=null,key:h="default"}=n,b=c.useMemo(()=>{let x=Xx(d,u);return x==null?null:{location:{pathname:x,search:f,hash:p,state:v,key:h},navigationType:o}},[u,d,f,p,v,h,o]);return b==null?null:c.createElement(Yo.Provider,{value:l},c.createElement(lh.Provider,{children:r,value:b}))}function Ai(e){let{children:t,location:r}=e;return a9($0(t),r)}new Promise(()=>{});function $0(e,t){t===void 0&&(t=[]);let r=[];return c.Children.forEach(e,(n,o)=>{if(!c.isValidElement(n))return;let a=[...t,o];if(n.type===c.Fragment){r.push.apply(r,$0(n.props.children,a));return}n.type!==ar&&$t(!1),!n.props.index||!n.props.children||$t(!1);let i={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=$0(n.props.children,a)),r.push(i)}),r}/** + * React Router DOM v6.22.3 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function R0(){return R0=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function w9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function S9(e,t){return e.button===0&&(!t||t==="_self")&&!w9(e)}const O9=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],C9="6";try{window.__reactRouterVersion=C9}catch{}const E9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",P9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qn=c.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:a,replace:i,state:s,target:u,to:l,preventScrollReset:d,unstable_viewTransition:f}=t,p=x9(t,O9),{basename:v}=c.useContext(Yo),h,b=!1;if(typeof l=="string"&&P9.test(l)&&(h=l,E9))try{let y=new URL(window.location.href),C=l.startsWith("//")?new URL(y.protocol+l):new URL(l),O=Xx(C.pathname,v);C.origin===y.origin&&O!=null?l=O+C.search+C.hash:b=!0}catch{}let x=e9(l,{relative:o}),g=$9(l,{replace:i,state:s,target:u,preventScrollReset:d,relative:o,unstable_viewTransition:f});function m(y){n&&n(y),y.defaultPrevented||g(y)}return c.createElement("a",R0({},p,{href:h||x,onClick:b||a?n:m,ref:r,target:u}))});var uP;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uP||(uP={}));var cP;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cP||(cP={}));function $9(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,u=Co(),l=Ht(),d=ew(e,{relative:i});return c.useCallback(f=>{if(S9(f,r)){f.preventDefault();let p=n!==void 0?n:aP(l)===aP(d);u(e,{replace:p,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:s})}},[l,u,d,n,o,r,e,a,i,s])}var R9="RaStore",k9=function(){if(typeof window>"u"||window.localStorage==null)return!1;try{return window.localStorage.setItem("test","test"),window.localStorage.removeItem("test"),!0}catch{return!1}},k0=k9(),T9=function(e,t){e===void 0&&(e="1"),t===void 0&&(t="");var r="".concat(R9).concat(t),n=r.length,o={},a=function(s,u){Object.keys(o).forEach(function(l){o[l]&&o[l].key===s&&o[l].callback(u)})},i=function(s){var u;if(((u=s.key)===null||u===void 0?void 0:u.substring(0,n))===r){var l=s.key.substring(n+1),d=s.newValue?dP(s.newValue):void 0;Object.keys(o).forEach(function(f){o[f]&&o[f].key===l&&(d===null?o[f].callback(void 0):o[f].callback(d??void 0))})}};return{setup:function(){if(k0){var s=Ro().getItem("".concat(r,".version"));if(s&&s!==e){var u=Ro();Object.keys(u).forEach(function(l){l.startsWith(r)&&u.removeItem(l)})}Ro().setItem("".concat(r,".version"),e),window.addEventListener("storage",i)}},teardown:function(){k0&&window.removeEventListener("storage",i)},getItem:function(s,u){var l=Ro().getItem("".concat(r,".").concat(s));return l==null?u:dP(l)},setItem:function(s,u){u===void 0?Ro().removeItem("".concat(r,".").concat(s)):Ro().setItem("".concat(r,".").concat(s),JSON.stringify(u)),a(s,u)},removeItem:function(s){Ro().removeItem("".concat(r,".").concat(s)),a(s,void 0)},removeItems:function(s){var u=Ro();Object.keys(u).forEach(function(l){if(l.startsWith("".concat(r,".").concat(s))){u.removeItem(l);var d=l.substring(n+1);a(d,void 0)}})},reset:function(){var s=Ro();Object.keys(s).forEach(function(u){if(u.startsWith(r)){s.removeItem(u);var l=u.substring(n+1);a(l,void 0)}})},subscribe:function(s,u){var l=Math.random().toString();return o[l]={key:s,callback:u},function(){delete o[l]}}}},dP=function(e){try{return JSON.parse(e)}catch{return e}},j9=function(){function e(){this.valuesMap=new Map}return e.prototype.getItem=function(t){return this.valuesMap.has(t)?String(this.valuesMap.get(t)):null},e.prototype.setItem=function(t,r){this.valuesMap.set(t,r)},e.prototype.removeItem=function(t){this.valuesMap.delete(t)},e.prototype.removeItems=function(t){var r=this;this.valuesMap.forEach(function(n,o){o.startsWith(t)&&r.valuesMap.delete(o)})},e.prototype.clear=function(){this.valuesMap.clear()},e.prototype.key=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'key' on 'Storage': 1 argument required, but only 0 present.");var r=Array.from(this.valuesMap.keys());return r[t]},Object.defineProperty(e.prototype,"length",{get:function(){return this.valuesMap.size},enumerable:!1,configurable:!0}),e}(),I9=new j9,Ro=function(){return k0?window.localStorage:I9},A9=typeof wa=="object"&&wa&&wa.Object===Object&&wa,WI=A9,M9=WI,F9=typeof self=="object"&&self&&self.Object===Object&&self,N9=M9||F9||Function("return this")(),Jn=N9,L9=Jn,D9=L9.Symbol,nu=D9,fP=nu,qI=Object.prototype,B9=qI.hasOwnProperty,z9=qI.toString,Uu=fP?fP.toStringTag:void 0;function V9(e){var t=B9.call(e,Uu),r=e[Uu];try{e[Uu]=void 0;var n=!0}catch{}var o=z9.call(e);return n&&(t?e[Uu]=r:delete e[Uu]),o}var U9=V9,W9=Object.prototype,q9=W9.toString;function H9(e){return q9.call(e)}var G9=H9,pP=nu,K9=U9,Q9=G9,X9="[object Null]",Y9="[object Undefined]",vP=pP?pP.toStringTag:void 0;function J9(e){return e==null?e===void 0?Y9:X9:vP&&vP in Object(e)?K9(e):Q9(e)}var ou=J9;function Z9(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var kn=Z9,e8=ou,t8=kn,r8="[object AsyncFunction]",n8="[object Function]",o8="[object GeneratorFunction]",a8="[object Proxy]";function i8(e){if(!t8(e))return!1;var t=e8(e);return t==n8||t==o8||t==r8||t==a8}var tw=i8,s8=Jn,l8=s8["__core-js_shared__"],u8=l8,_y=u8,mP=function(){var e=/[^.]+$/.exec(_y&&_y.keys&&_y.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function c8(e){return!!mP&&mP in e}var d8=c8,f8=Function.prototype,p8=f8.toString;function v8(e){if(e!=null){try{return p8.call(e)}catch{}try{return e+""}catch{}}return""}var HI=v8,m8=tw,h8=d8,g8=kn,y8=HI,b8=/[\\^$.*+?()[\]{}|]/g,_8=/^\[object .+?Constructor\]$/,x8=Function.prototype,w8=Object.prototype,S8=x8.toString,O8=w8.hasOwnProperty,C8=RegExp("^"+S8.call(O8).replace(b8,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function E8(e){if(!g8(e)||h8(e))return!1;var t=m8(e)?C8:_8;return t.test(y8(e))}var P8=E8;function $8(e,t){return e==null?void 0:e[t]}var R8=$8,k8=P8,T8=R8;function j8(e,t){var r=T8(e,t);return k8(r)?r:void 0}var ss=j8,I8=ss,A8=function(){try{var e=I8(Object,"defineProperty");return e({},"",{}),e}catch{}}(),GI=A8,hP=GI;function M8(e,t,r){t=="__proto__"&&hP?hP(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var rw=M8;function F8(e,t){return e===t||e!==e&&t!==t}var au=F8,N8=rw,L8=au,D8=Object.prototype,B8=D8.hasOwnProperty;function z8(e,t,r){var n=e[t];(!(B8.call(e,t)&&L8(n,r))||r===void 0&&!(t in e))&&N8(e,t,r)}var nw=z8,V8=Array.isArray,Zn=V8;function U8(e){return e!=null&&typeof e=="object"}var Jo=U8,W8=ou,q8=Jo,H8="[object Symbol]";function G8(e){return typeof e=="symbol"||q8(e)&&W8(e)==H8}var ch=G8,K8=Zn,Q8=ch,X8=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y8=/^\w*$/;function J8(e,t){if(K8(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Q8(e)?!0:Y8.test(e)||!X8.test(e)||t!=null&&e in Object(t)}var ow=J8,Z8=ss,eV=Z8(Object,"create"),dh=eV,gP=dh;function tV(){this.__data__=gP?gP(null):{},this.size=0}var rV=tV;function nV(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var oV=nV,aV=dh,iV="__lodash_hash_undefined__",sV=Object.prototype,lV=sV.hasOwnProperty;function uV(e){var t=this.__data__;if(aV){var r=t[e];return r===iV?void 0:r}return lV.call(t,e)?t[e]:void 0}var cV=uV,dV=dh,fV=Object.prototype,pV=fV.hasOwnProperty;function vV(e){var t=this.__data__;return dV?t[e]!==void 0:pV.call(t,e)}var mV=vV,hV=dh,gV="__lodash_hash_undefined__";function yV(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=hV&&t===void 0?gV:t,this}var bV=yV,_V=rV,xV=oV,wV=cV,SV=mV,OV=bV;function iu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var BV=DV,zV=fh;function VV(e,t){var r=this.__data__,n=zV(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var UV=VV,WV=PV,qV=AV,HV=NV,GV=BV,KV=UV;function su(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&eo?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++ns))return!1;var l=a.get(e),d=a.get(t);if(l&&d)return l==t&&d==e;var f=-1,p=!0,v=r&p7?new u7:void 0;for(a.set(e,t),a.set(t,e);++f-1&&e%1==0&&e<=cq}var vw=dq,fq=ou,pq=vw,vq=Jo,mq="[object Arguments]",hq="[object Array]",gq="[object Boolean]",yq="[object Date]",bq="[object Error]",_q="[object Function]",xq="[object Map]",wq="[object Number]",Sq="[object Object]",Oq="[object RegExp]",Cq="[object Set]",Eq="[object String]",Pq="[object WeakMap]",$q="[object ArrayBuffer]",Rq="[object DataView]",kq="[object Float32Array]",Tq="[object Float64Array]",jq="[object Int8Array]",Iq="[object Int16Array]",Aq="[object Int32Array]",Mq="[object Uint8Array]",Fq="[object Uint8ClampedArray]",Nq="[object Uint16Array]",Lq="[object Uint32Array]",pt={};pt[kq]=pt[Tq]=pt[jq]=pt[Iq]=pt[Aq]=pt[Mq]=pt[Fq]=pt[Nq]=pt[Lq]=!0;pt[mq]=pt[hq]=pt[$q]=pt[gq]=pt[Rq]=pt[yq]=pt[bq]=pt[_q]=pt[xq]=pt[wq]=pt[Sq]=pt[Oq]=pt[Cq]=pt[Eq]=pt[Pq]=!1;function Dq(e){return vq(e)&&pq(e.length)&&!!pt[fq(e)]}var Bq=Dq;function zq(e){return function(t){return e(t)}}var wh=zq,Av={exports:{}};Av.exports;(function(e,t){var r=WI,n=t&&!t.nodeType&&t,o=n&&!0&&e&&!e.nodeType&&e,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var u=o&&o.require&&o.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(Av,Av.exports);var mw=Av.exports,Vq=Bq,Uq=wh,RP=mw,kP=RP&&RP.isTypedArray,Wq=kP?Uq(kP):Vq,hw=Wq,qq=J7,Hq=_h,Gq=Zn,Kq=xh,Qq=mh,Xq=hw,Yq=Object.prototype,Jq=Yq.hasOwnProperty;function Zq(e,t){var r=Gq(e),n=!r&&Hq(e),o=!r&&!n&&Kq(e),a=!r&&!n&&!o&&Xq(e),i=r||n||o||a,s=i?qq(e.length,String):[],u=s.length;for(var l in e)(t||Jq.call(e,l))&&!(i&&(l=="length"||o&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Qq(l,u)))&&s.push(l);return s}var sA=Zq,eH=Object.prototype;function tH(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||eH;return e===r}var gw=tH;function rH(e,t){return function(r){return e(t(r))}}var lA=rH,nH=lA,oH=nH(Object.keys,Object),aH=oH,iH=gw,sH=aH,lH=Object.prototype,uH=lH.hasOwnProperty;function cH(e){if(!iH(e))return sH(e);var t=[];for(var r in Object(e))uH.call(e,r)&&r!="constructor"&&t.push(r);return t}var dH=cH,fH=tw,pH=vw;function vH(e){return e!=null&&pH(e.length)&&!fH(e)}var Sh=vH,mH=sA,hH=dH,gH=Sh;function yH(e){return gH(e)?mH(e):hH(e)}var Oh=yH,bH=oA,_H=pw,xH=Oh;function wH(e){return bH(e,xH,_H)}var uA=wH,TP=uA,SH=1,OH=Object.prototype,CH=OH.hasOwnProperty;function EH(e,t,r,n,o,a){var i=r&SH,s=TP(e),u=s.length,l=TP(t),d=l.length;if(u!=d&&!i)return!1;for(var f=u;f--;){var p=s[f];if(!(i?p in t:CH.call(t,p)))return!1}var v=a.get(e),h=a.get(t);if(v&&h)return v==t&&h==e;var b=!0;a.set(e,t),a.set(t,e);for(var x=i;++f0){if(++t>=GK)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var YK=XK,JK=HK,ZK=YK,eQ=ZK(JK),CA=eQ,tQ=Sw,rQ=OA,nQ=CA;function oQ(e,t){return nQ(rQ(e,t,tQ),e+"")}var Eh=oQ,aQ=au,iQ=Sh,sQ=mh,lQ=kn;function uQ(e,t,r){if(!lQ(r))return!1;var n=typeof t;return(n=="number"?iQ(r)&&sQ(t,r.length):n=="string"&&t in r)?aQ(r[t],e):!1}var EA=uQ,cQ=Eh,dQ=EA;function fQ(e){return cQ(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,i&&dQ(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function OQ(e){var t=e.basename,r=e.children,n=e.history,o=c.useState({action:n.action,location:n.location}),a=o[0],i=o[1];return c.useLayoutEffect(function(){return n.listen(i)},[n]),c.createElement(_9,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:n})}var PA=c.createContext(""),CQ=function(e){var t=e.children,r=e.basename;return c.createElement(PA.Provider,{value:r},t)},EQ=function(e){var t=e.history,r=e.basename,n=r===void 0?"":r,o=e.children,a=Ja(),i=a?PQ:$Q;return c.createElement(CQ,{basename:a?n:""},c.createElement(i,{basename:n,history:t},o))},PQ=function(e){var t=e.children;return c.createElement(c.Fragment,null,t)},$Q=function(e){var t=e.children,r=e.history,n=c.useMemo(function(){return r||wQ()},[r]);return c.createElement(OQ,{history:n},t)},Za=function(){return c.useContext(PA)},ei=function(){var e=Za();return c.useCallback(function(t){var r=t.resource,n=t.id,o=t.type;switch(o){case"list":return so("".concat(e,"/").concat(r));case"create":return so("".concat(e,"/").concat(r,"/create"));case"edit":return n==null?so("".concat(e,"/").concat(r)):so("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n)));case"show":return n==null?so("".concat(e,"/").concat(r)):so("".concat(e,"/").concat(r,"/").concat(encodeURIComponent(n),"/show"));default:return o}},[e])},so=function(e){return e.replace("//","/")},xc=function(){return xc=Object.assign||function(e){for(var t,r=1,n=arguments.length;rencodeURIComponent(e).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),kA="%[a-f0-9]{2}",a$=new RegExp("("+kA+")|([^%]+?)","gi"),i$=new RegExp("("+kA+")+","gi");function N0(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],N0(r),N0(n))}function GQ(e){try{return decodeURIComponent(e)}catch{for(var t=e.match(a$)||[],r=1;r{if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(t==="")return[e];const r=e.indexOf(t);return r===-1?[e]:[e.slice(0,r),e.slice(r+t.length)]},YQ=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),a=0;am==null,i=Symbol("encodeFragmentIdentifier");function s(m){switch(m.arrayFormat){case"index":return y=>(C,O)=>{const S=C.length;return O===void 0||m.skipNull&&O===null||m.skipEmptyString&&O===""?C:O===null?[...C,[d(y,m),"[",S,"]"].join("")]:[...C,[d(y,m),"[",d(S,m),"]=",d(O,m)].join("")]};case"bracket":return y=>(C,O)=>O===void 0||m.skipNull&&O===null||m.skipEmptyString&&O===""?C:O===null?[...C,[d(y,m),"[]"].join("")]:[...C,[d(y,m),"[]=",d(O,m)].join("")];case"colon-list-separator":return y=>(C,O)=>O===void 0||m.skipNull&&O===null||m.skipEmptyString&&O===""?C:O===null?[...C,[d(y,m),":list="].join("")]:[...C,[d(y,m),":list=",d(O,m)].join("")];case"comma":case"separator":case"bracket-separator":{const y=m.arrayFormat==="bracket-separator"?"[]=":"=";return C=>(O,S)=>S===void 0||m.skipNull&&S===null||m.skipEmptyString&&S===""?O:(S=S===null?"":S,O.length===0?[[d(C,m),y,d(S,m)].join("")]:[[O,d(S,m)].join(m.arrayFormatSeparator)])}default:return y=>(C,O)=>O===void 0||m.skipNull&&O===null||m.skipEmptyString&&O===""?C:O===null?[...C,d(y,m)]:[...C,[d(y,m),"=",d(O,m)].join("")]}}function u(m){let y;switch(m.arrayFormat){case"index":return(C,O,S)=>{if(y=/\[(\d*)\]$/.exec(C),C=C.replace(/\[\d*\]$/,""),!y){S[C]=O;return}S[C]===void 0&&(S[C]={}),S[C][y[1]]=O};case"bracket":return(C,O,S)=>{if(y=/(\[\])$/.exec(C),C=C.replace(/\[\]$/,""),!y){S[C]=O;return}if(S[C]===void 0){S[C]=[O];return}S[C]=[].concat(S[C],O)};case"colon-list-separator":return(C,O,S)=>{if(y=/(:list)$/.exec(C),C=C.replace(/:list$/,""),!y){S[C]=O;return}if(S[C]===void 0){S[C]=[O];return}S[C]=[].concat(S[C],O)};case"comma":case"separator":return(C,O,S)=>{const P=typeof O=="string"&&O.includes(m.arrayFormatSeparator),E=typeof O=="string"&&!P&&f(O,m).includes(m.arrayFormatSeparator);O=E?f(O,m):O;const $=P||E?O.split(m.arrayFormatSeparator).map(k=>f(k,m)):O===null?O:f(O,m);S[C]=$};case"bracket-separator":return(C,O,S)=>{const P=/(\[\])$/.test(C);if(C=C.replace(/\[\]$/,""),!P){S[C]=O&&f(O,m);return}const E=O===null?[]:O.split(m.arrayFormatSeparator).map($=>f($,m));if(S[C]===void 0){S[C]=E;return}S[C]=[].concat(S[C],E)};default:return(C,O,S)=>{if(S[C]===void 0){S[C]=O;return}S[C]=[].concat(S[C],O)}}}function l(m){if(typeof m!="string"||m.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function d(m,y){return y.encode?y.strict?t(m):encodeURIComponent(m):m}function f(m,y){return y.decode?r(m):m}function p(m){return Array.isArray(m)?m.sort():typeof m=="object"?p(Object.keys(m)).sort((y,C)=>Number(y)-Number(C)).map(y=>m[y]):m}function v(m){const y=m.indexOf("#");return y!==-1&&(m=m.slice(0,y)),m}function h(m){let y="";const C=m.indexOf("#");return C!==-1&&(y=m.slice(C)),y}function b(m){m=v(m);const y=m.indexOf("?");return y===-1?"":m.slice(y+1)}function x(m,y){return y.parseNumbers&&!Number.isNaN(Number(m))&&typeof m=="string"&&m.trim()!==""?m=Number(m):y.parseBooleans&&m!==null&&(m.toLowerCase()==="true"||m.toLowerCase()==="false")&&(m=m.toLowerCase()==="true"),m}function g(m,y){y=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},y),l(y.arrayFormatSeparator);const C=u(y),O=Object.create(null);if(typeof m!="string"||(m=m.trim().replace(/^[?#&]/,""),!m))return O;for(const S of m.split("&")){if(S==="")continue;let[P,E]=n(y.decode?S.replace(/\+/g," "):S,"=");E=E===void 0?null:["comma","separator","bracket-separator"].includes(y.arrayFormat)?E:f(E,y),C(f(P,y),E,O)}for(const S of Object.keys(O)){const P=O[S];if(typeof P=="object"&&P!==null)for(const E of Object.keys(P))P[E]=x(P[E],y);else O[S]=x(P,y)}return y.sort===!1?O:(y.sort===!0?Object.keys(O).sort():Object.keys(O).sort(y.sort)).reduce((S,P)=>{const E=O[P];return E&&typeof E=="object"&&!Array.isArray(E)?S[P]=p(E):S[P]=E,S},Object.create(null))}e.extract=b,e.parse=g,e.stringify=(m,y)=>{if(!m)return"";y=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},y),l(y.arrayFormatSeparator);const C=E=>y.skipNull&&a(m[E])||y.skipEmptyString&&m[E]==="",O=s(y),S={};for(const E of Object.keys(m))C(E)||(S[E]=m[E]);const P=Object.keys(S);return y.sort!==!1&&P.sort(y.sort),P.map(E=>{const $=m[E];return $===void 0?"":$===null?d(E,y):Array.isArray($)?$.length===0&&y.arrayFormat==="bracket-separator"?d(E,y)+"[]":$.reduce(O(E),[]).join("&"):d(E,y)+"="+d($,y)}).filter(E=>E.length>0).join("&")},e.parseUrl=(m,y)=>{y=Object.assign({decode:!0},y);const[C,O]=n(m,"#");return Object.assign({url:C.split("?")[0]||"",query:g(b(m),y)},y&&y.parseFragmentIdentifier&&O?{fragmentIdentifier:f(O,y)}:{})},e.stringifyUrl=(m,y)=>{y=Object.assign({encode:!0,strict:!0,[i]:!0},y);const C=v(m.url).split("?")[0]||"",O=e.extract(m.url),S=e.parse(O,{sort:!1}),P=Object.assign(S,m.query);let E=e.stringify(P,y);E&&(E=`?${E}`);let $=h(m.url);return m.fragmentIdentifier&&($=`#${y[i]?d(m.fragmentIdentifier,y):m.fragmentIdentifier}`),`${C}${E}${$}`},e.pick=(m,y,C)=>{C=Object.assign({parseFragmentIdentifier:!0,[i]:!1},C);const{url:O,query:S,fragmentIdentifier:P}=e.parseUrl(m,C);return e.stringifyUrl({url:O,query:o(S,y),fragmentIdentifier:P},C)},e.exclude=(m,y,C)=>{const O=Array.isArray(y)?S=>!y.includes(S):(S,P)=>!y(S,P);return e.pick(m,O,C)}})(Xi);var Nv=function(){return Nv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=300?Promise.reject(new qQ(u&&u.message||a,o,u)):Promise.resolve({status:o,headers:i,body:s,json:u})})},eX=function(e){if(!e)return!1;var t=Array.isArray(e),r=typeof Buffer<"u"&&Buffer.isBuffer(e),n=Object.prototype.toString.call(e)==="[object Object]",o=!!Object.keys(e).length;return!t&&!r&&n&&o},TA=function(e,t){var r;return t===void 0&&(t=[]),eX(e)?Object.assign.apply(Object,JQ([{}],Object.keys(e).map(function(n){return TA(e[n],t.concat([n]))}),!1)):t.length?(r={},r[t.join(".")]=e,r):e},jA={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(u,l,d){this.fn=u,this.context=l,this.once=d||!1}function a(u,l,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var v=new o(d,f||u,p),h=r?r+l:l;return u._events[h]?u._events[h].fn?u._events[h]=[u._events[h],v]:u._events[h].push(v):(u._events[h]=v,u._eventsCount++),u}function i(u,l){--u._eventsCount===0?u._events=new n:delete u._events[l]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var l=[],d,f;if(this._eventsCount===0)return l;for(f in d=this._events)t.call(d,f)&&l.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(d)):l},s.prototype.listeners=function(l){var d=r?r+l:l,f=this._events[d];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,v=f.length,h=new Array(v);p0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"u"||!e.message?t:e.message},iX=["getList","getMany","getManyReference"],Tn=function(){var e=c.useContext(RA)||IA,t=AA(),r=c.useMemo(function(){return new Proxy(e,{get:function(n,o){if(!(typeof o=="symbol"||o==="then"))return function(){for(var a=[],i=0;i0),n=te.useRef(e.isMutating()>0),o=te.useState(r.current||n.current),a=o[0],i=o[1];return te.useEffect(function(){t.current=!0;var s=e.getQueryCache().subscribe(ut.batchCalls(function(){t.current&&(r.current=e.isFetching()>0,i(r.current||n.current))})),u=e.getMutationCache().subscribe(ut.batchCalls(function(){t.current&&(n.current=e.isMutating()>0,i(r.current||n.current))}));return function(){t.current=!1,s(),u()}},[e]),a},eo=function(){var e=Rn();return c.useCallback(function(){e.invalidateQueries()},[e])},MA=function(e,t,r){var n=t.id,o=t.meta,a=Tn();return Ya([e,"getOne",{id:String(n),meta:o}],function(){return a.getOne(e,{id:n,meta:o}).then(function(i){var s=i.data;return s})},r)},Ys=function(){return Ys=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r(s)?t>1?FA(s,t-1,r,n,o):vX(o,s):n||(o[o.length]=s)}return o}var Pw=FA;function hX(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a-1}var NA=$X;function RX(e,t,r){for(var n=-1,o=e==null?0:e.length;++n=UX){var l=t?null:zX(e);if(l)return VX(l);i=!1,o=BX,u=new NX}else u=t?[]:s;e:for(;++n=t||P<0||f&&E>=a}function g(){var S=Ey();if(x(S))return m(S);s=setTimeout(g,b(S))}function m(S){return s=void 0,p&&n?v(S):(n=o=void 0,i)}function y(){s!==void 0&&clearTimeout(s),l=0,n=u=o=s=void 0}function C(){return s===void 0?i:m(Ey())}function O(){var S=Ey(),P=x(S);if(n=arguments,o=this,u=S,P){if(s===void 0)return h(u);if(f)return clearTimeout(s),s=setTimeout(g,t),v(u)}return s===void 0&&(s=setTimeout(g,t)),i}return O.cancel=y,O.flush=C,O}var EY=CY;const BA=Rt(EY);function p$(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}var zA=function(e,t){if(p$(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o0)throw new Error("<".concat(e,`> component is not properly configured, some essential props are missing. +Be sure to pass the props from the parent. Example: + +const My`).concat(e,` = props => ( + <`).concat(e," {...props}> +); + +The missing props are: `).concat(o.join(", ")))},V0=function(){return V0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0?(f=e.current)[l].apply(f,Df(Df([],p,!1),[d],!1)):a.apply(void 0,p)};return e.current.length>0?(i=e.current)[l].apply(i,Df(Df([],s,!1),[d],!1)):a.apply(void 0,s)}},[]),o=c.useMemo(function(){return{registerMutationMiddleware:t,getMutateWithMiddlewares:n,unregisterMutationMiddleware:r}},[t,n,r]);return o},Dv=function(){return Dv=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]2?t[2]:void 0;for(o&&PJ(t[0],t[1],o)&&(n=1);++r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"u"?"undefined":iM(r)){case"string":return[{item:n,value:this._handleString(r,n)}];case"number":return[{item:n,value:this._handleNumber(r,n)}];case"boolean":return[{item:n,value:this._handleBoolean.bind(this)(r,n)}]}return this.checkComplex(r,n)}},{key:"_handleObject",value:function(r){var n=[];for(var o in r){var a=r[o],i=this.check(a,o,o,r);n=n.concat(i)}return n}},{key:"_handleArray",value:function(r){for(var n=this,o=[],a,i=0;i0&&!l.item&&a===void 0&&(a=l);o=o.concat(u)}}return o}},{key:"_handleBoolean",value:function(r){var n;return r?n=this._options.booleanTrueString||"true":n=this._options.booleanFalseString||"false",n}},{key:"_handleString",value:function(r){return r}},{key:"_handleNumber",value:function(r){return r}},{key:"_handleDate",value:function(r){return r.toLocaleDateString()}}]),e}(),HJ=qJ,GJ=typeof window>"u"?wa:window;function KJ(e,t){if(e instanceof GJ[t])return!0;switch(typeof e>"u"?"undefined":iM(e)){case"string":return t==="String";case"boolean":return t==="Boolean";case"number":return t==="Number"}return!1}var $y,x$;function QJ(){return x$||(x$=1,$y=function(t,r,n){var o=` +`;if(typeof t!="string")throw new TypeError('Invalid param "textDelimiter", must be a string.');if(typeof r!="string")throw new TypeError('Invalid param "rowDelimiter", must be a string.');var a=new RegExp("\\"+t,"g"),i=t+t,s=t==='"'?function(u){return u.indexOf(r)>=0||u.indexOf(o)>=0||u.indexOf('"')>=0}:function(u){return u.indexOf(r)>=0||u.indexOf(o)>=0};return function(u){return n&&(u=""+u),u.replace&&(u=u.replace(a,i),(n||s(u))&&(u=t+u+t)),u}}),$y}var XJ=function(){function e(t,r){for(var n=0;n0&&(f=f.concat(Array(p).join(".").split("."))),n&&this._options.fillGaps&&(f=f.map(a)),o.push(f.join(this._options.rowDelimiter)),n=f}}catch(v){s=!0,u=v}finally{try{!i&&l.return&&l.return()}finally{if(s)throw u}}return o}},{key:"_parseArray",value:function(r,n){var o=this;this._headers=this._headers||[];var a=[],i=void 0,s=function(x){var g=o._headers.indexOf(x);return g===-1&&(o._headers.push(x),g=o._headers.indexOf(x)),g};i=function(x){var g=[],m=function(A){return g.push(A.map(function(D){return D??""}))},y=function(){return new Array(o._headers.length).fill(null)},C={},O=y(),S=!0,P=!1,E=void 0;try{for(var $=x[Symbol.iterator](),k;!(S=(k=$.next()).done);S=!0){var T=k.value,j=s(T.item);if(O[j]!=null&&(m(O),O=y()),C[j]=C[j]||0,o._options.fillTopRow&&C[j]0&&m(O),a=a.concat(o._checkRows(g))};var u=!0,l=!1,d=void 0;try{for(var f=r[Symbol.iterator](),p;!(u=(p=f.next()).done);u=!0){var v=p.value,h=o._handler.check(v,o._options.mainPathItem,v,r);i(h)}}catch(b){l=!0,d=b}finally{try{!u&&f.return&&f.return()}finally{if(l)throw d}}return!n&&o._options.includeHeaders&&a.unshift(this.headers),w$(a,o._options.endOfLine)}},{key:"_parseObject",value:function(r){var n=this,o=[],a=[],i=void 0,s=[[],[]];i=function(f){var p=f.value||f.value===0?f.value.toString():n._options.undefinedString;if(p=n._escape(p),n._options.verticalOutput){var v=[f.item,p];o.push(v.join(n._options.rowDelimiter))}else s[0].push(f.item),s[1].push(p)};for(var u in r){var l="";this._options.mainPathItem&&(l=this._options.mainPathItem+this._options.headerPathString),a=this._handler.check(r[u],l+u,u,r),a.forEach(i)}return this._options.verticalOutput||(o.push(s[0].join(this._options.rowDelimiter)),o.push(s[1].join(this._options.rowDelimiter))),w$(o,this._options.endOfLine)}},{key:"headers",get:function(){var r=this,n=this._headers;return this._options.rename&&this._options.rename.length>0&&(n=n.map(function(o){return r._options.rename[r._options.headers.indexOf(o)]||o})),this._options.forceTextDelimiter&&(n=n.map(function(o){return""+r._options.textDelimiter+o+r._options.textDelimiter})),this._options.mapHeaders&&(n=n.map(this._options.mapHeaders)),n.join(this._options.rowDelimiter)}}]),e}(),eZ=ZJ,tZ=function(e){throw new Error("jsonexport called without third argument as a callback and is required")},rZ=tZ,O$=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C$=eZ,E$=rZ,nZ=aM,oZ=function(){var e={headers:[],rename:[],headerPathString:".",rowDelimiter:",",textDelimiter:'"',arrayPathString:";",undefinedString:"",endOfLine:nZ,mainPathItem:null,booleanTrueString:null,booleanFalseString:null,includeHeaders:!0,fillGaps:!1,verticalOutput:!0,forceTextDelimiter:!1},t=void 0,r=void 0,n=void 0;if(arguments.length===3){var o=Array.prototype.slice.call(arguments);t=o[0],r=o[1],n=o[2]}else if(arguments.length===2){var a=void 0,i=Array.prototype.slice.call(arguments);t=i[0],a=i[1],typeof a=="function"?n=a:(typeof a>"u"?"undefined":O$(a))==="object"&&(r=a)}else if(arguments.length===1){var s=Array.prototype.slice.call(arguments),u=s[0];if((typeof u>"u"?"undefined":O$(u))==="object"){var l=Object.keys(e),d=Object.keys(u),f=d.every(function(h){return l.includes(h)});d.length>0&&f?r=u:t=u}else t=u}else return new E$(new C$(e));var p=Object.assign({},e,r),v=new C$(p);return t?new Promise(function(h,b){v.parse(t,function(x,g){if(n)return n(x,g);if(x)return b(x);if(b)return h(g)})}):new E$};const aZ=Rt(oZ),iZ=function(e,t){var r=document.createElement("a");r.style.display="none",document.body.appendChild(r);var n=new Blob([e],{type:"text/csv;charset=utf-8"});window.navigator&&window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(n,"".concat(t,".csv")):(r.setAttribute("href",URL.createObjectURL(n)),r.setAttribute("download","".concat(t,".csv")),r.click())};var sZ=function(e,t,r,n){return aZ(e,function(o,a){return iZ(a,n)})};const lZ=sZ;var uZ=function(e){return function(t,r,n){return e.getMany(n,{ids:cZ(t,r)}).then(function(o){var a=o.data;return a.reduce(function(i,s){return i[s.id]=s,i},{})})}},cZ=function(e,t){return Array.from(new Set(e.filter(function(r){return r[t]!=null}).map(function(r){return r[t]}).reduce(function(r,n){return r.concat(n)},[])))},bs=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n"u"||o(function(u){if(!Array.isArray(u))return bs([],u,!0);var l=u.indexOf(s);return l>-1?bs(bs([],u.slice(0,l),!0),u.slice(l+1),!0):bs(bs([],u,!0),[s],!1)})},clearSelection:function(){a()}}},[o,a]);return[n,i]},dZ=[],fZ=bh,pZ=yw,vZ=1,mZ=2;function hZ(e,t,r,n){var o=r.length,a=o,i=!n;if(e==null)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o0&&!P&&C(k)},[v.search]);var T=c.useCallback(function(K){S.current&&(O.current?O.current=m$(O.current,K):(O.current=m$(k,K),setTimeout(function(){o?g(O.current):h({search:"?".concat(Xi.stringify(Da(Da({},O.current),{filter:JSON.stringify(O.current.filter),displayedFilters:JSON.stringify(O.current.displayedFilters)})))},{state:{_scrollToTop:K.type===B0}}),O.current=void 0},0)))},P$(P$([],E,!0),[h],!1)),j=c.useCallback(function(K){return T({type:UA,payload:K})},[T]),I=c.useCallback(function(K){return T({type:B0,payload:K})},[T]),A=c.useCallback(function(K){return T({type:WA,payload:K})},[T]),D=k.filter||k$,L=k.displayedFilters||k$,B=BA(function(K,W){T({type:z0,payload:{filter:qa(K),displayedFilters:W}})},r),M=c.useCallback(function(K,W,le){return le===void 0&&(le=!0),le?B(K,W):T({type:z0,payload:{filter:qa(K),displayedFilters:W}})},[T]),N=c.useCallback(function(K){T({type:HA,payload:K})},[T]),q=c.useCallback(function(K,W){T({type:qA,payload:{filterName:K,defaultValue:W}})},[T]);return[Da({displayedFilters:L,filterValues:D,requestSignature:E},k),{changeParams:T,setPage:I,setPerPage:A,setSort:j,setFilters:M,hideFilter:N,showFilter:q}]},Oee=["page","perPage","sort","order","filter","displayedFilters"],$$=function(e,t){if(e[t]&&typeof e[t]=="string")try{e[t]=JSON.parse(e[t])}catch{delete e[t]}},Cee=function(e){var t=e.search,r=xee(Xi.parse(t),function(n,o){return Oee.indexOf(o)!==-1});return $$(r,"filter"),$$(r,"displayedFilters"),r},Eee=function(e){return e&&e.filter&&(Object.keys(e.filter).length>0||e.order!=null||e.page!==1||e.perPage!=null||e.sort!=null)},Pee=function(e){var t=e.queryFromLocation,r=e.params,n=e.filterDefaultValues,o=e.sort,a=e.perPage,i=Object.keys(t).length>0?t:Eee(r)?Da({},r):{filter:n||{}};return i.sort||(i.sort=o.field,i.order=o.order),i.perPage==null&&(i.perPage=a),i.page==null&&(i.page=1),Da(Da({},i),{page:R$(i.page,1),perPage:R$(i.perPage,10)})},R$=function(e,t){var r=typeof e=="string"?parseInt(e,10):e;return isNaN(r)?t:r},k$={},$ee={field:"id",order:Mi},T$={},jw=c.createContext({sort:null,data:null,defaultTitle:null,displayedFilters:null,exporter:null,filterValues:null,hasNextPage:null,hasPreviousPage:null,hideFilter:null,isFetching:null,isLoading:null,onSelect:null,onToggleItem:null,onUnselectItems:null,page:null,perPage:null,refetch:null,resource:null,selectedIds:void 0,setFilters:null,setPage:null,setPerPage:null,setSort:null,showFilter:null,total:null});jw.displayName="ListContext";var dM=c.createContext({displayedFilters:null,filterValues:null,hideFilter:null,setFilters:null,showFilter:null,resource:null}),Ree=function(e){return c.useMemo(function(){return $h(e,["displayedFilters","filterValues","hideFilter","setFilters","showFilter","resource"])},[e.displayedFilters,e.filterValues,e.hideFilter,e.setFilters,e.showFilter])};dM.displayName="ListFilterContext";var fM=c.createContext({sort:null,setSort:null,resource:null}),kee=function(e){return c.useMemo(function(){return $h(e,["sort","setSort","resource"])},[e.sort,e.setSort])};fM.displayName="ListSortContext";var Iw=c.createContext({isLoading:null,page:null,perPage:null,setPage:null,setPerPage:null,hasPreviousPage:null,hasNextPage:null,total:void 0,resource:null});Iw.displayName="ListPaginationContext";var Tee=function(e){return c.useMemo(function(){return $h(e,["isLoading","hasPreviousPage","hasNextPage","page","perPage","setPage","setPerPage","total","resource"])},[e.isLoading,e.hasPreviousPage,e.hasNextPage,e.page,e.perPage,e.setPage,e.setPerPage,e.total])},Aw=function(e){var t=e.value,r=e.children;return c.createElement(jw.Provider,{value:t},c.createElement(dM.Provider,{value:Ree(t)},c.createElement(fM.Provider,{value:kee(t)},c.createElement(Iw.Provider,{value:Tee(t)},r))))},Fi=function(){return Fi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r was called outside of a ResourceContext and without a resource prop. You must set the resource prop.");if(s&&c.isValidElement(s))throw new Error(" received a React element as `filter` props. If you intended to set the list filter elements, use the `filters` (with an s) prop instead. The `filter` prop is internal and should not be set by the developer.");var y=he(),C=at(),O=See({debounce:r,disableSyncWithLocation:o,filterDefaultValues:u,perPage:d,resource:x,sort:h,storeKey:b}),S=O[0],P=O[1],E=Nd(x),$=E[0],k=E[1],T=uX(x,{pagination:{page:S.page,perPage:S.perPage},sort:{field:S.sort,order:S.order},filter:Fi(Fi({},S.filter),s),meta:g},Fi({keepPreviousData:!0,retry:!1,onError:function(W){return C((W==null?void 0:W.message)||"ra.notification.http_error",{type:"error",messageArgs:{_:W==null?void 0:W.message}})}},m)),j=T.data,I=T.pageInfo,A=T.total,D=T.error,L=T.isLoading,B=T.isFetching,M=T.refetch;c.useEffect(function(){if(S.page<=0||!B&&S.page>1&&(j==null||(j==null?void 0:j.length)===0)){P.setPage(1);return}if(A!=null){var W=Math.ceil(A/S.perPage)||1;!B&&S.page>W&&P.setPage(W)}},[B,S.page,S.perPage,j,P,A]);var N=c.useMemo(function(){return{field:S.sort,order:S.order}},[S.sort,S.order]),q=hu(),K=y("ra.page.list",{name:q(x,2)});return{sort:N,data:j,defaultTitle:K,displayedFilters:S.displayedFilters,error:D,exporter:i,filter:s,filterValues:S.filterValues,hideFilter:P.hideFilter,isFetching:B,isLoading:L,onSelect:k.select,onToggleItem:k.toggle,onUnselectItems:k.clearSelection,page:S.page,perPage:S.perPage,refetch:M,resource:x,selectedIds:$,setFilters:P.setFilters,setPage:P.setPage,setPerPage:P.setPerPage,setSort:P.setSort,showFilter:P.showFilter,total:A,hasNextPage:I?I.hasNextPage:A!=null?S.page*S.perPage1}},Aee={field:"id",order:Mi},Mee=["sort","data","defaultTitle","displayedFilters","error","exporter","filterValues","hasNextPage","hasPreviousPage","hideFilter","isFetching","isLoading","onSelect","onToggleItem","onUnselectItems","page","perPage","refetch","refresh","resource","selectedIds","setFilters","setPage","setPerPage","setSort","showFilter","total","totalPages"],Ji=function(e){return Object.keys(e).filter(function(t){return!Mee.includes(t)}).reduce(function(t,r){var n;return Fi(Fi({},t),(n={},n[r]=e[r],n))},{})},Fee=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o-1?r?[]:Bf(Bf([],u.slice(0,l),!0),u.slice(l+1),!0):r?[t]:Bf(Bf([],u,!0),[t],!1)})},[a,t,r]);return[i,s]},Dee=function(e,t){var r=mr("".concat(e,".datagrid.expanded"),[]),n=r[0],o=r[1],a=Array.isArray(n)?n.some(function(s){return t.some(function(u){return u==s})}):!1,i=c.useCallback(function(){var s=n.filter(function(u){return!t.some(function(l){return l==u})});o(a?s:s.concat(t))},[n,o,a,t]);return[a,i]},Js=function(){return Js=Object.assign||function(e){for(var t,r=1,n=arguments.length;rDe(Oe,L.field)?L.order==="ASC"?1:-1:De(de,L.field)1,hideFilter:re,isFetching:m,isLoading:O,onSelect:K.select,onToggleItem:K.toggle,onUnselectItems:K.clearSelection,page:T,perPage:I,resource:void 0,refetch:Bee,selectedIds:q,setFilters:Z,setPage:j,setPerPage:A,setSort:M,showFilter:oe,total:E==null?void 0:E.total}},zee={},yr=function(e){var t=c.useContext(jw);return c.useMemo(function(){return ls({},e!=null?Vee(e):{},t)},[t,e])},Vee=function(e){var t=e.sort,r=e.data,n=e.defaultTitle,o=e.displayedFilters,a=e.exporter,i=e.filterValues,s=e.hasCreate,u=e.hideFilter,l=e.isFetching,d=e.isLoading,f=e.onSelect,p=e.onToggleItem,v=e.onUnselectItems,h=e.page,b=e.perPage,x=e.refetch,g=e.resource,m=e.selectedIds,y=e.setFilters,C=e.setPage,O=e.setPerPage,S=e.setSort,P=e.showFilter,E=e.total;return{sort:t,data:r,defaultTitle:n,displayedFilters:o,exporter:a,filterValues:i,hasCreate:s,hideFilter:u,isFetching:l,isLoading:d,onSelect:f,onToggleItem:p,onUnselectItems:v,page:h,perPage:b,refetch:x,resource:g,selectedIds:m,setFilters:y,setPage:C,setPerPage:O,setSort:S,showFilter:P,total:E}},Uee=function(e){var t=c.useContext(Iw);return c.useMemo(function(){return ls({},e!=null?Wee(e):{},t)},[t,e])},Wee=function(e){var t=e.isLoading,r=e.page,n=e.perPage,o=e.setPage,a=e.setPerPage,i=e.hasPreviousPage,s=e.hasNextPage,u=e.total,l=e.resource;return{isLoading:t,page:r,perPage:n,setPage:o,setPerPage:a,hasPreviousPage:i,hasNextPage:s,total:u,resource:l}},vM=function(e){var t=Nd(e),r=t[1].unselect;return c.useCallback(function(n){r(n)},[r])},mM=function(e){var t=Nd(e),r=t[1].clearSelection;return c.useCallback(function(){r()},[r])},Zs=function(){return Zs=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1,setSort:P,showFilter:N,total:Y}},Ld=e=>e.type==="checkbox",el=e=>e instanceof Date,xr=e=>e==null;const hM=e=>typeof e=="object";var qt=e=>!xr(e)&&!Array.isArray(e)&&hM(e)&&!el(e),gM=e=>qt(e)&&e.target?Ld(e.target)?e.target.checked:e.target.value:e,Gee=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,yM=(e,t)=>e.has(Gee(t)),Kee=e=>{const t=e.constructor&&e.constructor.prototype;return qt(t)&&t.hasOwnProperty("isPrototypeOf")},Mw=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Vt(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Mw&&(e instanceof Blob||e instanceof FileList))&&(r||qt(e)))if(t=r?[]:{},!r&&!Kee(e))t=e;else for(const n in e)e.hasOwnProperty(n)&&(t[n]=Vt(e[n]));else return e;return t}var vu=e=>Array.isArray(e)?e.filter(Boolean):[],lt=e=>e===void 0,ye=(e,t,r)=>{if(!t||!qt(e))return r;const n=vu(t.split(/[,[\].]+?/)).reduce((o,a)=>xr(o)?o:o[a],e);return lt(n)||n===e?lt(e[t])?r:e[t]:n},Un=e=>typeof e=="boolean";const zv={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},hn={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ko={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},bM=te.createContext(null),jn=()=>te.useContext(bM),_M=e=>{const{children:t,...r}=e;return te.createElement(bM.Provider,{value:r},t)};var xM=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const i=a;return t._proxyFormState[i]!==hn.all&&(t._proxyFormState[i]=!n||hn.all),r&&(r[i]=!0),e[i]}});return o},Ir=e=>qt(e)&&!Object.keys(e).length,wM=(e,t,r,n)=>{r(e);const{name:o,...a}=e;return Ir(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(i=>t[i]===(!n||hn.all))},Hr=e=>Array.isArray(e)?e:[e],SM=(e,t,r)=>!e||!t||e===t||Hr(e).some(n=>n&&(r?n===t:n.startsWith(t)||t.startsWith(n)));function kh(e){const t=te.useRef(e);t.current=e,te.useEffect(()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}function mu(e){const t=jn(),{control:r=t.control,disabled:n,name:o,exact:a}=e||{},[i,s]=te.useState(r._formState),u=te.useRef(!0),l=te.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),d=te.useRef(o);return d.current=o,kh({disabled:n,next:f=>u.current&&SM(d.current,f.name,a)&&wM(f,l.current,r._updateFormState)&&s({...r._formState,...f}),subject:r._subjects.state}),te.useEffect(()=>(u.current=!0,l.current.isValid&&r._updateValid(!0),()=>{u.current=!1}),[r]),xM(i,r,l.current,!1)}var vo=e=>typeof e=="string",OM=(e,t,r,n,o)=>vo(e)?(n&&t.watch.add(e),ye(r,e,o)):Array.isArray(e)?e.map(a=>(n&&t.watch.add(a),ye(r,a))):(n&&(t.watchAll=!0),r);function CM(e){const t=jn(),{control:r=t.control,name:n,defaultValue:o,disabled:a,exact:i}=e||{},s=te.useRef(n);s.current=n,kh({disabled:a,subject:r._subjects.values,next:d=>{SM(s.current,d.name,i)&&l(Vt(OM(s.current,r._names,d.values||r._formValues,!1,o)))}});const[u,l]=te.useState(r._getWatch(n,o));return te.useEffect(()=>r._removeUnmounted()),u}var Fw=e=>/^\w*$/.test(e),EM=e=>vu(e.replace(/["|']|\]/g,"").split(/\.|\[/)),rt=(e,t,r)=>{let n=-1;const o=Fw(t)?[t]:EM(t),a=o.length,i=a-1;for(;++n{const d=o._options.shouldUnregister||a,f=(p,v)=>{const h=ye(o._fields,p);h&&(h._f.mount=v)};if(f(r,!0),d){const p=Vt(ye(o._options.defaultValues,r));rt(o._defaultValues,r,p),lt(ye(o._formValues,r))&&rt(o._formValues,r,p)}return()=>{(i?d&&!o._state.action:d)?o.unregister(r):f(r,!1)}},[r,o,i,a]),te.useEffect(()=>{ye(o._fields,r)&&o._updateDisabledField({disabled:n,fields:o._fields,name:r,value:ye(o._fields,r)._f.value})},[n,r,o]),{field:{name:r,value:s,...Un(n)||u.disabled?{disabled:u.disabled||n}:{},onChange:te.useCallback(d=>l.current.onChange({target:{value:gM(d),name:r},type:zv.CHANGE}),[r]),onBlur:te.useCallback(()=>l.current.onBlur({target:{value:ye(o._formValues,r),name:r},type:zv.BLUR}),[r,o]),ref:d=>{const f=ye(o._fields,r);f&&d&&(f._f.ref={focus:()=>d.focus(),select:()=>d.select(),setCustomValidity:p=>d.setCustomValidity(p),reportValidity:()=>d.reportValidity()})}},formState:u,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ye(u.errors,r)},isDirty:{enumerable:!0,get:()=>!!ye(u.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!ye(u.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!ye(u.validatingFields,r)},error:{enumerable:!0,get:()=>ye(u.errors,r)}})}}var Xee=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{},la=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},Ry=(e,t,r={})=>r.shouldFocus||lt(r.shouldFocus)?r.focusName||`${e}.${lt(r.focusIndex)?t:r.focusIndex}.`:"",Oc=e=>({isOnSubmit:!e||e===hn.onSubmit,isOnBlur:e===hn.onBlur,isOnChange:e===hn.onChange,isOnAll:e===hn.all,isOnTouch:e===hn.onTouched}),W0=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length))));const fl=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const a=ye(e,o);if(a){const{_f:i,...s}=a;if(i){if(i.refs&&i.refs[0]&&t(i.refs[0],o)&&!n)break;if(i.ref&&t(i.ref,i.name)&&!n)break;fl(s,t)}else qt(s)&&fl(s,t)}}};var PM=(e,t,r)=>{const n=vu(ye(e,r));return rt(n,"root",t[r]),rt(e,r,n),e},Nw=e=>e.type==="file",Ea=e=>typeof e=="function",Vv=e=>{if(!Mw)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Cp=e=>vo(e),Lw=e=>e.type==="radio",Uv=e=>e instanceof RegExp;const A$={value:!1,isValid:!1},M$={value:!0,isValid:!0};var $M=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!lt(e[0].attributes.value)?lt(e[0].value)||e[0].value===""?M$:{value:e[0].value,isValid:!0}:M$:A$}return A$};const F$={isValid:!1,value:null};var RM=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,F$):F$;function N$(e,t,r="validate"){if(Cp(e)||Array.isArray(e)&&e.every(Cp)||Un(e)&&!e)return{type:r,message:Cp(e)?e:"",ref:t}}var _s=e=>qt(e)&&!Uv(e)?e:{value:e,message:""},q0=async(e,t,r,n,o)=>{const{ref:a,refs:i,required:s,maxLength:u,minLength:l,min:d,max:f,pattern:p,validate:v,name:h,valueAsNumber:b,mount:x,disabled:g}=e._f,m=ye(t,h);if(!x||g)return{};const y=i?i[0]:a,C=j=>{n&&y.reportValidity&&(y.setCustomValidity(Un(j)?"":j||""),y.reportValidity())},O={},S=Lw(a),P=Ld(a),E=S||P,$=(b||Nw(a))&<(a.value)&<(m)||Vv(a)&&a.value===""||m===""||Array.isArray(m)&&!m.length,k=Xee.bind(null,h,r,O),T=(j,I,A,D=ko.maxLength,L=ko.minLength)=>{const B=j?I:A;O[h]={type:j?D:L,message:B,ref:a,...k(j?D:L,B)}};if(o?!Array.isArray(m)||!m.length:s&&(!E&&($||xr(m))||Un(m)&&!m||P&&!$M(i).isValid||S&&!RM(i).isValid)){const{value:j,message:I}=Cp(s)?{value:!!s,message:s}:_s(s);if(j&&(O[h]={type:ko.required,message:I,ref:y,...k(ko.required,I)},!r))return C(I),O}if(!$&&(!xr(d)||!xr(f))){let j,I;const A=_s(f),D=_s(d);if(!xr(m)&&!isNaN(m)){const L=a.valueAsNumber||m&&+m;xr(A.value)||(j=L>A.value),xr(D.value)||(I=Lnew Date(new Date().toDateString()+" "+q),M=a.type=="time",N=a.type=="week";vo(A.value)&&m&&(j=M?B(m)>B(A.value):N?m>A.value:L>new Date(A.value)),vo(D.value)&&m&&(I=M?B(m)+j.value,D=!xr(I.value)&&m.length<+I.value;if((A||D)&&(T(A,j.message,I.message),!r))return C(O[h].message),O}if(p&&!$&&vo(m)){const{value:j,message:I}=_s(p);if(Uv(j)&&!m.match(j)&&(O[h]={type:ko.pattern,message:I,ref:a,...k(ko.pattern,I)},!r))return C(I),O}if(v){if(Ea(v)){const j=await v(m,t),I=N$(j,y);if(I&&(O[h]={...I,...k(ko.validate,I.message)},!r))return C(I.message),O}else if(qt(v)){let j={};for(const I in v){if(!Ir(j)&&!r)break;const A=N$(await v[I](m,t),y,I);A&&(j={...A,...k(I,A.message)},C(A.message),r&&(O[h]=j))}if(!Ir(j)&&(O[h]={ref:y,...j},!r))return O}}return C(!0),O},ky=(e,t)=>[...e,...Hr(t)],Ty=e=>Array.isArray(e)?e.map(()=>{}):void 0;function jy(e,t,r){return[...e.slice(0,t),...Hr(r),...e.slice(t)]}var Iy=(e,t,r)=>Array.isArray(e)?(lt(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[],Ay=(e,t)=>[...Hr(t),...Hr(e)];function Yee(e,t){let r=0;const n=[...e];for(const o of t)n.splice(o-r,1),r++;return vu(n).length?n:[]}var My=(e,t)=>lt(t)?[]:Yee(e,Hr(t).sort((r,n)=>r-n)),Fy=(e,t,r)=>{[e[t],e[r]]=[e[r],e[t]]};function Jee(e,t){const r=t.slice(0,-1).length;let n=0;for(;n(e[t]=r,e);function ete(e){const t=jn(),{control:r=t.control,name:n,keyName:o="id",shouldUnregister:a}=e,[i,s]=te.useState(r._getFieldArray(n)),u=te.useRef(r._getFieldArray(n).map(la)),l=te.useRef(i),d=te.useRef(n),f=te.useRef(!1);d.current=n,l.current=i,r._names.array.add(n),e.rules&&r.register(n,e.rules),kh({next:({values:O,name:S})=>{if(S===d.current||!S){const P=ye(O,d.current);Array.isArray(P)&&(s(P),u.current=P.map(la))}},subject:r._subjects.array});const p=te.useCallback(O=>{f.current=!0,r._updateFieldArray(n,O)},[r,n]),v=(O,S)=>{const P=Hr(Vt(O)),E=ky(r._getFieldArray(n),P);r._names.focus=Ry(n,E.length-1,S),u.current=ky(u.current,P.map(la)),p(E),s(E),r._updateFieldArray(n,E,ky,{argA:Ty(O)})},h=(O,S)=>{const P=Hr(Vt(O)),E=Ay(r._getFieldArray(n),P);r._names.focus=Ry(n,0,S),u.current=Ay(u.current,P.map(la)),p(E),s(E),r._updateFieldArray(n,E,Ay,{argA:Ty(O)})},b=O=>{const S=My(r._getFieldArray(n),O);u.current=My(u.current,O),p(S),s(S),r._updateFieldArray(n,S,My,{argA:O})},x=(O,S,P)=>{const E=Hr(Vt(S)),$=jy(r._getFieldArray(n),O,E);r._names.focus=Ry(n,O,P),u.current=jy(u.current,O,E.map(la)),p($),s($),r._updateFieldArray(n,$,jy,{argA:O,argB:Ty(S)})},g=(O,S)=>{const P=r._getFieldArray(n);Fy(P,O,S),Fy(u.current,O,S),p(P),s(P),r._updateFieldArray(n,P,Fy,{argA:O,argB:S},!1)},m=(O,S)=>{const P=r._getFieldArray(n);Iy(P,O,S),Iy(u.current,O,S),p(P),s(P),r._updateFieldArray(n,P,Iy,{argA:O,argB:S},!1)},y=(O,S)=>{const P=Vt(S),E=L$(r._getFieldArray(n),O,P);u.current=[...E].map(($,k)=>!$||k===O?la():u.current[k]),p(E),s([...E]),r._updateFieldArray(n,E,L$,{argA:O,argB:P},!0,!1)},C=O=>{const S=Hr(Vt(O));u.current=S.map(la),p([...S]),s([...S]),r._updateFieldArray(n,[...S],P=>P,{},!0,!1)};return te.useEffect(()=>{if(r._state.action=!1,W0(n,r._names)&&r._subjects.state.next({...r._formState}),f.current&&(!Oc(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then(O=>{const S=ye(O.errors,n),P=ye(r._formState.errors,n);(P?!S&&P.type||S&&(P.type!==S.type||P.message!==S.message):S&&S.type)&&(S?rt(r._formState.errors,n,S):At(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))});else{const O=ye(r._fields,n);O&&O._f&&!(Oc(r._options.reValidateMode).isOnSubmit&&Oc(r._options.mode).isOnSubmit)&&q0(O,r._formValues,r._options.criteriaMode===hn.all,r._options.shouldUseNativeValidation,!0).then(S=>!Ir(S)&&r._subjects.state.next({errors:PM(r._formState.errors,S,n)}))}r._subjects.values.next({name:n,values:{...r._formValues}}),r._names.focus&&fl(r._fields,(O,S)=>{if(r._names.focus&&S.startsWith(r._names.focus)&&O.focus)return O.focus(),1}),r._names.focus="",r._updateValid(),f.current=!1},[i,n,r]),te.useEffect(()=>(!ye(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||a)&&r.unregister(n)}),[n,r,o,a]),{swap:te.useCallback(g,[p,n,r]),move:te.useCallback(m,[p,n,r]),prepend:te.useCallback(h,[p,n,r]),append:te.useCallback(v,[p,n,r]),remove:te.useCallback(b,[p,n,r]),insert:te.useCallback(x,[p,n,r]),update:te.useCallback(y,[p,n,r]),replace:te.useCallback(C,[p,n,r]),fields:te.useMemo(()=>i.map((O,S)=>({...O,[o]:u.current[S]||la()})),[i,o])}}var Ny=()=>{let e=[];return{get observers(){return e},next:o=>{for(const a of e)a.next&&a.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(a=>a!==o)}}),unsubscribe:()=>{e=[]}}},Wv=e=>xr(e)||!hM(e);function Pi(e,t){if(Wv(e)||Wv(t))return e===t;if(el(e)&&el(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const o of r){const a=e[o];if(!n.includes(o))return!1;if(o!=="ref"){const i=t[o];if(el(a)&&el(i)||qt(a)&&qt(i)||Array.isArray(a)&&Array.isArray(i)?!Pi(a,i):a!==i)return!1}}return!0}var kM=e=>e.type==="select-multiple",tte=e=>Lw(e)||Ld(e),Ly=e=>Vv(e)&&e.isConnected,TM=e=>{for(const t in e)if(Ea(e[t]))return!0;return!1};function qv(e,t={}){const r=Array.isArray(e);if(qt(e)||r)for(const n in e)Array.isArray(e[n])||qt(e[n])&&!TM(e[n])?(t[n]=Array.isArray(e[n])?[]:{},qv(e[n],t[n])):xr(e[n])||(t[n]=!0);return t}function jM(e,t,r){const n=Array.isArray(e);if(qt(e)||n)for(const o in e)Array.isArray(e[o])||qt(e[o])&&!TM(e[o])?lt(t)||Wv(r[o])?r[o]=Array.isArray(e[o])?qv(e[o],[]):{...qv(e[o])}:jM(e[o],xr(t)?{}:t[o],r[o]):r[o]=!Pi(e[o],t[o]);return r}var zf=(e,t)=>jM(e,t,qv(t)),IM=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>lt(e)?e:t?e===""?NaN:e&&+e:r&&vo(e)?new Date(e):n?n(e):e;function Dy(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return Nw(t)?t.files:Lw(t)?RM(e.refs).value:kM(t)?[...t.selectedOptions].map(({value:r})=>r):Ld(t)?$M(e.refs).value:IM(lt(t.value)?e.ref.value:t.value,e)}var rte=(e,t,r,n)=>{const o={};for(const a of e){const i=ye(t,a);i&&rt(o,a,i._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}},Wu=e=>lt(e)?e:Uv(e)?e.source:qt(e)?Uv(e.value)?e.value.source:e.value:e,nte=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function D$(e,t,r){const n=ye(e,r);if(n||Fw(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const a=o.join("."),i=ye(t,a),s=ye(e,a);if(i&&!Array.isArray(i)&&r!==a)return{name:r};if(s&&s.type)return{name:a,error:s};o.pop()}return{name:r}}var ote=(e,t,r,n,o)=>o.isOnAll?!1:!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:(r?n.isOnChange:o.isOnChange)?e:!0,ate=(e,t)=>!vu(ye(e,t)).length&&At(e,t);const ite={mode:hn.onSubmit,reValidateMode:hn.onChange,shouldFocusError:!0};function ste(e={}){let t={...ite,...e},r={submitCount:0,isDirty:!1,isLoading:Ea(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},n={},o=qt(t.defaultValues)||qt(t.values)?Vt(t.defaultValues||t.values)||{}:{},a=t.shouldUnregister?{}:Vt(o),i={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u,l=0;const d={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:Ny(),array:Ny(),state:Ny()},p=Oc(t.mode),v=Oc(t.reValidateMode),h=t.criteriaMode===hn.all,b=F=>z=>{clearTimeout(l),l=setTimeout(F,z)},x=async F=>{if(d.isValid||F){const z=t.resolver?Ir((await E()).errors):await k(n,!0);z!==r.isValid&&f.state.next({isValid:z})}},g=(F,z)=>{(d.isValidating||d.validatingFields)&&((F||Array.from(s.mount)).forEach(U=>{U&&(z?rt(r.validatingFields,U,z):At(r.validatingFields,U))}),f.state.next({validatingFields:r.validatingFields,isValidating:!Ir(r.validatingFields)}))},m=(F,z=[],U,X,J=!0,Q=!0)=>{if(X&&U){if(i.action=!0,Q&&Array.isArray(ye(n,F))){const ue=U(ye(n,F),X.argA,X.argB);J&&rt(n,F,ue)}if(Q&&Array.isArray(ye(r.errors,F))){const ue=U(ye(r.errors,F),X.argA,X.argB);J&&rt(r.errors,F,ue),ate(r.errors,F)}if(d.touchedFields&&Q&&Array.isArray(ye(r.touchedFields,F))){const ue=U(ye(r.touchedFields,F),X.argA,X.argB);J&&rt(r.touchedFields,F,ue)}d.dirtyFields&&(r.dirtyFields=zf(o,a)),f.state.next({name:F,isDirty:j(F,z),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else rt(a,F,z)},y=(F,z)=>{rt(r.errors,F,z),f.state.next({errors:r.errors})},C=F=>{r.errors=F,f.state.next({errors:r.errors,isValid:!1})},O=(F,z,U,X)=>{const J=ye(n,F);if(J){const Q=ye(a,F,lt(U)?ye(o,F):U);lt(Q)||X&&X.defaultChecked||z?rt(a,F,z?Q:Dy(J._f)):D(F,Q),i.mount&&x()}},S=(F,z,U,X,J)=>{let Q=!1,ue=!1;const ge={name:F},Me=!!(ye(n,F)&&ye(n,F)._f.disabled);if(!U||X){d.isDirty&&(ue=r.isDirty,r.isDirty=ge.isDirty=j(),Q=ue!==ge.isDirty);const Le=Me||Pi(ye(o,F),z);ue=!!(!Me&&ye(r.dirtyFields,F)),Le||Me?At(r.dirtyFields,F):rt(r.dirtyFields,F,!0),ge.dirtyFields=r.dirtyFields,Q=Q||d.dirtyFields&&ue!==!Le}if(U){const Le=ye(r.touchedFields,F);Le||(rt(r.touchedFields,F,U),ge.touchedFields=r.touchedFields,Q=Q||d.touchedFields&&Le!==U)}return Q&&J&&f.state.next(ge),Q?ge:{}},P=(F,z,U,X)=>{const J=ye(r.errors,F),Q=d.isValid&&Un(z)&&r.isValid!==z;if(e.delayError&&U?(u=b(()=>y(F,U)),u(e.delayError)):(clearTimeout(l),u=null,U?rt(r.errors,F,U):At(r.errors,F)),(U?!Pi(J,U):J)||!Ir(X)||Q){const ue={...X,...Q&&Un(z)?{isValid:z}:{},errors:r.errors,name:F};r={...r,...ue},f.state.next(ue)}},E=async F=>{g(F,!0);const z=await t.resolver(a,t.context,rte(F||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation));return g(F),z},$=async F=>{const{errors:z}=await E(F);if(F)for(const U of F){const X=ye(z,U);X?rt(r.errors,U,X):At(r.errors,U)}else r.errors=z;return z},k=async(F,z,U={valid:!0})=>{for(const X in F){const J=F[X];if(J){const{_f:Q,...ue}=J;if(Q){const ge=s.array.has(Q.name);g([X],!0);const Me=await q0(J,a,h,t.shouldUseNativeValidation&&!z,ge);if(g([X]),Me[Q.name]&&(U.valid=!1,z))break;!z&&(ye(Me,Q.name)?ge?PM(r.errors,Me,Q.name):rt(r.errors,Q.name,Me[Q.name]):At(r.errors,Q.name))}ue&&await k(ue,z,U)}}return U.valid},T=()=>{for(const F of s.unMount){const z=ye(n,F);z&&(z._f.refs?z._f.refs.every(U=>!Ly(U)):!Ly(z._f.ref))&&ne(F)}s.unMount=new Set},j=(F,z)=>(F&&z&&rt(a,F,z),!Pi(K(),o)),I=(F,z,U)=>OM(F,s,{...i.mount?a:lt(z)?o:vo(F)?{[F]:z}:z},U,z),A=F=>vu(ye(i.mount?a:o,F,e.shouldUnregister?ye(o,F,[]):[])),D=(F,z,U={})=>{const X=ye(n,F);let J=z;if(X){const Q=X._f;Q&&(!Q.disabled&&rt(a,F,IM(z,Q)),J=Vv(Q.ref)&&xr(z)?"":z,kM(Q.ref)?[...Q.ref.options].forEach(ue=>ue.selected=J.includes(ue.value)):Q.refs?Ld(Q.ref)?Q.refs.length>1?Q.refs.forEach(ue=>(!ue.defaultChecked||!ue.disabled)&&(ue.checked=Array.isArray(J)?!!J.find(ge=>ge===ue.value):J===ue.value)):Q.refs[0]&&(Q.refs[0].checked=!!J):Q.refs.forEach(ue=>ue.checked=ue.value===J):Nw(Q.ref)?Q.ref.value="":(Q.ref.value=J,Q.ref.type||f.values.next({name:F,values:{...a}})))}(U.shouldDirty||U.shouldTouch)&&S(F,J,U.shouldTouch,U.shouldDirty,!0),U.shouldValidate&&q(F)},L=(F,z,U)=>{for(const X in z){const J=z[X],Q=`${F}.${X}`,ue=ye(n,Q);(s.array.has(F)||!Wv(J)||ue&&!ue._f)&&!el(J)?L(Q,J,U):D(Q,J,U)}},B=(F,z,U={})=>{const X=ye(n,F),J=s.array.has(F),Q=Vt(z);rt(a,F,Q),J?(f.array.next({name:F,values:{...a}}),(d.isDirty||d.dirtyFields)&&U.shouldDirty&&f.state.next({name:F,dirtyFields:zf(o,a),isDirty:j(F,Q)})):X&&!X._f&&!xr(Q)?L(F,Q,U):D(F,Q,U),W0(F,s)&&f.state.next({...r}),f.values.next({name:i.mount?F:void 0,values:{...a}})},M=async F=>{i.mount=!0;const z=F.target;let U=z.name,X=!0;const J=ye(n,U),Q=()=>z.type?Dy(J._f):gM(F),ue=ge=>{X=Number.isNaN(ge)||ge===ye(a,U,ge)};if(J){let ge,Me;const Le=Q(),Pe=F.type===zv.BLUR||F.type===zv.FOCUS_OUT,xe=!nte(J._f)&&!t.resolver&&!ye(r.errors,U)&&!J._f.deps||ote(Pe,ye(r.touchedFields,U),r.isSubmitted,v,p),qe=W0(U,s,Pe);rt(a,U,Le),Pe?(J._f.onBlur&&J._f.onBlur(F),u&&u(0)):J._f.onChange&&J._f.onChange(F);const ot=S(U,Le,Pe,!1),tt=!Ir(ot)||qe;if(!Pe&&f.values.next({name:U,type:F.type,values:{...a}}),xe)return d.isValid&&x(),tt&&f.state.next({name:U,...qe?{}:ot});if(!Pe&&qe&&f.state.next({...r}),t.resolver){const{errors:Te}=await E([U]);if(ue(Le),X){const Fe=D$(r.errors,n,U),me=D$(Te,n,Fe.name||U);ge=me.error,U=me.name,Me=Ir(Te)}}else g([U],!0),ge=(await q0(J,a,h,t.shouldUseNativeValidation))[U],g([U]),ue(Le),X&&(ge?Me=!1:d.isValid&&(Me=await k(n,!0)));X&&(J._f.deps&&q(J._f.deps),P(U,Me,ge,ot))}},N=(F,z)=>{if(ye(r.errors,z)&&F.focus)return F.focus(),1},q=async(F,z={})=>{let U,X;const J=Hr(F);if(t.resolver){const Q=await $(lt(F)?F:J);U=Ir(Q),X=F?!J.some(ue=>ye(Q,ue)):U}else F?(X=(await Promise.all(J.map(async Q=>{const ue=ye(n,Q);return await k(ue&&ue._f?{[Q]:ue}:ue)}))).every(Boolean),!(!X&&!r.isValid)&&x()):X=U=await k(n);return f.state.next({...!vo(F)||d.isValid&&U!==r.isValid?{}:{name:F},...t.resolver||!F?{isValid:U}:{},errors:r.errors}),z.shouldFocus&&!X&&fl(n,N,F?J:s.mount),X},K=F=>{const z={...o,...i.mount?a:{}};return lt(F)?z:vo(F)?ye(z,F):F.map(U=>ye(z,U))},W=(F,z)=>({invalid:!!ye((z||r).errors,F),isDirty:!!ye((z||r).dirtyFields,F),isTouched:!!ye((z||r).touchedFields,F),isValidating:!!ye((z||r).validatingFields,F),error:ye((z||r).errors,F)}),le=F=>{F&&Hr(F).forEach(z=>At(r.errors,z)),f.state.next({errors:F?r.errors:{}})},Y=(F,z,U)=>{const X=(ye(n,F,{_f:{}})._f||{}).ref;rt(r.errors,F,{...z,ref:X}),f.state.next({name:F,errors:r.errors,isValid:!1}),U&&U.shouldFocus&&X&&X.focus&&X.focus()},G=(F,z)=>Ea(F)?f.values.subscribe({next:U=>F(I(void 0,z),U)}):I(F,z,!0),ne=(F,z={})=>{for(const U of F?Hr(F):s.mount)s.mount.delete(U),s.array.delete(U),z.keepValue||(At(n,U),At(a,U)),!z.keepError&&At(r.errors,U),!z.keepDirty&&At(r.dirtyFields,U),!z.keepTouched&&At(r.touchedFields,U),!z.keepIsValidating&&At(r.validatingFields,U),!t.shouldUnregister&&!z.keepDefaultValue&&At(o,U);f.values.next({values:{...a}}),f.state.next({...r,...z.keepDirty?{isDirty:j()}:{}}),!z.keepIsValid&&x()},ve=({disabled:F,name:z,field:U,fields:X,value:J})=>{if(Un(F)){const Q=F?void 0:lt(J)?Dy(U?U._f:ye(X,z)._f):J;rt(a,z,Q),S(z,Q,!1,!1,!0)}},ie=(F,z={})=>{let U=ye(n,F);const X=Un(z.disabled);return rt(n,F,{...U||{},_f:{...U&&U._f?U._f:{ref:{name:F}},name:F,mount:!0,...z}}),s.mount.add(F),U?ve({field:U,disabled:z.disabled,name:F,value:z.value}):O(F,!0,z.value),{...X?{disabled:z.disabled}:{},...t.progressive?{required:!!z.required,min:Wu(z.min),max:Wu(z.max),minLength:Wu(z.minLength),maxLength:Wu(z.maxLength),pattern:Wu(z.pattern)}:{},name:F,onChange:M,onBlur:M,ref:J=>{if(J){ie(F,z),U=ye(n,F);const Q=lt(J.value)&&J.querySelectorAll&&J.querySelectorAll("input,select,textarea")[0]||J,ue=tte(Q),ge=U._f.refs||[];if(ue?ge.find(Me=>Me===Q):Q===U._f.ref)return;rt(n,F,{_f:{...U._f,...ue?{refs:[...ge.filter(Ly),Q,...Array.isArray(ye(o,F))?[{}]:[]],ref:{type:Q.type,name:F}}:{ref:Q}}}),O(F,!1,void 0,Q)}else U=ye(n,F,{}),U._f&&(U._f.mount=!1),(t.shouldUnregister||z.shouldUnregister)&&!(yM(s.array,F)&&i.action)&&s.unMount.add(F)}}},re=()=>t.shouldFocusError&&fl(n,N,s.mount),oe=F=>{Un(F)&&(f.state.next({disabled:F}),fl(n,(z,U)=>{let X=F;const J=ye(n,U);J&&Un(J._f.disabled)&&(X||(X=J._f.disabled)),z.disabled=X},0,!1))},Z=(F,z)=>async U=>{let X;U&&(U.preventDefault&&U.preventDefault(),U.persist&&U.persist());let J=Vt(a);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:Q,values:ue}=await E();r.errors=Q,J=ue}else await k(n);if(At(r.errors,"root"),Ir(r.errors)){f.state.next({errors:{}});try{await F(J,U)}catch(Q){X=Q}}else z&&await z({...r.errors},U),re(),setTimeout(re);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ir(r.errors)&&!X,submitCount:r.submitCount+1,errors:r.errors}),X)throw X},ee=(F,z={})=>{ye(n,F)&&(lt(z.defaultValue)?B(F,Vt(ye(o,F))):(B(F,z.defaultValue),rt(o,F,Vt(z.defaultValue))),z.keepTouched||At(r.touchedFields,F),z.keepDirty||(At(r.dirtyFields,F),r.isDirty=z.defaultValue?j(F,Vt(ye(o,F))):j()),z.keepError||(At(r.errors,F),d.isValid&&x()),f.state.next({...r}))},H=(F,z={})=>{const U=F?Vt(F):o,X=Vt(U),J=Ir(F),Q=J?o:X;if(z.keepDefaultValues||(o=U),!z.keepValues){if(z.keepDirtyValues)for(const ue of s.mount)ye(r.dirtyFields,ue)?rt(Q,ue,ye(a,ue)):B(ue,ye(Q,ue));else{if(Mw&<(F))for(const ue of s.mount){const ge=ye(n,ue);if(ge&&ge._f){const Me=Array.isArray(ge._f.refs)?ge._f.refs[0]:ge._f.ref;if(Vv(Me)){const Le=Me.closest("form");if(Le){Le.reset();break}}}}n={}}a=e.shouldUnregister?z.keepDefaultValues?Vt(o):{}:Vt(Q),f.array.next({values:{...Q}}),f.values.next({values:{...Q}})}s={mount:z.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!d.isValid||!!z.keepIsValid||!!z.keepDirtyValues,i.watch=!!e.shouldUnregister,f.state.next({submitCount:z.keepSubmitCount?r.submitCount:0,isDirty:J?!1:z.keepDirty?r.isDirty:!!(z.keepDefaultValues&&!Pi(F,o)),isSubmitted:z.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:J?[]:z.keepDirtyValues?z.keepDefaultValues&&a?zf(o,a):r.dirtyFields:z.keepDefaultValues&&F?zf(o,F):{},touchedFields:z.keepTouched?r.touchedFields:{},errors:z.keepErrors?r.errors:{},isSubmitSuccessful:z.keepIsSubmitSuccessful?r.isSubmitSuccessful:!1,isSubmitting:!1})},fe=(F,z)=>H(Ea(F)?F(a):F,z);return{control:{register:ie,unregister:ne,getFieldState:W,handleSubmit:Z,setError:Y,_executeSchema:E,_getWatch:I,_getDirty:j,_updateValid:x,_removeUnmounted:T,_updateFieldArray:m,_updateDisabledField:ve,_getFieldArray:A,_reset:H,_resetDefaultValues:()=>Ea(t.defaultValues)&&t.defaultValues().then(F=>{fe(F,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:F=>{r={...r,...F}},_disableForm:oe,_subjects:f,_proxyFormState:d,_setErrors:C,get _fields(){return n},get _formValues(){return a},get _state(){return i},set _state(F){i=F},get _defaultValues(){return o},get _names(){return s},set _names(F){s=F},get _formState(){return r},set _formState(F){r=F},get _options(){return t},set _options(F){t={...t,...F}}},trigger:q,register:ie,handleSubmit:Z,watch:G,setValue:B,getValues:K,reset:fe,resetField:ee,clearErrors:le,unregister:ne,setError:Y,setFocus:(F,z={})=>{const U=ye(n,F),X=U&&U._f;if(X){const J=X.refs?X.refs[0]:X.ref;J.focus&&(J.focus(),z.shouldSelect&&J.select())}},getFieldState:W}}function AM(e={}){const t=te.useRef(),r=te.useRef(),[n,o]=te.useState({isDirty:!1,isValidating:!1,isLoading:Ea(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Ea(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...ste(e),formState:n});const a=t.current.control;return a._options=e,kh({subject:a._subjects.state,next:i=>{wM(i,a._proxyFormState,a._updateFormState,!0)&&o({...a._formState})}}),te.useEffect(()=>a._disableForm(e.disabled),[a,e.disabled]),te.useEffect(()=>{if(a._proxyFormState.isDirty){const i=a._getDirty();i!==n.isDirty&&a._subjects.state.next({isDirty:i})}},[a,n.isDirty]),te.useEffect(()=>{e.values&&!Pi(e.values,r.current)?(a._reset(e.values,a._options.resetOptions),r.current=e.values,o(i=>({...i}))):a._resetDefaultValues()},[e.values,a]),te.useEffect(()=>{e.errors&&a._setErrors(e.errors)},[e.errors,a]),te.useEffect(()=>{a._state.mount||(a._updateValid(),a._state.mount=!0),a._state.watch&&(a._state.watch=!1,a._subjects.state.next({...a._formState})),a._removeUnmounted()}),te.useEffect(()=>{e.shouldUnregister&&a._subjects.values.next({values:a._getWatch()})},[e.shouldUnregister,a]),t.current.formState=xM(n,a),t.current}var lte=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0?P(E):E},{updatedAt:S}),o.setQueriesData([m,"getManyReference"],function(E){return E&&E.data?{data:P(E.data),total:E.total}:E},{updatedAt:S})},b=ru(function(g){var m=g===void 0?{}:g,y=m.resource,C=y===void 0?e:y,O=m.id,S=O===void 0?p.current.id:O,P=m.data,E=P===void 0?p.current.data:P,$=m.meta,k=$===void 0?p.current.meta:$,T=m.previousData,j=T===void 0?p.current.previousData:T;return n.update(C,{id:S,data:E,previousData:j,meta:k}).then(function(I){var A=I.data;return A})},ft(ft({},d),{onMutate:function(g){return B$(void 0,void 0,void 0,function(){var m;return z$(this,function(y){switch(y.label){case 0:return d.onMutate?[4,d.onMutate(g)]:[3,2];case 1:return m=y.sent()||{},[2,ft({snapshot:v.current},m)];case 2:return[2,{snapshot:v.current}]}})})},onError:function(g,m,y){if(m===void 0&&(m={}),(f.current==="optimistic"||f.current==="undoable")&&y.snapshot.forEach(function(C){var O=C[0],S=C[1];o.setQueryData(O,S)}),d.onError)return d.onError(g,m,y)},onSuccess:function(g,m,y){if(m===void 0&&(m={}),f.current==="pessimistic"){var C=m.resource,O=C===void 0?e:C,S=m.id,P=S===void 0?a:S;h({resource:O,id:P,data:g}),d.onSuccess&&d.onSuccess(g,m,y)}},onSettled:function(g,m,y,C){if(y===void 0&&(y={}),(f.current==="optimistic"||f.current==="undoable")&&C.snapshot.forEach(function(O){var S=O[0];o.invalidateQueries(S)}),d.onSettled)return d.onSettled(g,m,y,C)}})),x=function(g,m,y){return g===void 0&&(g=e),m===void 0&&(m={}),y===void 0&&(y={}),B$(void 0,void 0,void 0,function(){var C,O,S,P,E,$,k,T,j,I,A,D,L,B;return z$(this,function(M){switch(M.label){case 0:return C=y.mutationMode,O=y.returnPromise,S=O===void 0?d.returnPromise:O,P=y.onSuccess,E=y.onSettled,$=y.onError,p.current=t,C&&(f.current=C),S&&f.current!=="pessimistic"&&console.warn("The returnPromise parameter can only be used if the mutationMode is set to pessimistic"),f.current==="pessimistic"?S?[2,b.mutateAsync(ft({resource:g},m),{onSuccess:P,onSettled:E,onError:$})]:[2,b.mutate(ft({resource:g},m),{onSuccess:P,onSettled:E,onError:$})]:(k=m.id,T=k===void 0?a:k,j=m.data,I=j===void 0?i:j,A=m.meta,D=A===void 0?s:A,L=o.getQueryData([g,"getOne",{id:String(T),meta:D}]),B=[[g,"getOne",{id:String(T),meta:D}],[g,"getList"],[g,"getInfiniteList"],[g,"getMany"],[g,"getManyReference"]],v.current=B.reduce(function(N,q){return N.concat(o.getQueriesData(q))},[]),[4,Promise.all(v.current.map(function(N){var q=N[0];return o.cancelQueries(q)}))]);case 1:return M.sent(),h({resource:g,id:T,data:I}),P&&setTimeout(function(){return P(ft(ft({},L),I),ft({resource:g},m),{snapshot:v.current})},0),d.onSuccess&&setTimeout(function(){return d.onSuccess(ft(ft({},L),I),ft({resource:g},m),{snapshot:v.current})},0),f.current==="optimistic"?[2,b.mutate(ft({resource:g},m),{onSettled:E,onError:$})]:(ud.once("end",function(N){var q=N.isUndo;q?v.current.forEach(function(K){var W=K[0],le=K[1];o.setQueryData(W,le)}):b.mutate(ft({resource:g},m),{onSettled:E,onError:$})}),[2])}})})};return[Zi(x),b]},Tr=function(){return Tr=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0?O(S):S},{updatedAt:C}),o.setQueriesData([g,"getManyReference"],function(S){if(!S||!S.data)return S;var P=O(S.data),E=P.length0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0?C(O):O},{updatedAt:y}),o.setQueriesData([x,"getManyReference"],function(O){if(!O||!O.data)return O;var S=C(O.data),P=S.length0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0||h.customRoutesWithLayout.length>0||h.customRoutesWithoutLayout.length>0?"ready":"empty"),v&&f(v),[2]})})};r||p()},[e,n,r,s,t,i,d]),[a,l]},Rte=function(e){var t=c.useState(e),r=t[0],n=t[1],o=c.useCallback(function(a){n(function(i){return{customRoutesWithLayout:i.customRoutesWithLayout.concat(a.customRoutesWithLayout),customRoutesWithoutLayout:i.customRoutesWithoutLayout.concat(a.customRoutesWithoutLayout),resources:i.resources.concat(a.resources)}})},[]);return[r,n,o]},kte=function(e,t){var r=LM(),n=r.register,o=r.unregister;c.useEffect(function(){return e.forEach(function(a){if(typeof a.type.registerResource=="function"){var i=a.type.registerResource(a.props,t);n(i)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")}),function(){e.forEach(function(a){if(typeof a.type.registerResource=="function"){var i=a.type.registerResource(a.props,t);o(i)}else throw new Error("When using a custom Resource element, it must have a static registerResource method accepting its props and returning a ResourceDefinition")})}},[t,n,e,o])},Tte=function(e){var t=e.children,r=e.resources,n=e.customRoutesWithLayout,o=e.customRoutesWithoutLayout;return DM(t)?"loading":r.length>0||n.length>0||o.length>0?"ready":"empty"},DM=function(e){var t=Array.isArray(e)?e:[e],r=t.filter(function(n){return typeof n=="function"});if(r.length>1)throw new Error("You can only provide one function child to AdminRouter");return r.length===0?null:r[0]},sc=function(e){var t=[],r=[],n=[];return c.Children.forEach(e,function(o){if(c.isValidElement(o)){if(o.type===c.Fragment){var a=sc(o.props.children);t.push.apply(t,a.customRoutesWithLayout),r.push.apply(r,a.customRoutesWithoutLayout),n.push.apply(n,a.resources)}if(o.type.raName==="CustomRoutes"){var i=o;i.props.noLayout?r.push(i.props.children):t.push(i.props.children)}else o.type.raName==="Resource"&&n.push(o)}}),{customRoutesWithLayout:t,customRoutesWithoutLayout:r,resources:n}},jte=function(e){RQ();var t=ei(),r=Pte(e.children),n=r.customRoutesWithLayout,o=r.customRoutesWithoutLayout,a=r.status,i=r.resources,s=e.layout,u=e.catchAll,l=e.dashboard,d=e.loading,f=e.menu,p=e.requireAuth,v=e.ready,h=e.title,b=c.useState(!p),x=b[0],g=b[1],m=oF();return c.useEffect(function(){p&&m().then(function(){g(!0)}).catch(function(){})},[m,p]),a==="empty"?c.createElement(v,null):a==="loading"||!x?c.createElement(Ai,null,o,c.createElement(ar,{path:"*",element:c.createElement("div",{style:{height:"100vh"}},c.createElement(d,null))})):c.createElement(Ai,null,o,c.createElement(ar,{path:"/*",element:c.createElement("div",null,c.createElement(s,{dashboard:l,menu:f,title:h},c.createElement(Ai,null,n,c.Children.map(i,function(y){return c.createElement(ar,{key:y.props.name,path:"".concat(y.props.name,"/*"),element:y})}),c.createElement(ar,{path:"/",element:l?c.createElement(fre,{authParams:Ite,component:l}):i.length>0?c.createElement(y9,{to:t({resource:i[0].props.name,type:"list"})}):null}),c.createElement(ar,{path:"*",element:c.createElement(u,{title:h})}))))}))},Ite={params:{route:"dashboard"}},Ate=function(e){var t=e.children;return c.createElement(c.Fragment,null,t)},Mte=function(e){var t=e.catchAll,r=t===void 0?X$:t,n=e.children,o=e.dashboard,a=e.disableTelemetry,i=a===void 0?!1:a,s=e.layout,u=s===void 0?Ate:s,l=e.loading,d=l===void 0?X$:l,f=e.loginPage,p=f===void 0?!1:f,v=e.authCallbackPage,h=v===void 0?!1:v,b=e.menu,x=e.ready,g=x===void 0?Jte:x,m=e.title,y=m===void 0?"React Admin":m,C=e.requireAuth,O=C===void 0?!1:C;return c.useEffect(function(){if(!(i||typeof window>"u"||typeof window.location>"u"||typeof Image>"u")){var S=new Image;S.src="https://react-admin-telemetry.marmelab.com/react-admin-telemetry?domain=".concat(window.location.hostname)}},[i]),c.createElement(Ai,null,p!==!1&&p!==!0?c.createElement(ar,{path:"/login",element:Q$(p)}):null,h!==!1&&h!==!0?c.createElement(ar,{path:"/auth-callback",element:Q$(h)}):null,c.createElement(ar,{path:"/*",element:c.createElement(jte,{catchAll:r,dashboard:o,layout:u,loading:d,menu:b,requireAuth:O,ready:g,title:y},n)}))},Q$=function(e){return c.isValidElement(e)?e:c.createElement(e)},X$=function(){return null},BM=function(e){return null};BM.raName="CustomRoutes";var zM={exports:{}},it={};/** @license React v17.0.2 + * 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 Th=60103,jh=60106,Bd=60107,zd=60108,Vd=60114,Ud=60109,Wd=60110,qd=60112,Hd=60113,Bw=60120,Gd=60115,Kd=60116,VM=60121,UM=60122,WM=60117,qM=60129,HM=60131;if(typeof Symbol=="function"&&Symbol.for){var er=Symbol.for;Th=er("react.element"),jh=er("react.portal"),Bd=er("react.fragment"),zd=er("react.strict_mode"),Vd=er("react.profiler"),Ud=er("react.provider"),Wd=er("react.context"),qd=er("react.forward_ref"),Hd=er("react.suspense"),Bw=er("react.suspense_list"),Gd=er("react.memo"),Kd=er("react.lazy"),VM=er("react.block"),UM=er("react.server.block"),WM=er("react.fundamental"),qM=er("react.debug_trace_mode"),HM=er("react.legacy_hidden")}function to(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Th:switch(e=e.type,e){case Bd:case Vd:case zd:case Hd:case Bw:return e;default:switch(e=e&&e.$$typeof,e){case Wd:case qd:case Kd:case Gd:case Ud:return e;default:return t}}case jh:return t}}}var Fte=Ud,Nte=Th,Lte=qd,Dte=Bd,Bte=Kd,zte=Gd,Vte=jh,Ute=Vd,Wte=zd,qte=Hd;it.ContextConsumer=Wd;it.ContextProvider=Fte;it.Element=Nte;it.ForwardRef=Lte;it.Fragment=Dte;it.Lazy=Bte;it.Memo=zte;it.Portal=Vte;it.Profiler=Ute;it.StrictMode=Wte;it.Suspense=qte;it.isAsyncMode=function(){return!1};it.isConcurrentMode=function(){return!1};it.isContextConsumer=function(e){return to(e)===Wd};it.isContextProvider=function(e){return to(e)===Ud};it.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Th};it.isForwardRef=function(e){return to(e)===qd};it.isFragment=function(e){return to(e)===Bd};it.isLazy=function(e){return to(e)===Kd};it.isMemo=function(e){return to(e)===Gd};it.isPortal=function(e){return to(e)===jh};it.isProfiler=function(e){return to(e)===Vd};it.isStrictMode=function(e){return to(e)===zd};it.isSuspense=function(e){return to(e)===Hd};it.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Bd||e===Vd||e===qM||e===zd||e===Hd||e===Bw||e===HM||typeof e=="object"&&e!==null&&(e.$$typeof===Kd||e.$$typeof===Gd||e.$$typeof===Ud||e.$$typeof===Wd||e.$$typeof===qd||e.$$typeof===WM||e.$$typeof===VM||e[0]===UM)};it.typeOf=to;zM.exports=it;var GM=zM.exports,KM=c.createContext(void 0),cs=function(e){var t=e.children,r=e.value;return r?c.createElement(KM.Provider,{value:r},t):t},zt=function(e){var t=e.create,r=e.edit,n=e.list,o=e.name,a=e.show;return c.createElement(cs,{value:o},c.createElement(Ai,null,t&&c.createElement(ar,{path:"create/*",element:Vf(t)}),a&&c.createElement(ar,{path:":id/show/*",element:Vf(a)}),r&&c.createElement(ar,{path:":id/*",element:Vf(r)}),n&&c.createElement(ar,{path:"/*",element:Vf(n)}),e.children))},Vf=function(e){return c.isValidElement(e)?e:GM.isValidElementType(e)?c.createElement(e,null):null};zt.raName="Resource";zt.registerResource=function(e){var t=e.create,r=e.edit,n=e.icon,o=e.list,a=e.name,i=e.options,s=e.show,u=e.recordRepresentation,l=e.hasCreate,d=e.hasEdit,f=e.hasShow;return{name:a,options:i,hasList:!!o,hasCreate:!!t||!!l,hasEdit:!!r||!!d,hasShow:!!s||!!f,icon:n,recordRepresentation:u}};var QM={exports:{}};/*! + * inflection + * Copyright(c) 2011 Ben Lin + * MIT Licensed + * + * @fileoverview + * A port of inflection-js to node.js module. + */(function(e,t){(function(r,n){e.exports=n()})(wa,function(){var r=["accommodation","adulthood","advertising","advice","aggression","aid","air","aircraft","alcohol","anger","applause","arithmetic","assistance","athletics","bacon","baggage","beef","biology","blood","botany","bread","butter","carbon","cardboard","cash","chalk","chaos","chess","crossroads","countryside","dancing","deer","dignity","dirt","dust","economics","education","electricity","engineering","enjoyment","envy","equipment","ethics","evidence","evolution","fame","fiction","flour","flu","food","fuel","fun","furniture","gallows","garbage","garlic","genetics","gold","golf","gossip","grammar","gratitude","grief","guilt","gymnastics","happiness","hardware","harm","hate","hatred","health","heat","help","homework","honesty","honey","hospitality","housework","humour","hunger","hydrogen","ice","importance","inflation","information","innocence","iron","irony","jam","jewelry","judo","karate","knowledge","lack","laughter","lava","leather","leisure","lightning","linguine","linguini","linguistics","literature","litter","livestock","logic","loneliness","luck","luggage","macaroni","machinery","magic","management","mankind","marble","mathematics","mayonnaise","measles","methane","milk","minus","money","mud","music","mumps","nature","news","nitrogen","nonsense","nurture","nutrition","obedience","obesity","oxygen","pasta","patience","physics","poetry","pollution","poverty","pride","psychology","publicity","punctuation","quartz","racism","relaxation","reliability","research","respect","revenge","rice","rubbish","rum","safety","scenery","seafood","seaside","series","shame","sheep","shopping","sleep","smoke","smoking","snow","soap","software","soil","spaghetti","species","steam","stuff","stupidity","sunshine","symmetry","tennis","thirst","thunder","timber","traffic","transportation","trust","underwear","unemployment","unity","validity","veal","vegetation","vegetarianism","vengeance","violence","vitality","warmth","wealth","weather","welfare","wheat","wildlife","wisdom","yoga","zinc","zoology"],n={plural:{men:new RegExp("^(m|wom)en$","gi"),people:new RegExp("(pe)ople$","gi"),children:new RegExp("(child)ren$","gi"),tia:new RegExp("([ti])a$","gi"),analyses:new RegExp("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$","gi"),hives:new RegExp("(hi|ti)ves$","gi"),curves:new RegExp("(curve)s$","gi"),lrves:new RegExp("([lr])ves$","gi"),aves:new RegExp("([a])ves$","gi"),foves:new RegExp("([^fo])ves$","gi"),movies:new RegExp("(m)ovies$","gi"),aeiouyies:new RegExp("([^aeiouy]|qu)ies$","gi"),series:new RegExp("(s)eries$","gi"),xes:new RegExp("(x|ch|ss|sh)es$","gi"),mice:new RegExp("([m|l])ice$","gi"),buses:new RegExp("(bus)es$","gi"),oes:new RegExp("(o)es$","gi"),shoes:new RegExp("(shoe)s$","gi"),crises:new RegExp("(cris|ax|test)es$","gi"),octopi:new RegExp("(octop|vir)i$","gi"),aliases:new RegExp("(alias|canvas|status|campus)es$","gi"),summonses:new RegExp("^(summons)es$","gi"),oxen:new RegExp("^(ox)en","gi"),matrices:new RegExp("(matr)ices$","gi"),vertices:new RegExp("(vert|ind)ices$","gi"),feet:new RegExp("^feet$","gi"),teeth:new RegExp("^teeth$","gi"),geese:new RegExp("^geese$","gi"),quizzes:new RegExp("(quiz)zes$","gi"),whereases:new RegExp("^(whereas)es$","gi"),criteria:new RegExp("^(criteri)a$","gi"),genera:new RegExp("^genera$","gi"),ss:new RegExp("ss$","gi"),s:new RegExp("s$","gi")},singular:{man:new RegExp("^(m|wom)an$","gi"),person:new RegExp("(pe)rson$","gi"),child:new RegExp("(child)$","gi"),ox:new RegExp("^(ox)$","gi"),axis:new RegExp("(ax|test)is$","gi"),octopus:new RegExp("(octop|vir)us$","gi"),alias:new RegExp("(alias|status|canvas|campus)$","gi"),summons:new RegExp("^(summons)$","gi"),bus:new RegExp("(bu)s$","gi"),buffalo:new RegExp("(buffal|tomat|potat)o$","gi"),tium:new RegExp("([ti])um$","gi"),sis:new RegExp("sis$","gi"),ffe:new RegExp("(?:([^f])fe|([lr])f)$","gi"),hive:new RegExp("(hi|ti)ve$","gi"),aeiouyy:new RegExp("([^aeiouy]|qu)y$","gi"),x:new RegExp("(x|ch|ss|sh)$","gi"),matrix:new RegExp("(matr)ix$","gi"),vertex:new RegExp("(vert|ind)ex$","gi"),mouse:new RegExp("([m|l])ouse$","gi"),foot:new RegExp("^foot$","gi"),tooth:new RegExp("^tooth$","gi"),goose:new RegExp("^goose$","gi"),quiz:new RegExp("(quiz)$","gi"),whereas:new RegExp("^(whereas)$","gi"),criterion:new RegExp("^(criteri)on$","gi"),genus:new RegExp("^genus$","gi"),s:new RegExp("s$","gi"),common:new RegExp("$","gi")}},o=[[n.plural.men],[n.plural.people],[n.plural.children],[n.plural.tia],[n.plural.analyses],[n.plural.hives],[n.plural.curves],[n.plural.lrves],[n.plural.foves],[n.plural.aeiouyies],[n.plural.series],[n.plural.movies],[n.plural.xes],[n.plural.mice],[n.plural.buses],[n.plural.oes],[n.plural.shoes],[n.plural.crises],[n.plural.octopi],[n.plural.aliases],[n.plural.summonses],[n.plural.oxen],[n.plural.matrices],[n.plural.feet],[n.plural.teeth],[n.plural.geese],[n.plural.quizzes],[n.plural.whereases],[n.plural.criteria],[n.plural.genera],[n.singular.man,"$1en"],[n.singular.person,"$1ople"],[n.singular.child,"$1ren"],[n.singular.ox,"$1en"],[n.singular.axis,"$1es"],[n.singular.octopus,"$1i"],[n.singular.alias,"$1es"],[n.singular.summons,"$1es"],[n.singular.bus,"$1ses"],[n.singular.buffalo,"$1oes"],[n.singular.tium,"$1a"],[n.singular.sis,"ses"],[n.singular.ffe,"$1$2ves"],[n.singular.hive,"$1ves"],[n.singular.aeiouyy,"$1ies"],[n.singular.matrix,"$1ices"],[n.singular.vertex,"$1ices"],[n.singular.x,"$1es"],[n.singular.mouse,"$1ice"],[n.singular.foot,"feet"],[n.singular.tooth,"teeth"],[n.singular.goose,"geese"],[n.singular.quiz,"$1zes"],[n.singular.whereas,"$1es"],[n.singular.criterion,"$1a"],[n.singular.genus,"genera"],[n.singular.s,"s"],[n.singular.common,"s"]],a=[[n.singular.man],[n.singular.person],[n.singular.child],[n.singular.ox],[n.singular.axis],[n.singular.octopus],[n.singular.alias],[n.singular.summons],[n.singular.bus],[n.singular.buffalo],[n.singular.tium],[n.singular.sis],[n.singular.ffe],[n.singular.hive],[n.singular.aeiouyy],[n.singular.x],[n.singular.matrix],[n.singular.mouse],[n.singular.foot],[n.singular.tooth],[n.singular.goose],[n.singular.quiz],[n.singular.whereas],[n.singular.criterion],[n.singular.genus],[n.plural.men,"$1an"],[n.plural.people,"$1rson"],[n.plural.children,"$1"],[n.plural.genera,"genus"],[n.plural.criteria,"$1on"],[n.plural.tia,"$1um"],[n.plural.analyses,"$1$2sis"],[n.plural.hives,"$1ve"],[n.plural.curves,"$1"],[n.plural.lrves,"$1f"],[n.plural.aves,"$1ve"],[n.plural.foves,"$1fe"],[n.plural.movies,"$1ovie"],[n.plural.aeiouyies,"$1y"],[n.plural.series,"$1eries"],[n.plural.xes,"$1"],[n.plural.mice,"$1ouse"],[n.plural.buses,"$1"],[n.plural.oes,"$1"],[n.plural.shoes,"$1"],[n.plural.crises,"$1is"],[n.plural.octopi,"$1us"],[n.plural.aliases,"$1"],[n.plural.summonses,"$1"],[n.plural.oxen,"$1"],[n.plural.matrices,"$1ix"],[n.plural.vertices,"$1ex"],[n.plural.feet,"foot"],[n.plural.teeth,"tooth"],[n.plural.geese,"goose"],[n.plural.quizzes,"$1"],[n.plural.whereases,"$1"],[n.plural.ss,"ss"],[n.plural.s,""]],i=["and","or","nor","a","an","the","so","but","to","of","at","by","from","into","on","onto","off","out","in","over","with","for"],s=new RegExp("(_ids|_id)$","g"),u=new RegExp("_","g"),l=new RegExp("[ _]","g"),d=new RegExp("([A-Z])","g"),f=new RegExp("^_"),p={_apply_rules:function(v,h,b,x){if(x)v=x;else{var g=p.indexOf(b,v.toLowerCase())>-1;if(!g){for(var m=0,y=h.length;m1?p._apply_rules(v,o,r,x):p._apply_rules(v,a,r,b)},camelize:function(v,h){for(var b=v.split("/"),x=0,g=b.length,m,y,C,O;x1?Ba.pluralize(r):Ba.singularize(r))});return a}},Ke=function(e){var t=c.useContext(KM);return e&&e.resource||t},Zo=function(e){var t=Ke(e),r=Ih(),n=e||{},o=n.hasCreate,a=n.hasEdit,i=n.hasList,s=n.hasShow,u=n.recordRepresentation,l=c.useMemo(function(){return ls({},{hasCreate:o,hasEdit:a,hasList:i,hasShow:s,recordRepresentation:u},r[t])},[t,r,o,a,i,s,u]);return l},Ah=function(e){var t=Zo({resource:e}).recordRepresentation;return c.useCallback(function(r){return r?typeof t=="function"?t(r):typeof t=="string"?De(r,t):c.isValidElement(t)?t:"#".concat(r.id):""},[t])},he=function(){var e=Ow(),t=c.useCallback(function(r,n){return e.translate(r,n)},[e]);return e?t:Gte},Gte=function(e){return e},XM=function(){var e=he(),t=ZM(),r=Ke();return c.useCallback(function(n){var o=n.source,a=n.label,i=n.resource;return a===!1||a===""?null:a&&typeof a!="string"?a:e.apply(void 0,Qte({label:a,prefix:t,resource:i,resourceFromContext:r,source:o}))},[t,r,e])},Kte="en",YM=function(e){var t=e.source,r=e.label,n=e.resource,o=e.isRequired,a=XM();if(r===!0)throw new Error("Label parameter must be a string, a ReactElement or false");return r===!1||r===""?null:r&&typeof r!="string"?r:c.createElement("span",null,a({label:r,resource:n,source:t}),o&&c.createElement("span",{"aria-hidden":"true"}," *"))};YM.displayName="FieldTitle";const Sn=c.memo(YM),Qte=function(e){if(!e)return[""];var t=e.label,r=e.prefix,n=e.resource,o=e.resourceFromContext,a=e.source;if(typeof t<"u")return[t,{_:t}];if(typeof a>"u")return[""];var i=Xte(a),s=i.sourceWithoutDigits,u=i.sourceSuffix,l=Ba.transform(u.replace(/\./g," "),["underscore","humanize"]);return n?["resources.".concat(n,".fields.").concat(s),{_:l}]:r?["".concat(r,".").concat(s),{_:l}]:["resources.".concat(o,".fields.").concat(s),{_:l}]};var Xte=function(e){var t=e.replace(/\.\d+\./g,"."),r=e.split("."),n;r.forEach(function(a,i){Yte(a)&&(n=i)});var o=n!=null?r.slice(n+1).join("."):e;return{sourceWithoutDigits:t,sourceSuffix:o}},Yte=function(e){for(var t=e.length-1;t>=0;t--){var r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0};const Mh=function(e,t,r){if(e[t]&&!GM.isValidElementType(e[t]))return new Error("Invalid prop '".concat(t,"' supplied to '").concat(r,"': the prop is not a valid React component"))},Jte=function(){return c.createElement("span",null)},zw=function(e,t){};var Zte=typeof window<"u"?c.useLayoutEffect:c.useEffect,Zi=function(e){var t=c.useRef(function(){throw new Error("Cannot call an event handler while rendering.")});return Zte(function(){t.current=e}),c.useCallback(function(){for(var r=[],n=0;n"u"?t:p)});return function(){return f()}},[e,a,t,n,s]);var l=Zi(function(d,f){var p=typeof d=="function"?d(s):d;o(e,typeof p>"u"?typeof f>"u"?t:f:p)});return[s,l]},ere=function(e){var t=yh().removeItem;return c.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},tre=function(e){var t=yh().removeItems;return c.useCallback(function(r){if(typeof r>"u"&&typeof e>"u")throw new Error("You must provide a key to remove an item from the store");return t(r??e)},[t,e])},rre=function(){var e=yh().reset;return e},Qd=function(){var e=Qo(),t=Rn(),r=rre(),n=Co(),o=c.useRef(n),a=Ht(),i=c.useRef(a),s=Za(),u=so("".concat(s,"/").concat(sh.loginUrl));c.useEffect(function(){i.current=a,o.current=n},[a,n]);var l=c.useCallback(function(f,p,v){return f===void 0&&(f={}),p===void 0&&(p=u),v===void 0&&(v=!0),e.logout(f).then(function(h){if(h===!1||p===!1){r(),t.clear();return}var b=h||p;if(b!=null&&b.startsWith("http"))return r(),t.clear(),window.location.href=b,b;var x=b.split("?"),g={pathname:x[0]},m={};return v&&i.current&&i.current.pathname&&(m={state:{nextPathname:i.current.pathname,nextSearch:i.current.search}}),x[1]&&(g.search=x[1]),o.current(g,m),r(),t.clear(),h})},[e,r,u,t]),d=c.useCallback(function(f){return n({pathname:u},{state:{nextPathname:a&&a.pathname}}),r(),t.clear(),Promise.resolve()},[r,a,n,u,t]);return e?l:d},K0=function(){return K0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||!e.message?t:e.message},Q0=function(){return Q0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"),gu(t);var i=rF(t).permissions;if(o)return c.createElement(o,Cc({permissions:i},a));if(n)return n(Cc({permissions:i},a));if(r)return r(Cc({permissions:i},a))};const fre=dre;var nF=function(){var e=Qo(),t=Ht(),r=t.state,n=Co(),o=Za(),a=mA().resetNotifications,i=r&&r.nextPathname,s=r&&r.nextSearch,u=so("".concat(o,"/").concat(sh.afterLoginUrl)),l=c.useCallback(function(f,p){return f===void 0&&(f={}),e.login(f).then(function(v){if(a(),v&&v.hasOwnProperty("redirectTo"))v&&n(v.redirectTo);else{var h=p||i+s||u;n(h)}return v})},[e,n,i,s,a,u]),d=c.useCallback(function(f,p){return a(),n(u),Promise.resolve()},[n,a,u]);return e?l:d},pre="AUTH_LOGIN",vre="AUTH_CHECK",mre="AUTH_ERROR",hre="AUTH_LOGOUT",gre="AUTH_GET_PERMISSIONS";const yre=function(e){var t=function(){for(var r=[],n=0;n"u"||!e.message?t:e.message},X0=function(){return X0=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]? If you don't want to use Configurable, you can use the useStore hook instead.");return mr(r&&e?"".concat(r,".").concat(e):r??e,t)},Vw=function(){return c.useContext(FM)},Rre=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]a.current&&t&&(a.current=n,Object.keys(o).length>0&&i("ra.message.invalid_form",{type:"error"}))},[o,n,i,t])},Gre=function(e,t,r){var n=c.useContext(Yo).navigator,o=Ht(),a=he(),i=mu(r?{control:r}:void 0),s=i.isSubmitSuccessful,u=i.isSubmitting,l=i.dirtyFields,d=Object.keys(l).length>0,f=c.useRef(t||o.pathname);c.useEffect(function(){if(!(!e||!d)&&n.block){var p=n.block(function(v){var h=v.location.pathname.startsWith(f.current),b=v.location.pathname.startsWith("".concat(f.current,"/show")),x=h&&!b;!u&&(x||s||window.confirm(a("ra.message.unsaved_changes")))?(p(),v.retry()):u&&setTimeout(function(){v.retry()},100)});return p}},[e,o,n,d,u,s,a])},Kre=function(e,t){t===void 0&&(t={});var r={};return Object.keys(e).forEach(function(n){e[n]==null||e[n]===""?t.hasOwnProperty(n)&&(r[n]=null):r[n]=e[n]}),r},t1=function(){return t1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ti=function(e){return typeof e>"u"||e===null||e===""||Array.isArray(e)&&e.length===0};function ene(e){return e?e.hasOwnProperty("message"):!1}var ri=function(e,t,r,n){return typeof e=="function"?e({args:t,value:r,values:n}):t?{message:e,args:t}:e},ni=function(e){return XI(e,function(){for(var t=[],r=0;re?ri(t,{max:e},r,n):void 0}});ni(function(e,t){return t===void 0&&(t="ra.validation.minValue"),function(r,n){return!ti(r)&&re?ri(t,{max:e},r,n):void 0}}),pF=ni(function(e){return e===void 0&&(e="ra.validation.number"),function(t,r){return!ti(t)&&isNaN(Number(t))?ri(e,void 0,t,r):void 0}}),Uw=XI(function(e,t){return t===void 0&&(t="ra.validation.regex"),function(r,n){return!ti(r)&&typeof r=="string"&&!e.test(r)?ri(t,{pattern:e},r,n):void 0}},function(e,t){return e.toString()+t});ni(function(e){return e===void 0&&(e="ra.validation.email"),Uw(Zre,e)});var ane=function(e){var t=e.args;return{message:"ra.validation.oneOf",args:t}};ni(function(e,t){return t===void 0&&(t=ane),function(r,n){return!ti(r)&&e.indexOf(r)===-1?ri(t,{list:e},r,n):void 0}});var ine=function(e){return e&&e.isRequired?!0:Array.isArray(e)?!!e.find(function(t){return t.isRequired}):!1},vF=c.createContext(void 0),Nh=function(){var e=c.useContext(lF);return e},sne=function(e){var t=e.children,r=e.name,n=Nh();return c.useEffect(function(){if(!n||!n.registerGroup||!n.unregisterGroup){console.warn("The FormGroupContextProvider can only be used inside a FormContext such as provided by the SimpleForm and TabbedForm components");return}return n.registerGroup(r),function(){n.unregisterGroup(r)}},[n,r]),c.createElement(vF.Provider,{value:r},t)},mF=function(e){var t=e.inputProps,r=e.isArrayInput,n=e.fieldArrayInputControl,o=t.defaultValue,a=t.source,i=Be(t),s=jn(),u=s.getValues,l=s.resetField,d=s.getFieldState,f=s.formState,p=s.reset,v=De(i,a),h=De(u(),a),b=d(a,f).isDirty;c.useEffect(function(){if(!(o==null||h!=null||v!=null||b)){var x=a.split(".").some(function(y){return lne.test(y)});if(x){var g=a.split(".").slice(0,-1).join("."),m=De(u(),g);if(m==null)return}if(r){if(!n)throw new Error("useApplyInputDefaultValues: No fieldArrayInputControl passed in props for array input usage");n.replace(o),p({},{keepValues:!0});return}l(a,{defaultValue:o})}})},lne=/^\d+$/,hF=function(e){var t=e.optionText,r=t===void 0?"name":t,n=e.optionValue,o=n===void 0?"id":n,a=e.disableValue,i=a===void 0?"disabled":a,s=e.translateChoice,u=s===void 0?!0:s,l=he(),d=c.useCallback(function(v){if(c.isValidElement(r))return c.createElement(Ha,{value:v},r);var h=typeof r=="function"?r(v):De(v,r);return c.isValidElement(h)?h:u?l(String(h),{_:h}):String(h)},[r,l,u]),f=c.useCallback(function(v){return De(v,o)},[o]),p=c.useCallback(function(v){return De(v,i)},[i]);return{getChoiceText:d,getChoiceValue:f,getDisableValue:p}},une=function(e){var t=mu(),r=t.dirtyFields,n=t.touchedFields,o=t.errors,a=Nh(),i=c.useState({errors:void 0,isDirty:!1,isTouched:!1,isValid:!0}),s=i[0],u=i[1],l=c.useCallback(function(){var d=a.getGroupFields(e),f=d.map(function(v){return{name:v,error:De(o,v,void 0),isDirty:De(r,v,!1)!==!1,isValid:De(o,v,void 0)==null,isTouched:De(n,v,!1)!==!1}}).filter(function(v){return v!=null}),p=cne(f);u(function(v){return bn(v,p)?v:p})},[r,o,n,a,e]);return c.useEffect(function(){l()},[JSON.stringify({dirtyFields:r,errors:o,touchedFields:n}),l]),c.useEffect(function(){return a.subscribe(e,function(){l()})},[a,e,l]),s},cne=function(e){return e.reduce(function(t,r){var n=t.errors||{};r.error&&(n[r.name]=r.error);var o={isDirty:t.isDirty||r.isDirty,errors:n,isTouched:t.isTouched||r.isTouched,isValid:t.isValid&&r.isValid};return o},{isDirty:!1,errors:void 0,isValid:!0,isTouched:!1})},gF=function(){var e=c.useContext(vF);return e},n1=function(){return n1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=0)&&(r[o]=e[o]);return r}function yF(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Rne=/^((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|disableRemotePlayback|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)-.*))$/,kne=yF(function(e){return Rne.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Tne(e){if(e.sheet)return e.sheet;for(var t=0;t0?or(yu,--zr):0,Fl--,Ft===10&&(Fl=1,Dh--),Ft}function Xr(){return Ft=zr2||pd(Ft)>3?"":" "}function Wne(e,t){for(;--t&&Xr()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return Yd(e,Ep()+(t<6&&go()==32&&Xr()==32))}function a1(e){for(;Xr();)switch(Ft){case e:return zr;case 34:case 39:e!==34&&e!==39&&a1(Ft);break;case 40:e===41&&a1(e);break;case 92:Xr();break}return zr}function qne(e,t){for(;Xr()&&e+Ft!==57;)if(e+Ft===84&&go()===47)break;return"/*"+Yd(t,zr-1)+"*"+Lh(e===47?e:Xr())}function Hne(e){for(;!pd(go());)Xr();return Yd(e,zr)}function Gne(e){return OF($p("",null,null,null,[""],e=SF(e),0,[0],e))}function $p(e,t,r,n,o,a,i,s,u){for(var l=0,d=0,f=i,p=0,v=0,h=0,b=1,x=1,g=1,m=0,y="",C=o,O=a,S=n,P=y;x;)switch(h=m,m=Xr()){case 40:if(h!=108&&or(P,f-1)==58){o1(P+=Xe(Pp(m),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:P+=Pp(m);break;case 9:case 10:case 13:case 32:P+=Une(h);break;case 92:P+=Wne(Ep()-1,7);continue;case 47:switch(go()){case 42:case 47:Uf(Kne(qne(Xr(),Ep()),t,r),u);break;default:P+="/"}break;case 123*b:s[l++]=lo(P)*g;case 125*b:case 59:case 0:switch(m){case 0:case 125:x=0;case 59+d:g==-1&&(P=Xe(P,/\f/g,"")),v>0&&lo(P)-f&&Uf(v>32?t2(P+";",n,r,f-1):t2(Xe(P," ","")+";",n,r,f-2),u);break;case 59:P+=";";default:if(Uf(S=e2(P,t,r,l,d,o,s,y,C=[],O=[],f),a),m===123)if(d===0)$p(P,t,S,S,C,a,f,s,O);else switch(p===99&&or(P,3)===110?100:p){case 100:case 108:case 109:case 115:$p(e,S,S,n&&Uf(e2(e,S,S,0,0,o,s,y,o,C=[],f),O),o,O,f,s,n?C:O);break;default:$p(P,S,S,S,[""],O,0,s,O)}}l=d=v=0,b=g=1,y=P="",f=i;break;case 58:f=1+lo(P),v=h;default:if(b<1){if(m==123)--b;else if(m==125&&b++==0&&Vne()==125)continue}switch(P+=Lh(m),m*b){case 38:g=d>0?1:(P+="\f",-1);break;case 44:s[l++]=(lo(P)-1)*g,g=1;break;case 64:go()===45&&(P+=Pp(Xr())),p=go(),d=f=lo(y=P+=Hne(Ep())),m++;break;case 45:h===45&&lo(P)==2&&(b=0)}}return a}function e2(e,t,r,n,o,a,i,s,u,l,d){for(var f=o-1,p=o===0?a:[""],v=Hw(p),h=0,b=0,x=0;h0?p[g]+" "+m:Xe(m,/&\f/g,p[g])))&&(u[x++]=y);return Bh(e,t,r,o===0?Ww:s,u,l,d)}function Kne(e,t,r){return Bh(e,t,r,bF,Lh(zne()),fd(e,2,-2),0)}function t2(e,t,r,n){return Bh(e,t,r,qw,fd(e,0,n),fd(e,n+1,-1),n)}function pl(e,t){for(var r="",n=Hw(e),o=0;o6)switch(or(e,t+1)){case 109:if(or(e,t+4)!==45)break;case 102:return Xe(e,/(.+:)(.+)-([^]+)/,"$1"+Qe+"$2-$3$1"+Xv+(or(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~o1(e,"stretch")?CF(Xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(or(e,t+1)!==115)break;case 6444:switch(or(e,lo(e)-3-(~o1(e,"!important")&&10))){case 107:return Xe(e,":",":"+Qe)+e;case 101:return Xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qe+(or(e,14)===45?"inline-":"")+"box$3$1"+Qe+"$2$3$1"+dr+"$2box$3")+e}break;case 5936:switch(or(e,t+11)){case 114:return Qe+e+dr+Xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qe+e+dr+Xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qe+e+dr+Xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qe+e+dr+e+e}return e}var noe=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case qw:t.return=CF(t.value,t.length);break;case _F:return pl([Hu(t,{value:Xe(t.value,"@","@"+Qe)})],o);case Ww:if(t.length)return Bne(t.props,function(a){switch(Dne(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return pl([Hu(t,{props:[Xe(a,/:(read-\w+)/,":"+Xv+"$1")]})],o);case"::placeholder":return pl([Hu(t,{props:[Xe(a,/:(plac\w+)/,":"+Qe+"input-$1")]}),Hu(t,{props:[Xe(a,/:(plac\w+)/,":"+Xv+"$1")]}),Hu(t,{props:[Xe(a,/:(plac\w+)/,dr+"input-$1")]})],o)}return""})}},ooe=[noe],EF=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var x=b.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var o=t.stylisPlugins||ooe,a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var x=b.getAttribute("data-emotion").split(" "),g=1;g=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 hoe={animationIterationCount:1,aspectRatio: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},goe=/[A-Z]|^ms/g,yoe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,IF=function(t){return t.charCodeAt(1)===45},n2=function(t){return t!=null&&typeof t!="boolean"},Vy=yF(function(e){return IF(e)?e:e.replace(goe,"-$&").toLowerCase()}),o2=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(yoe,function(n,o,a){return uo={name:o,styles:a,next:uo},o})}return hoe[t]!==1&&!IF(t)&&typeof r=="number"&&r!==0?r+"px":r};function vd(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return uo={name:r.name,styles:r.styles,next:uo},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)uo={name:n.name,styles:n.styles,next:uo},n=n.next;var o=r.styles+";";return o}return boe(e,t,r)}case"function":{if(e!==void 0){var a=uo,i=r(e);return uo=a,vd(e,t,i)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function boe(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o96?Ooe:Coe},u2=function(t,r,n){var o;if(r){var a=r.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Eoe=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return TF(r,n,o),xoe(function(){return jF(r,n,o)}),null},Poe=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,a,i;r!==void 0&&(a=r.label,i=r.target);var s=u2(t,r,n),u=s||l2(o),l=!u("as");return function(){var d=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{f.push(d[0][0]);for(var p=d.length,v=1;vt(Moe(o)?r:o):t;return _.jsx(Soe,{styles:n})}function Yw(e,t){return i1(e,t)}const VF=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Foe=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:zF,StyledEngineProvider:Aoe,ThemeContext:Jd,css:ds,default:Yw,internal_processStyles:VF,keyframes:ea},Symbol.toStringTag,{value:"Module"}));function Fo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function UF(e){if(!Fo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=UF(e[r])}),t}function Cr(e,t,r={clone:!0}){const n=r.clone?R({},e):e;return Fo(e)&&Fo(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Fo(t[o])&&o in e&&Fo(e[o])?n[o]=Cr(e[o],t[o],r):r.clone?n[o]=Fo(t[o])?UF(t[o]):t[o]:n[o]=t[o])}),n}const Noe=Object.freeze(Object.defineProperty({__proto__:null,default:Cr,isPlainObject:Fo},Symbol.toStringTag,{value:"Module"})),Loe=["values","unit","step"],Doe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>R({},r,{[n.key]:n.val}),{})};function WF(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=se(e,Loe),a=Doe(t),i=Object.keys(a);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-n/100}${r})`}function l(p,v){const h=i.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${r}) and (max-width:${(h!==-1&&typeof t[i[h]]=="number"?t[i[h]]:v)-n/100}${r})`}function d(p){return i.indexOf(p)+1`@media (min-width:${Jw[e]}px)`};function Xn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||c2;return t.reduce((i,s,u)=>(i[a.up(a.keys[u])]=r(t[u]),i),{})}if(typeof t=="object"){const a=n.breakpoints||c2;return Object.keys(t).reduce((i,s)=>{if(Object.keys(a.values||Jw).indexOf(s)!==-1){const u=a.up(s);i[u]=r(t[s],s)}else{const u=s;i[u]=t[u]}return i},{})}return r(t)}function qF(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const a=e.up(o);return n[a]={},n},{}))||{}}function HF(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Voe(e,...t){const r=qF(e),n=[r,...t].reduce((o,a)=>Cr(o,a),{});return HF(Object.keys(r),n)}function Uoe(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,a)=>{a{e[o]!=null&&(r[o]=!0)}),r}function Wy({values:e,breakpoints:t,base:r}){const n=r||Uoe(e,t),o=Object.keys(n);if(o.length===0)return e;let a;return o.reduce((i,s,u)=>(Array.isArray(e)?(i[s]=e[u]!=null?e[u]:e[a],a=u):typeof e=="object"?(i[s]=e[s]!=null?e[s]:e[a],a=s):i[s]=e,i),{})}function ae(e){if(typeof e!="string")throw new Error(Ho(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Woe=Object.freeze(Object.defineProperty({__proto__:null,default:ae},Symbol.toStringTag,{value:"Module"}));function Nl(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Yv(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Nl(e,r)||n,t&&(o=t(o,n,e)),o}function kt(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],u=i.theme,l=Nl(u,n)||{};return Xn(i,s,f=>{let p=Yv(l,o,f);return f===p&&typeof f=="string"&&(p=Yv(l,o,`${t}${f==="default"?"":ae(f)}`,f)),r===!1?p:{[r]:p}})};return a.propTypes={},a.filterProps=[t],a}function qoe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Hoe={m:"margin",p:"padding"},Goe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},d2={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Koe=qoe(e=>{if(e.length>2)if(d2[e])e=d2[e];else return[e];const[t,r]=e.split(""),n=Hoe[t],o=Goe[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),Zw=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],eS=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Zw,...eS];function Zd(e,t,r,n){var o;const a=(o=Nl(e,t,!1))!=null?o:r;return typeof a=="number"?i=>typeof i=="string"?i:a*i:Array.isArray(a)?i=>typeof i=="string"?i:a[i]:typeof a=="function"?a:()=>{}}function tS(e){return Zd(e,"spacing",8)}function ts(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Qoe(e,t){return r=>e.reduce((n,o)=>(n[o]=ts(t,r),n),{})}function Xoe(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Koe(r),a=Qoe(o,n),i=e[r];return Xn(e,i,a)}function GF(e,t){const r=tS(e.theme);return Object.keys(e).map(n=>Xoe(e,t,n,r)).reduce(Ec,{})}function St(e){return GF(e,Zw)}St.propTypes={};St.filterProps=Zw;function Ot(e){return GF(e,eS)}Ot.propTypes={};Ot.filterProps=eS;function Yoe(e=8){if(e.mui)return e;const t=tS({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return r.mui=!0,r}function Yh(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?Ec(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function vn(e){return typeof e!="number"?e:`${e}px solid`}function In(e,t){return kt({prop:e,themeKey:"borders",transform:t})}const Joe=In("border",vn),Zoe=In("borderTop",vn),eae=In("borderRight",vn),tae=In("borderBottom",vn),rae=In("borderLeft",vn),nae=In("borderColor"),oae=In("borderTopColor"),aae=In("borderRightColor"),iae=In("borderBottomColor"),sae=In("borderLeftColor"),lae=In("outline",vn),uae=In("outlineColor"),Jh=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zd(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ts(t,n)});return Xn(e,e.borderRadius,r)}return null};Jh.propTypes={};Jh.filterProps=["borderRadius"];Yh(Joe,Zoe,eae,tae,rae,nae,oae,aae,iae,sae,Jh,lae,uae);const Zh=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zd(e.theme,"spacing",8),r=n=>({gap:ts(t,n)});return Xn(e,e.gap,r)}return null};Zh.propTypes={};Zh.filterProps=["gap"];const eg=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zd(e.theme,"spacing",8),r=n=>({columnGap:ts(t,n)});return Xn(e,e.columnGap,r)}return null};eg.propTypes={};eg.filterProps=["columnGap"];const tg=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zd(e.theme,"spacing",8),r=n=>({rowGap:ts(t,n)});return Xn(e,e.rowGap,r)}return null};tg.propTypes={};tg.filterProps=["rowGap"];const cae=kt({prop:"gridColumn"}),dae=kt({prop:"gridRow"}),fae=kt({prop:"gridAutoFlow"}),pae=kt({prop:"gridAutoColumns"}),vae=kt({prop:"gridAutoRows"}),mae=kt({prop:"gridTemplateColumns"}),hae=kt({prop:"gridTemplateRows"}),gae=kt({prop:"gridTemplateAreas"}),yae=kt({prop:"gridArea"});Yh(Zh,eg,tg,cae,dae,fae,pae,vae,mae,hae,gae,yae);function vl(e,t){return t==="grey"?t:e}const bae=kt({prop:"color",themeKey:"palette",transform:vl}),_ae=kt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:vl}),xae=kt({prop:"backgroundColor",themeKey:"palette",transform:vl});Yh(bae,_ae,xae);function Wr(e){return e<=1&&e!==0?`${e*100}%`:e}const wae=kt({prop:"width",transform:Wr}),rS=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Jw[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:Wr(r)}};return Xn(e,e.maxWidth,t)}return null};rS.filterProps=["maxWidth"];const Sae=kt({prop:"minWidth",transform:Wr}),Oae=kt({prop:"height",transform:Wr}),Cae=kt({prop:"maxHeight",transform:Wr}),Eae=kt({prop:"minHeight",transform:Wr});kt({prop:"size",cssProperty:"width",transform:Wr});kt({prop:"size",cssProperty:"height",transform:Wr});const Pae=kt({prop:"boxSizing"});Yh(wae,rS,Sae,Oae,Cae,Eae,Pae);const $ae={border:{themeKey:"borders",transform:vn},borderTop:{themeKey:"borders",transform:vn},borderRight:{themeKey:"borders",transform:vn},borderBottom:{themeKey:"borders",transform:vn},borderLeft:{themeKey:"borders",transform:vn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:vn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Jh},color:{themeKey:"palette",transform:vl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:vl},backgroundColor:{themeKey:"palette",transform:vl},p:{style:Ot},pt:{style:Ot},pr:{style:Ot},pb:{style:Ot},pl:{style:Ot},px:{style:Ot},py:{style:Ot},padding:{style:Ot},paddingTop:{style:Ot},paddingRight:{style:Ot},paddingBottom:{style:Ot},paddingLeft:{style:Ot},paddingX:{style:Ot},paddingY:{style:Ot},paddingInline:{style:Ot},paddingInlineStart:{style:Ot},paddingInlineEnd:{style:Ot},paddingBlock:{style:Ot},paddingBlockStart:{style:Ot},paddingBlockEnd:{style:Ot},m:{style:St},mt:{style:St},mr:{style:St},mb:{style:St},ml:{style:St},mx:{style:St},my:{style:St},margin:{style:St},marginTop:{style:St},marginRight:{style:St},marginBottom:{style:St},marginLeft:{style:St},marginX:{style:St},marginY:{style:St},marginInline:{style:St},marginInlineStart:{style:St},marginInlineEnd:{style:St},marginBlock:{style:St},marginBlockStart:{style:St},marginBlockEnd:{style:St},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Zh},rowGap:{style:tg},columnGap:{style:eg},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wr},maxWidth:{style:rS},minWidth:{transform:Wr},height:{transform:Wr},maxHeight:{transform:Wr},minHeight:{transform:Wr},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ef=$ae;function Rae(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function kae(e,t){return typeof e=="function"?e(t):e}function KF(){function e(r,n,o,a){const i={[r]:n,theme:o},s=a[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:l,transform:d,style:f}=s;if(n==null)return null;if(l==="typography"&&n==="inherit")return{[r]:n};const p=Nl(o,l)||{};return f?f(i):Xn(i,n,h=>{let b=Yv(p,d,h);return h===b&&typeof h=="string"&&(b=Yv(p,d,`${r}${h==="default"?"":ae(h)}`,h)),u===!1?b:{[u]:b}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=(n=a.unstable_sxConfig)!=null?n:ef;function s(u){let l=u;if(typeof u=="function")l=u(a);else if(typeof u!="object")return u;if(!l)return null;const d=qF(a.breakpoints),f=Object.keys(d);let p=d;return Object.keys(l).forEach(v=>{const h=kae(l[v],a);if(h!=null)if(typeof h=="object")if(i[v])p=Ec(p,e(v,h,a,i));else{const b=Xn({theme:a},h,x=>({[v]:x}));Rae(b,h)?p[v]=t({sx:h,theme:a}):p=Ec(p,b)}else p=Ec(p,e(v,h,a,i))}),HF(f,p)}return Array.isArray(o)?o.map(s):s(o)}return t}const QF=KF();QF.filterProps=["sx"];const tf=QF;function XF(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const Tae=["breakpoints","palette","spacing","shape"];function bu(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=se(e,Tae),s=WF(r),u=Yoe(o);let l=Cr({breakpoints:s,direction:"ltr",components:{},palette:R({mode:"light"},n),spacing:u,shape:R({},zoe,a)},i);return l.applyStyles=XF,l=t.reduce((d,f)=>Cr(d,f),l),l.unstable_sxConfig=R({},ef,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(f){return tf({sx:f,theme:this})},l}const jae=Object.freeze(Object.defineProperty({__proto__:null,default:bu,private_createBreakpoints:WF,unstable_applyStyles:XF},Symbol.toStringTag,{value:"Module"}));function Iae(e){return Object.keys(e).length===0}function nS(e=null){const t=c.useContext(Jd);return!t||Iae(t)?e:t}const Aae=bu();function rg(e=Aae){return nS(e)}function Mae({styles:e,themeId:t,defaultTheme:r={}}){const n=rg(r),o=typeof e=="function"?e(t&&n[t]||n):e;return _.jsx(zF,{styles:o})}const Fae=["sx"],Nae=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:ef;return Object.keys(e).forEach(a=>{o[a]?n.systemProps[a]=e[a]:n.otherProps[a]=e[a]}),n};function ng(e){const{sx:t}=e,r=se(e,Fae),{systemProps:n,otherProps:o}=Nae(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return Fo(s)?R({},n,s):n}:a=R({},n,t),R({},o,{sx:a})}const Lae=Object.freeze(Object.defineProperty({__proto__:null,default:tf,extendSxProp:ng,unstable_createStyleFunctionSx:KF,unstable_defaultSxConfig:ef},Symbol.toStringTag,{value:"Module"})),f2=e=>e,Dae=()=>{let e=f2;return{configure(t){e=t},generate(t){return e(t)},reset(){e=f2}}},Bae=Dae(),oS=Bae;function YF(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(tf);return c.forwardRef(function(u,l){const d=rg(r),f=ng(u),{className:p,component:v="div"}=f,h=se(f,zae);return _.jsx(a,R({as:v,ref:l,className:ce(p,o?o(n):n),theme:t&&d[t]||d},h))})}const JF={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function we(e,t,r="Mui"){const n=JF[t];return n?`${r}-${n}`:`${oS.generate(e)}-${t}`}function Ce(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=we(e,o,r)}),n}var ZF={exports:{}},et={};/** + * @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 aS=Symbol.for("react.element"),iS=Symbol.for("react.portal"),og=Symbol.for("react.fragment"),ag=Symbol.for("react.strict_mode"),ig=Symbol.for("react.profiler"),sg=Symbol.for("react.provider"),lg=Symbol.for("react.context"),Uae=Symbol.for("react.server_context"),ug=Symbol.for("react.forward_ref"),cg=Symbol.for("react.suspense"),dg=Symbol.for("react.suspense_list"),fg=Symbol.for("react.memo"),pg=Symbol.for("react.lazy"),Wae=Symbol.for("react.offscreen"),eN;eN=Symbol.for("react.module.reference");function An(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case aS:switch(e=e.type,e){case og:case ig:case ag:case cg:case dg:return e;default:switch(e=e&&e.$$typeof,e){case Uae:case lg:case ug:case pg:case fg:case sg:return e;default:return t}}case iS:return t}}}et.ContextConsumer=lg;et.ContextProvider=sg;et.Element=aS;et.ForwardRef=ug;et.Fragment=og;et.Lazy=pg;et.Memo=fg;et.Portal=iS;et.Profiler=ig;et.StrictMode=ag;et.Suspense=cg;et.SuspenseList=dg;et.isAsyncMode=function(){return!1};et.isConcurrentMode=function(){return!1};et.isContextConsumer=function(e){return An(e)===lg};et.isContextProvider=function(e){return An(e)===sg};et.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aS};et.isForwardRef=function(e){return An(e)===ug};et.isFragment=function(e){return An(e)===og};et.isLazy=function(e){return An(e)===pg};et.isMemo=function(e){return An(e)===fg};et.isPortal=function(e){return An(e)===iS};et.isProfiler=function(e){return An(e)===ig};et.isStrictMode=function(e){return An(e)===ag};et.isSuspense=function(e){return An(e)===cg};et.isSuspenseList=function(e){return An(e)===dg};et.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===og||e===ig||e===ag||e===cg||e===dg||e===Wae||typeof e=="object"&&e!==null&&(e.$$typeof===pg||e.$$typeof===fg||e.$$typeof===sg||e.$$typeof===lg||e.$$typeof===ug||e.$$typeof===eN||e.getModuleId!==void 0)};et.typeOf=An;ZF.exports=et;var md=ZF.exports;const qae=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function tN(e){const t=`${e}`.match(qae);return t&&t[1]||""}function rN(e,t=""){return e.displayName||e.name||tN(e)||t}function p2(e,t,r){const n=rN(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Hae(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return rN(e,"Component");if(typeof e=="object")switch(e.$$typeof){case md.ForwardRef:return p2(e,e.render,"ForwardRef");case md.Memo:return p2(e,e.type,"memo");default:return}}}const Gae=Object.freeze(Object.defineProperty({__proto__:null,default:Hae,getFunctionName:tN},Symbol.toStringTag,{value:"Module"})),Kae=["ownerState"],Qae=["variants"],Xae=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Yae(e){return Object.keys(e).length===0}function Jae(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Zae=bu(),eie=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Wf({defaultTheme:e,theme:t,themeId:r}){return Yae(t)?e:t[r]||t}function tie(e){return e?(t,r)=>r[e]:null}function Rp(e,t){let{ownerState:r}=t,n=se(t,Kae);const o=typeof e=="function"?e(R({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>Rp(a,R({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=se(o,Qae);return a.forEach(u=>{let l=!0;typeof u.props=="function"?l=u.props(R({ownerState:r},n,r)):Object.keys(u.props).forEach(d=>{(r==null?void 0:r[d])!==u.props[d]&&n[d]!==u.props[d]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof u.style=="function"?u.style(R({ownerState:r},n,r)):u.style))}),s}return o}function rie(e={}){const{themeId:t,defaultTheme:r=Zae,rootShouldForwardProp:n=qy,slotShouldForwardProp:o=qy}=e,a=i=>tf(R({},i,{theme:Wf(R({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{VF(i,O=>O.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:u,slot:l,skipVariantsResolver:d,skipSx:f,overridesResolver:p=tie(eie(l))}=s,v=se(s,Xae),h=d!==void 0?d:l&&l!=="Root"&&l!=="root"||!1,b=f||!1;let x,g=qy;l==="Root"||l==="root"?g=n:l?g=o:Jae(i)&&(g=void 0);const m=Yw(i,R({shouldForwardProp:g,label:x},v)),y=O=>typeof O=="function"&&O.__emotion_real!==O||Fo(O)?S=>Rp(O,R({},S,{theme:Wf({theme:S.theme,defaultTheme:r,themeId:t})})):O,C=(O,...S)=>{let P=y(O);const E=S?S.map(y):[];u&&p&&E.push(T=>{const j=Wf(R({},T,{defaultTheme:r,themeId:t}));if(!j.components||!j.components[u]||!j.components[u].styleOverrides)return null;const I=j.components[u].styleOverrides,A={};return Object.entries(I).forEach(([D,L])=>{A[D]=Rp(L,R({},T,{theme:j}))}),p(T,A)}),u&&!h&&E.push(T=>{var j;const I=Wf(R({},T,{defaultTheme:r,themeId:t})),A=I==null||(j=I.components)==null||(j=j[u])==null?void 0:j.variants;return Rp({variants:A},R({},T,{theme:I}))}),b||E.push(a);const $=E.length-S.length;if(Array.isArray(O)&&$>0){const T=new Array($).fill("");P=[...O,...T],P.raw=[...O.raw,...T]}const k=m(P,...E);return i.muiName&&(k.muiName=i.muiName),k};return m.withConfig&&(C.withConfig=m.withConfig),C}}const nN=rie();function sS(e,t){const r=R({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=R({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=R({},a),Object.keys(o).forEach(i=>{r[n][i]=sS(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function oN(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:sS(t.components[r].defaultProps,n)}function lS({props:e,name:t,defaultTheme:r,themeId:n}){let o=rg(r);return n&&(o=o[n]||o),oN({theme:o,name:t,props:e})}const Jr=typeof window<"u"?c.useLayoutEffect:c.useEffect;function nie(e,t,r,n,o){const[a,i]=c.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return Jr(()=>{let s=!0;if(!r)return;const u=r(e),l=()=>{s&&i(u.matches)};return l(),u.addListener(l),()=>{s=!1,u.removeListener(l)}},[e,r]),a}const aN=c.useSyncExternalStore;function oie(e,t,r,n,o){const a=c.useCallback(()=>t,[t]),i=c.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:d}=n(e);return()=>d}return a},[a,e,n,o,r]),[s,u]=c.useMemo(()=>{if(r===null)return[a,()=>()=>{}];const d=r(e);return[()=>d.matches,f=>(d.addListener(f),()=>{d.removeListener(f)})]},[a,r,e]);return aN(u,s,i)}function $r(e,t={}){const r=nS(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:a=n?window.matchMedia:null,ssrMatchMedia:i=null,noSsr:s=!1}=oN({name:"MuiUseMediaQuery",props:t,theme:r});let u=typeof e=="function"?e(r):e;return u=u.replace(/^@media( ?)/m,""),(aN!==void 0?oie:nie)(u,o,a,i,s)}function iN(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const aie=Object.freeze(Object.defineProperty({__proto__:null,default:iN},Symbol.toStringTag,{value:"Module"}));function sN(e,t=0,r=1){return iN(e,t,r)}function iie(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function uS(e){if(e.type)return e;if(e.charAt(0)==="#")return uS(iie(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(Ho(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Ho(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}function lN(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Ll(e,t){return e=uS(e),t=sN(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,lN(e)}function sie(e,t){if(e=uS(e),t=sN(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return lN(e)}function l1(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function _u(e,t=166){let r;function n(...o){const a=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function lie(e,t){return()=>null}function kp(e,t){var r,n;return c.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function Dt(e){return e&&e.ownerDocument||document}function On(e){return Dt(e).defaultView||window}function uie(e,t){return()=>null}function Jv(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let v2=0;function cie(e){const[t,r]=c.useState(e),n=e||t;return c.useEffect(()=>{t==null&&(v2+=1,r(`mui-${v2}`))},[t]),n}const m2=kb.useId;function rs(e){if(m2!==void 0){const t=m2();return e??t}return cie(e)}function die(e,t,r,n,o){return null}function Dl({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=c.useRef(e!==void 0),[a,i]=c.useState(t),s=o?e:a,u=c.useCallback(l=>{o||i(l)},[]);return[s,u]}function Sr(e){const t=c.useRef(e);return Jr(()=>{t.current=e}),c.useRef((...r)=>(0,t.current)(...r)).current}function xt(...e){return c.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{Jv(r,t)})},e)}const h2={};function fie(e,t){const r=c.useRef(h2);return r.current===h2&&(r.current=e(t)),r}const pie=[];function vie(e){c.useEffect(e,pie)}class rf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new rf}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function $i(){const e=fie(rf.create).current;return vie(e.disposeEffect),e}let vg=!0,u1=!1;const mie=new rf,hie={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 gie(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&hie[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function yie(e){e.metaKey||e.altKey||e.ctrlKey||(vg=!0)}function Hy(){vg=!1}function bie(){this.visibilityState==="hidden"&&u1&&(vg=!0)}function _ie(e){e.addEventListener("keydown",yie,!0),e.addEventListener("mousedown",Hy,!0),e.addEventListener("pointerdown",Hy,!0),e.addEventListener("touchstart",Hy,!0),e.addEventListener("visibilitychange",bie,!0)}function xie(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return vg||gie(t)}function mg(){const e=c.useCallback(o=>{o!=null&&_ie(o.ownerDocument)},[]),t=c.useRef(!1);function r(){return t.current?(u1=!0,mie.start(100,()=>{u1=!1}),t.current=!1,!0):!1}function n(o){return xie(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function uN(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Es;function cN(){if(Es)return Es;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Es="reverse",e.scrollLeft>0?Es="default":(e.scrollLeft=1,e.scrollLeft===0&&(Es="negative")),document.body.removeChild(e),Es}function wie(e,t){const r=e.scrollLeft;if(t!=="rtl")return r;switch(cN()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function _e(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const s=t(i);s!==""&&a.push(s),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}const Sie=c.createContext(null),dN=Sie;function fN(){return c.useContext(dN)}const Oie=typeof Symbol=="function"&&Symbol.for,Cie=Oie?Symbol.for("mui.nested"):"__THEME_NESTED__";function Eie(e,t){return typeof t=="function"?t(e):R({},e,t)}function Pie(e){const{children:t,theme:r}=e,n=fN(),o=c.useMemo(()=>{const a=n===null?r:Eie(n,r);return a!=null&&(a[Cie]=n!==null),a},[r,n]);return _.jsx(dN.Provider,{value:o,children:t})}const $ie=["value"],pN=c.createContext();function Rie(e){let{value:t}=e,r=se(e,$ie);return _.jsx(pN.Provider,R({value:t??!0},r))}const oi=()=>{const e=c.useContext(pN);return e??!1},g2={};function y2(e,t,r,n=!1){return c.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const a=r(o),i=e?R({},t,{[e]:a}):a;return n?()=>i:i}return e?R({},t,{[e]:r}):R({},t,r)},[e,t,r,n])}function kie(e){const{children:t,theme:r,themeId:n}=e,o=nS(g2),a=fN()||g2,i=y2(n,o,r),s=y2(n,a,r,!0),u=i.direction==="rtl";return _.jsx(Pie,{theme:s,children:_.jsx(Jd.Provider,{value:i,children:_.jsx(Rie,{value:u,children:t})})})}const Tie=["className","component","disableGutters","fixed","maxWidth","classes"],jie=bu(),Iie=nN("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${ae(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),Aie=e=>lS({props:e,name:"MuiContainer",defaultTheme:jie}),Mie=(e,t)=>{const r=u=>we(t,u),{classes:n,fixed:o,disableGutters:a,maxWidth:i}=e,s={root:["root",i&&`maxWidth${ae(String(i))}`,o&&"fixed",a&&"disableGutters"]};return _e(s,r,n)};function Fie(e={}){const{createStyledComponent:t=Iie,useThemeProps:r=Aie,componentName:n="MuiContainer"}=e,o=t(({theme:i,ownerState:s})=>R({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:i.spacing(2),paddingRight:i.spacing(2),[i.breakpoints.up("sm")]:{paddingLeft:i.spacing(3),paddingRight:i.spacing(3)}}),({theme:i,ownerState:s})=>s.fixed&&Object.keys(i.breakpoints.values).reduce((u,l)=>{const d=l,f=i.breakpoints.values[d];return f!==0&&(u[i.breakpoints.up(d)]={maxWidth:`${f}${i.breakpoints.unit}`}),u},{}),({theme:i,ownerState:s})=>R({},s.maxWidth==="xs"&&{[i.breakpoints.up("xs")]:{maxWidth:Math.max(i.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[i.breakpoints.up(s.maxWidth)]:{maxWidth:`${i.breakpoints.values[s.maxWidth]}${i.breakpoints.unit}`}}));return c.forwardRef(function(s,u){const l=r(s),{className:d,component:f="div",disableGutters:p=!1,fixed:v=!1,maxWidth:h="lg"}=l,b=se(l,Tie),x=R({},l,{component:f,disableGutters:p,fixed:v,maxWidth:h}),g=Mie(x,n);return _.jsx(o,R({as:f,ownerState:x,className:ce(g.root,d),ref:u},b))})}const Nie=["component","direction","spacing","divider","children","className","useFlexGap"],Lie=bu(),Die=nN("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Bie(e){return lS({props:e,name:"MuiStack",defaultTheme:Lie})}function zie(e,t){const r=c.Children.toArray(e).filter(Boolean);return r.reduce((n,o,a)=>(n.push(o),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Uie=({ownerState:e,theme:t})=>{let r=R({display:"flex",flexDirection:"column"},Xn({theme:t},Wy({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=tS(t),o=Object.keys(t.breakpoints.values).reduce((u,l)=>((typeof e.spacing=="object"&&e.spacing[l]!=null||typeof e.direction=="object"&&e.direction[l]!=null)&&(u[l]=!0),u),{}),a=Wy({values:e.direction,base:o}),i=Wy({values:e.spacing,base:o});typeof a=="object"&&Object.keys(a).forEach((u,l,d)=>{if(!a[u]){const p=l>0?a[d[l-1]]:"column";a[u]=p}}),r=Cr(r,Xn({theme:t},i,(u,l)=>e.useFlexGap?{gap:ts(n,u)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Vie(l?a[l]:e.direction)}`]:ts(n,u)}}))}return r=Voe(t.breakpoints,r),r};function Wie(e={}){const{createStyledComponent:t=Die,useThemeProps:r=Bie,componentName:n="MuiStack"}=e,o=()=>_e({root:["root"]},u=>we(n,u),{}),a=t(Uie);return c.forwardRef(function(u,l){const d=r(u),f=ng(d),{component:p="div",direction:v="column",spacing:h=0,divider:b,children:x,className:g,useFlexGap:m=!1}=f,y=se(f,Nie),C={direction:v,spacing:h,useFlexGap:m},O=o();return _.jsx(a,R({as:p,ownerState:C,ref:l,className:ce(O.root,g)},y,{children:b?zie(x,b):x}))})}function qie(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Tt={},vN={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vN);var Se=vN.exports;const Hie=So($ne),Gie=So(aie);var mN=Se;Object.defineProperty(Tt,"__esModule",{value:!0});var Ye=Tt.alpha=bN;Tt.blend=ase;Tt.colorChannel=void 0;var hg=Tt.darken=dS;Tt.decomposeColor=Cn;var Kie=Tt.emphasize=_N,Qie=Tt.getContrastRatio=ese;Tt.getLuminance=Zv;Tt.hexToRgb=hN;Tt.hslToRgb=yN;var gg=Tt.lighten=fS;Tt.private_safeAlpha=tse;Tt.private_safeColorChannel=void 0;Tt.private_safeDarken=rse;Tt.private_safeEmphasize=ose;Tt.private_safeLighten=nse;Tt.recomposeColor=xu;Tt.rgbToHex=Zie;var b2=mN(Hie),Xie=mN(Gie);function cS(e,t=0,r=1){return(0,Xie.default)(e,t,r)}function hN(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Yie(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(hN(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,b2.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,b2.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const gN=e=>{const t=Cn(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};Tt.colorChannel=gN;const Jie=(e,t)=>{try{return gN(e)}catch{return e}};Tt.private_safeColorChannel=Jie;function xu(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Zie(e){if(e.indexOf("#")===0)return e;const{values:t}=Cn(e);return`#${t.map((r,n)=>Yie(n===3?Math.round(255*r):r)).join("")}`}function yN(e){e=Cn(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(l,d=(l+r/30)%12)=>o-a*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const u=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),xu({type:s,values:u})}function Zv(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(yN(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ese(e,t){const r=Zv(e),n=Zv(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function bN(e,t){return e=Cn(e),t=cS(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,xu(e)}function tse(e,t,r){try{return bN(e,t)}catch{return e}}function dS(e,t){if(e=Cn(e),t=cS(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 r=0;r<3;r+=1)e.values[r]*=1-t;return xu(e)}function rse(e,t,r){try{return dS(e,t)}catch{return e}}function fS(e,t){if(e=Cn(e),t=cS(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return xu(e)}function nse(e,t,r){try{return fS(e,t)}catch{return e}}function _N(e,t=.15){return Zv(e)>.5?dS(e,t):fS(e,t)}function ose(e,t,r){try{return _N(e,t)}catch{return e}}function ase(e,t,r,n=1){const o=(u,l)=>Math.round((u**(1/n)*(1-r)+l**(1/n)*r)**n),a=Cn(e),i=Cn(t),s=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return xu({type:"rgb",values:s})}const ise=["mode","contrastThreshold","tonalOffset"],_2={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:dd.white,default:dd.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}},Gy={text:{primary:dd.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:dd.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 x2(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=gg(e.main,o):t==="dark"&&(e.dark=hg(e.main,a)))}function sse(e="light"){return e==="dark"?{main:Ss[200],light:Ss[50],dark:Ss[400]}:{main:Ss[700],light:Ss[400],dark:Ss[800]}}function lse(e="light"){return e==="dark"?{main:ws[200],light:ws[50],dark:ws[400]}:{main:ws[500],light:ws[300],dark:ws[700]}}function use(e="light"){return e==="dark"?{main:xs[500],light:xs[300],dark:xs[700]}:{main:xs[700],light:xs[400],dark:xs[800]}}function cse(e="light"){return e==="dark"?{main:Os[400],light:Os[300],dark:Os[700]}:{main:Os[700],light:Os[500],dark:Os[900]}}function dse(e="light"){return e==="dark"?{main:Cs[400],light:Cs[300],dark:Cs[700]}:{main:Cs[800],light:Cs[500],dark:Cs[900]}}function fse(e="light"){return e==="dark"?{main:qu[400],light:qu[300],dark:qu[700]}:{main:"#ed6c02",light:qu[500],dark:qu[900]}}function pse(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=se(e,ise),a=e.primary||sse(t),i=e.secondary||lse(t),s=e.error||use(t),u=e.info||cse(t),l=e.success||dse(t),d=e.warning||fse(t);function f(b){return Qie(b,Gy.text.primary)>=r?Gy.text.primary:_2.text.primary}const p=({color:b,name:x,mainShade:g=500,lightShade:m=300,darkShade:y=700})=>{if(b=R({},b),!b.main&&b[g]&&(b.main=b[g]),!b.hasOwnProperty("main"))throw new Error(Ho(11,x?` (${x})`:"",g));if(typeof b.main!="string")throw new Error(Ho(12,x?` (${x})`:"",JSON.stringify(b.main)));return x2(b,"light",m,n),x2(b,"dark",y,n),b.contrastText||(b.contrastText=f(b.main)),b},v={dark:Gy,light:_2};return Cr(R({common:R({},dd),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:l,name:"success"}),grey:Pne,contrastThreshold:r,getContrastText:f,augmentColor:p,tonalOffset:n},v[t]),o)}const vse=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function mse(e){return Math.round(e*1e5)/1e5}const w2={textTransform:"uppercase"},S2='"Roboto", "Helvetica", "Arial", sans-serif';function hse(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=S2,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:d,pxToRem:f}=r,p=se(r,vse),v=o/14,h=f||(g=>`${g/l*v}rem`),b=(g,m,y,C,O)=>R({fontFamily:n,fontWeight:g,fontSize:h(m),lineHeight:y},n===S2?{letterSpacing:`${mse(C/m)}em`}:{},O,d),x={h1:b(a,96,1.167,-1.5),h2:b(a,60,1.2,-.5),h3:b(i,48,1.167,0),h4:b(i,34,1.235,.25),h5:b(i,24,1.334,0),h6:b(s,20,1.6,.15),subtitle1:b(i,16,1.75,.15),subtitle2:b(s,14,1.57,.1),body1:b(i,16,1.5,.15),body2:b(i,14,1.43,.15),button:b(s,14,1.75,.4,w2),caption:b(i,12,1.66,.4),overline:b(i,12,2.66,1,w2),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr(R({htmlFontSize:l,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:u},x),p,{clone:!1})}const gse=.2,yse=.14,bse=.12;function mt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${gse})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${yse})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${bse})`].join(",")}const _se=["none",mt(0,2,1,-1,0,1,1,0,0,1,3,0),mt(0,3,1,-2,0,2,2,0,0,1,5,0),mt(0,3,3,-2,0,3,4,0,0,1,8,0),mt(0,2,4,-1,0,4,5,0,0,1,10,0),mt(0,3,5,-1,0,5,8,0,0,1,14,0),mt(0,3,5,-1,0,6,10,0,0,1,18,0),mt(0,4,5,-2,0,7,10,1,0,2,16,1),mt(0,5,5,-3,0,8,10,1,0,3,14,2),mt(0,5,6,-3,0,9,12,1,0,3,16,2),mt(0,6,6,-3,0,10,14,1,0,4,18,3),mt(0,6,7,-4,0,11,15,1,0,4,20,3),mt(0,7,8,-4,0,12,17,2,0,5,22,4),mt(0,7,8,-4,0,13,19,2,0,5,24,4),mt(0,7,9,-4,0,14,21,2,0,5,26,4),mt(0,8,9,-5,0,15,22,2,0,6,28,5),mt(0,8,10,-5,0,16,24,2,0,6,30,5),mt(0,8,11,-5,0,17,26,2,0,6,32,5),mt(0,9,11,-5,0,18,28,2,0,7,34,6),mt(0,9,12,-6,0,19,29,2,0,7,36,6),mt(0,10,13,-6,0,20,31,3,0,8,38,7),mt(0,10,13,-6,0,21,33,3,0,8,40,7),mt(0,10,14,-6,0,22,35,3,0,8,42,7),mt(0,11,14,-7,0,23,36,3,0,9,44,8),mt(0,11,15,-7,0,24,38,3,0,9,46,8)],xse=["duration","easing","delay"],wse={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)"},Sse={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function O2(e){return`${Math.round(e)}ms`}function Ose(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Cse(e){const t=R({},wse,e.easing),r=R({},Sse,e.duration);return R({getAutoHeightDuration:Ose,create:(o=["all"],a={})=>{const{duration:i=r.standard,easing:s=t.easeInOut,delay:u=0}=a;return se(a,xse),(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof i=="string"?i:O2(i)} ${s} ${typeof u=="string"?u:O2(u)}`).join(",")}},e,{easing:t,duration:r})}const Ese={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Pse=Ese,$se=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function em(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=se(e,$se);if(e.vars)throw new Error(Ho(18));const s=pse(n),u=bu(e);let l=Cr(u,{mixins:qie(u.breakpoints,r),palette:s,shadows:_se.slice(),typography:hse(s,a),transitions:Cse(o),zIndex:R({},Pse)});return l=Cr(l,i),l=t.reduce((d,f)=>Cr(d,f),l),l.unstable_sxConfig=R({},ef,i==null?void 0:i.unstable_sxConfig),l.unstable_sx=function(f){return tf({sx:f,theme:this})},l}const Rse=em(),yg=Rse;function Mn(){const e=rg(yg);return e[es]||e}function Ee({props:e,name:t}){return lS({props:e,name:t,defaultTheme:yg,themeId:es})}var nf={},Ky={exports:{}},C2;function kse(){return C2||(C2=1,function(e){function t(r,n){if(r==null)return{};var o={},a=Object.keys(r),i,s;for(s=0;s=0)&&(o[i]=r[i]);return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ky)),Ky.exports}const xN=So(Foe),Tse=So(Noe),jse=So(Woe),Ise=So(Gae),Ase=So(jae),Mse=So(Lae);var wu=Se;Object.defineProperty(nf,"__esModule",{value:!0});var Fse=nf.default=Qse;nf.shouldForwardProp=Tp;nf.systemDefaultTheme=void 0;var un=wu(NF()),c1=wu(kse()),E2=Use(xN),Nse=Tse;wu(jse);wu(Ise);var Lse=wu(Ase),Dse=wu(Mse);const Bse=["ownerState"],zse=["variants"],Vse=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function wN(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(wN=function(n){return n?r:t})(e)}function Use(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=wN(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function Wse(e){return Object.keys(e).length===0}function qse(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Hse=nf.systemDefaultTheme=(0,Lse.default)(),Gse=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function qf({defaultTheme:e,theme:t,themeId:r}){return Wse(t)?e:t[r]||t}function Kse(e){return e?(t,r)=>r[e]:null}function jp(e,t){let{ownerState:r}=t,n=(0,c1.default)(t,Bse);const o=typeof e=="function"?e((0,un.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>jp(a,(0,un.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let s=(0,c1.default)(o,zse);return a.forEach(u=>{let l=!0;typeof u.props=="function"?l=u.props((0,un.default)({ownerState:r},n,r)):Object.keys(u.props).forEach(d=>{(r==null?void 0:r[d])!==u.props[d]&&n[d]!==u.props[d]&&(l=!1)}),l&&(Array.isArray(s)||(s=[s]),s.push(typeof u.style=="function"?u.style((0,un.default)({ownerState:r},n,r)):u.style))}),s}return o}function Qse(e={}){const{themeId:t,defaultTheme:r=Hse,rootShouldForwardProp:n=Tp,slotShouldForwardProp:o=Tp}=e,a=i=>(0,Dse.default)((0,un.default)({},i,{theme:qf((0,un.default)({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{(0,E2.internal_processStyles)(i,O=>O.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:u,slot:l,skipVariantsResolver:d,skipSx:f,overridesResolver:p=Kse(Gse(l))}=s,v=(0,c1.default)(s,Vse),h=d!==void 0?d:l&&l!=="Root"&&l!=="root"||!1,b=f||!1;let x,g=Tp;l==="Root"||l==="root"?g=n:l?g=o:qse(i)&&(g=void 0);const m=(0,E2.default)(i,(0,un.default)({shouldForwardProp:g,label:x},v)),y=O=>typeof O=="function"&&O.__emotion_real!==O||(0,Nse.isPlainObject)(O)?S=>jp(O,(0,un.default)({},S,{theme:qf({theme:S.theme,defaultTheme:r,themeId:t})})):O,C=(O,...S)=>{let P=y(O);const E=S?S.map(y):[];u&&p&&E.push(T=>{const j=qf((0,un.default)({},T,{defaultTheme:r,themeId:t}));if(!j.components||!j.components[u]||!j.components[u].styleOverrides)return null;const I=j.components[u].styleOverrides,A={};return Object.entries(I).forEach(([D,L])=>{A[D]=jp(L,(0,un.default)({},T,{theme:j}))}),p(T,A)}),u&&!h&&E.push(T=>{var j;const I=qf((0,un.default)({},T,{defaultTheme:r,themeId:t})),A=I==null||(j=I.components)==null||(j=j[u])==null?void 0:j.variants;return jp({variants:A},(0,un.default)({},T,{theme:I}))}),b||E.push(a);const $=E.length-S.length;if(Array.isArray(O)&&$>0){const T=new Array($).fill("");P=[...O,...T],P.raw=[...O.raw,...T]}const k=m(P,...E);return i.muiName&&(k.muiName=i.muiName),k};return m.withConfig&&(C.withConfig=m.withConfig),C}}function SN(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Xse=e=>SN(e)&&e!=="classes",lr=Xse,V=Fse({themeId:es,defaultTheme:yg,rootShouldForwardProp:lr}),Yse=["theme"];function Jse(e){let{theme:t}=e,r=se(e,Yse);const n=t[es];return _.jsx(kie,R({},r,{themeId:n?es:void 0,theme:n||t}))}const P2=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Zse(e){return we("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ele=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],tle=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ae(t)}`,`fontSize${ae(r)}`]};return _e(o,Zse,n)},rle=V("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ae(r.color)}`],t[`fontSize${ae(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,a,i,s,u,l,d,f,p,v,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((a=e.typography)==null||(i=a.pxToRem)==null?void 0:i.call(a,20))||"1.25rem",medium:((s=e.typography)==null||(u=s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem",large:((l=e.typography)==null||(d=l.pxToRem)==null?void 0:d.call(l,35))||"2.1875rem"}[t.fontSize],color:(f=(p=(e.vars||e).palette)==null||(p=p[t.color])==null?void 0:p.main)!=null?f:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),d1=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:i="inherit",component:s="svg",fontSize:u="medium",htmlColor:l,inheritViewBox:d=!1,titleAccess:f,viewBox:p="0 0 24 24"}=n,v=se(n,ele),h=c.isValidElement(o)&&o.type==="svg",b=R({},n,{color:i,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:h}),x={};d||(x.viewBox=p);const g=tle(b);return _.jsxs(rle,R({as:s,className:ce(g.root,a),focusable:"false",color:l,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},x,v,h&&o.props,{ownerState:b,children:[h?o.props.children:o,f?_.jsx("title",{children:f}):null]}))});d1.muiName="SvgIcon";function nn(e,t){function r(n,o){return _.jsx(d1,R({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=d1.muiName,c.memo(c.forwardRef(r))}const nle={configure:e=>{oS.configure(e)}},ole=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ae,createChainedFunction:l1,createSvgIcon:nn,debounce:_u,deprecatedPropType:lie,isMuiElement:kp,ownerDocument:Dt,ownerWindow:On,requirePropFactory:uie,setRef:Jv,unstable_ClassNameGenerator:nle,unstable_useEnhancedEffect:Jr,unstable_useId:rs,unsupportedProp:die,useControlled:Dl,useEventCallback:Sr,useForkRef:xt,useIsFocusVisible:mg},Symbol.toStringTag,{value:"Module"}));function ON(e){return Ee}const $2={disabled:!1},tm=te.createContext(null);var ale=function(t){return t.scrollTop},lc="unmounted",bi="exited",_i="entering",Is="entered",f1="exiting",ta=function(e){Xo(t,e);function t(n,o){var a;a=e.call(this,n,o)||this;var i=o,s=i&&!i.isMounting?n.enter:n.appear,u;return a.appearStatus=null,n.in?s?(u=bi,a.appearStatus=_i):u=Is:n.unmountOnExit||n.mountOnEnter?u=lc:u=bi,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===lc?{status:bi}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==_i&&i!==Is&&(a=_i):(i===_i||i===Is)&&(a=f1)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,a,i,s;return a=i=s=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,s=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:s}},r.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===_i){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:ic.findDOMNode(this);i&&ale(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===bi&&this.setState({status:lc})},r.performEnter=function(o){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:o,u=this.props.nodeRef?[s]:[ic.findDOMNode(this),s],l=u[0],d=u[1],f=this.getTimeouts(),p=s?f.appear:f.enter;if(!o&&!i||$2.disabled){this.safeSetState({status:Is},function(){a.props.onEntered(l)});return}this.props.onEnter(l,d),this.safeSetState({status:_i},function(){a.props.onEntering(l,d),a.onTransitionEnd(p,function(){a.safeSetState({status:Is},function(){a.props.onEntered(l,d)})})})},r.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:ic.findDOMNode(this);if(!a||$2.disabled){this.safeSetState({status:bi},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:f1},function(){o.props.onExiting(s),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:bi},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},r.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,o(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},r.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:ic.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],l=u[0],d=u[1];this.props.addEndListener(l,d)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===lc)return null;var a=this.props,i=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 s=se(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return te.createElement(tm.Provider,{value:null},typeof i=="function"?i(o,s):te.cloneElement(te.Children.only(i),s))},t}(te.Component);ta.contextType=tm;ta.propTypes={};function Ps(){}ta.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ps,onEntering:Ps,onEntered:Ps,onExit:Ps,onExiting:Ps,onExited:Ps};ta.UNMOUNTED=lc;ta.EXITED=bi;ta.ENTERING=_i;ta.ENTERED=Is;ta.EXITING=f1;const pS=ta;function vS(e,t){var r=function(a){return t&&c.isValidElement(a)?t(a):a},n=Object.create(null);return e&&c.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function ile(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),o=[];for(var a in e)a in t?o.length&&(n[a]=o,o=[]):o.push(a);var i,s={};for(var u in t){if(n[u])for(i=0;ie.scrollTop;function Bl(e,t){var r,n;const{timeout:o,easing:a,style:i={}}=e;return{duration:(r=i.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=i.transitionTimingFunction)!=null?n:typeof a=="object"?a[t.mode]:a,delay:i.transitionDelay}}function fle(e){return we("MuiPaper",e)}Ce("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 ple=["className","component","elevation","square","variant"],vle=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return _e(a,fle,o)},mle=V("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;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(${Ye("#fff",P2(t.elevation))}, ${Ye("#fff",P2(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),hle=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiPaper"}),{className:o,component:a="div",elevation:i=1,square:s=!1,variant:u="elevation"}=n,l=se(n,ple),d=R({},n,{component:a,elevation:i,square:s,variant:u}),f=vle(d);return _.jsx(mle,R({as:a,ownerState:d,className:ce(f.root,o),ref:r},l))}),ai=hle;function hd(e){return typeof e=="string"}function nl(e,t,r){return e===void 0||hd(e)?t:R({},t,{ownerState:R({},t.ownerState,r)})}const gle={disableDefaultClasses:!1},yle=c.createContext(gle);function ble(e){const{disableDefaultClasses:t}=c.useContext(yle);return r=>t?"":e(r)}function rm(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function CN(e,t,r){return typeof e=="function"?e(t,r):e}function R2(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function EN(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:a}=e;if(!t){const v=ce(r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),h=R({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),b=R({},r,o,n);return v.length>0&&(b.className=v),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:void 0}}const i=rm(R({},o,n)),s=R2(n),u=R2(o),l=t(i),d=ce(l==null?void 0:l.className,r==null?void 0:r.className,a,o==null?void 0:o.className,n==null?void 0:n.className),f=R({},l==null?void 0:l.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),p=R({},l,r,u,s);return d.length>0&&(p.className=d),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:l.ref}}const _le=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function En(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=se(e,_le),s=a?{}:CN(n,o),{props:u,internalRef:l}=EN(R({},i,{externalSlotProps:s})),d=xt(l,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return nl(r,R({},u,{ref:d}),o)}const xle=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],wle=["component","slots","slotProps"],Sle=["component"];function Ole(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:s}=t,u=se(t,xle),{component:l,slots:d={[e]:void 0},slotProps:f={[e]:void 0}}=a,p=se(a,wle),v=d[e]||n,h=CN(f[e],o),b=EN(R({className:r},u,{externalForwardedProps:e==="root"?p:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=b,m=se(b.props,Sle),y=xt(g,h==null?void 0:h.ref,t.ref),C=i?i(m):{},O=R({},o,C),S=e==="root"?x||l:x,P=nl(v,R({},e==="root"&&!l&&!d[e]&&s,e!=="root"&&!d[e]&&s,m,S&&{as:S},{ref:y}),O);return Object.keys(C).forEach(E=>{delete P[E]}),[v,P]}function Cle(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:a,rippleSize:i,in:s,onExited:u,timeout:l}=e,[d,f]=c.useState(!1),p=ce(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),v={width:i,height:i,top:-(i/2)+a,left:-(i/2)+o},h=ce(r.child,d&&r.childLeaving,n&&r.childPulsate);return!s&&!d&&f(!0),c.useEffect(()=>{if(!s&&u!=null){const b=setTimeout(u,l);return()=>{clearTimeout(b)}}},[u,s,l]),_.jsx("span",{className:p,style:v,children:_.jsx("span",{className:h})})}const cn=Ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ele=["center","classes","className"];let bg=e=>e,k2,T2,j2,I2;const p1=550,Ple=80,$le=ea(k2||(k2=bg` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),Rle=ea(T2||(T2=bg` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),kle=ea(j2||(j2=bg` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),Tle=V("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),jle=V(Cle,{name:"MuiTouchRipple",slot:"Ripple"})(I2||(I2=bg` + 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; + } +`),cn.rippleVisible,$le,p1,({theme:e})=>e.transitions.easing.easeInOut,cn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,cn.child,cn.childLeaving,Rle,p1,({theme:e})=>e.transitions.easing.easeInOut,cn.childPulsate,kle,({theme:e})=>e.transitions.easing.easeInOut),Ile=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:i}=n,s=se(n,Ele),[u,l]=c.useState([]),d=c.useRef(0),f=c.useRef(null);c.useEffect(()=>{f.current&&(f.current(),f.current=null)},[u]);const p=c.useRef(!1),v=$i(),h=c.useRef(null),b=c.useRef(null),x=c.useCallback(C=>{const{pulsate:O,rippleX:S,rippleY:P,rippleSize:E,cb:$}=C;l(k=>[...k,_.jsx(jle,{classes:{ripple:ce(a.ripple,cn.ripple),rippleVisible:ce(a.rippleVisible,cn.rippleVisible),ripplePulsate:ce(a.ripplePulsate,cn.ripplePulsate),child:ce(a.child,cn.child),childLeaving:ce(a.childLeaving,cn.childLeaving),childPulsate:ce(a.childPulsate,cn.childPulsate)},timeout:p1,pulsate:O,rippleX:S,rippleY:P,rippleSize:E},d.current)]),d.current+=1,f.current=$},[a]),g=c.useCallback((C={},O={},S=()=>{})=>{const{pulsate:P=!1,center:E=o||O.pulsate,fakeElement:$=!1}=O;if((C==null?void 0:C.type)==="mousedown"&&p.current){p.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(p.current=!0);const k=$?null:b.current,T=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let j,I,A;if(E||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)j=Math.round(T.width/2),I=Math.round(T.height/2);else{const{clientX:D,clientY:L}=C.touches&&C.touches.length>0?C.touches[0]:C;j=Math.round(D-T.left),I=Math.round(L-T.top)}if(E)A=Math.sqrt((2*T.width**2+T.height**2)/3),A%2===0&&(A+=1);else{const D=Math.max(Math.abs((k?k.clientWidth:0)-j),j)*2+2,L=Math.max(Math.abs((k?k.clientHeight:0)-I),I)*2+2;A=Math.sqrt(D**2+L**2)}C!=null&&C.touches?h.current===null&&(h.current=()=>{x({pulsate:P,rippleX:j,rippleY:I,rippleSize:A,cb:S})},v.start(Ple,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:P,rippleX:j,rippleY:I,rippleSize:A,cb:S})},[o,x,v]),m=c.useCallback(()=>{g({},{pulsate:!0})},[g]),y=c.useCallback((C,O)=>{if(v.clear(),(C==null?void 0:C.type)==="touchend"&&h.current){h.current(),h.current=null,v.start(0,()=>{y(C,O)});return}h.current=null,l(S=>S.length>0?S.slice(1):S),f.current=O},[v]);return c.useImperativeHandle(r,()=>({pulsate:m,start:g,stop:y}),[m,g,y]),_.jsx(Tle,R({className:ce(cn.root,a.root,i),ref:b},s,{children:_.jsx(dle,{component:null,exit:!0,children:u})}))}),Ale=Ile;function Mle(e){return we("MuiButtonBase",e)}const Fle=Ce("MuiButtonBase",["root","disabled","focusVisible"]),Nle=["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"],Lle=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=_e({root:["root",t&&"disabled",r&&"focusVisible"]},Mle,o);return r&&n&&(i.root+=` ${n}`),i},Dle=V("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"},[`&.${Fle.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ble=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:a=!1,children:i,className:s,component:u="button",disabled:l=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,LinkComponent:v="a",onBlur:h,onClick:b,onContextMenu:x,onDragLeave:g,onFocus:m,onFocusVisible:y,onKeyDown:C,onKeyUp:O,onMouseDown:S,onMouseLeave:P,onMouseUp:E,onTouchEnd:$,onTouchMove:k,onTouchStart:T,tabIndex:j=0,TouchRippleProps:I,touchRippleRef:A,type:D}=n,L=se(n,Nle),B=c.useRef(null),M=c.useRef(null),N=xt(M,A),{isFocusVisibleRef:q,onFocus:K,onBlur:W,ref:le}=mg(),[Y,G]=c.useState(!1);l&&Y&&G(!1),c.useImperativeHandle(o,()=>({focusVisible:()=>{G(!0),B.current.focus()}}),[]);const[ne,ve]=c.useState(!1);c.useEffect(()=>{ve(!0)},[]);const ie=ne&&!d&&!l;c.useEffect(()=>{Y&&p&&!d&&ne&&M.current.pulsate()},[d,p,Y,ne]);function re(xe,qe,ot=f){return Sr(tt=>(qe&&qe(tt),!ot&&M.current&&M.current[xe](tt),!0))}const oe=re("start",S),Z=re("stop",x),ee=re("stop",g),H=re("stop",E),fe=re("stop",xe=>{Y&&xe.preventDefault(),P&&P(xe)}),de=re("start",T),Oe=re("stop",$),Ae=re("stop",k),F=re("stop",xe=>{W(xe),q.current===!1&&G(!1),h&&h(xe)},!1),z=Sr(xe=>{B.current||(B.current=xe.currentTarget),K(xe),q.current===!0&&(G(!0),y&&y(xe)),m&&m(xe)}),U=()=>{const xe=B.current;return u&&u!=="button"&&!(xe.tagName==="A"&&xe.href)},X=c.useRef(!1),J=Sr(xe=>{p&&!X.current&&Y&&M.current&&xe.key===" "&&(X.current=!0,M.current.stop(xe,()=>{M.current.start(xe)})),xe.target===xe.currentTarget&&U()&&xe.key===" "&&xe.preventDefault(),C&&C(xe),xe.target===xe.currentTarget&&U()&&xe.key==="Enter"&&!l&&(xe.preventDefault(),b&&b(xe))}),Q=Sr(xe=>{p&&xe.key===" "&&M.current&&Y&&!xe.defaultPrevented&&(X.current=!1,M.current.stop(xe,()=>{M.current.pulsate(xe)})),O&&O(xe),b&&xe.target===xe.currentTarget&&U()&&xe.key===" "&&!xe.defaultPrevented&&b(xe)});let ue=u;ue==="button"&&(L.href||L.to)&&(ue=v);const ge={};ue==="button"?(ge.type=D===void 0?"button":D,ge.disabled=l):(!L.href&&!L.to&&(ge.role="button"),l&&(ge["aria-disabled"]=l));const Me=xt(r,le,B),Le=R({},n,{centerRipple:a,component:u,disabled:l,disableRipple:d,disableTouchRipple:f,focusRipple:p,tabIndex:j,focusVisible:Y}),Pe=Lle(Le);return _.jsxs(Dle,R({as:ue,className:ce(Pe.root,s),ownerState:Le,onBlur:F,onClick:b,onContextMenu:Z,onFocus:z,onKeyDown:J,onKeyUp:Q,onMouseDown:oe,onMouseLeave:fe,onMouseUp:H,onDragLeave:ee,onTouchEnd:Oe,onTouchMove:Ae,onTouchStart:de,ref:Me,tabIndex:l?-1:j,type:D},ge,L,{children:[i,ie?_.jsx(Ale,R({ref:N,center:a},I)):null]}))}),ra=Ble;function zle(e){return we("MuiIconButton",e)}const Vle=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Ule=["edge","children","className","color","disabled","disableFocusRipple","size"],Wle=e=>{const{classes:t,disabled:r,color:n,edge:o,size:a}=e,i={root:["root",r&&"disabled",n!=="default"&&`color${ae(n)}`,o&&`edge${ae(o)}`,`size${ae(a)}`]};return _e(i,zle,t)},qle=V(ra,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${ae(r.color)}`],r.edge&&t[`edge${ae(r.edge)}`],t[`size${ae(r.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})`:Ye(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})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":R({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(n.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)},{[`&.${Vle.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Hle=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiIconButton"}),{edge:o=!1,children:a,className:i,color:s="default",disabled:u=!1,disableFocusRipple:l=!1,size:d="medium"}=n,f=se(n,Ule),p=R({},n,{edge:o,color:s,disabled:u,disableFocusRipple:l,size:d}),v=Wle(p);return _.jsx(qle,R({className:ce(v.root,i),centerRipple:!0,focusRipple:!l,disabled:u,ref:r},f,{ownerState:p,children:a}))}),yt=Hle;function Gle(e){return we("MuiTypography",e)}Ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Kle=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Qle=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:i}=e,s={root:["root",a,e.align!=="inherit"&&`align${ae(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return _e(s,Gle,i)},Xle=V("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${ae(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&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})),A2={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Yle={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Jle=e=>Yle[e]||e,Zle=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTypography"}),o=Jle(n.color),a=ng(R({},n,{color:o})),{align:i="inherit",className:s,component:u,gutterBottom:l=!1,noWrap:d=!1,paragraph:f=!1,variant:p="body1",variantMapping:v=A2}=a,h=se(a,Kle),b=R({},a,{align:i,color:o,className:s,component:u,gutterBottom:l,noWrap:d,paragraph:f,variant:p,variantMapping:v}),x=u||(f?"p":v[p]||A2[p])||"span",g=Qle(b);return _.jsx(Xle,R({as:x,ref:r,ownerState:b,className:ce(g.root,s)},h))}),Ne=Zle;function eue(e){return we("MuiAppBar",e)}Ce("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const tue=["className","color","enableColorOnDark","position"],rue=e=>{const{color:t,position:r,classes:n}=e,o={root:["root",`color${ae(t)}`,`position${ae(r)}`]};return _e(o,eue,n)},Hf=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,nue=V(ai,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${ae(r.position)}`],t[`color${ae(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r=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:r,color:e.palette.getContrastText(r)},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:Hf(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Hf(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:Hf(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Hf(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"}))}),oue=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiAppBar"}),{className:o,color:a="primary",enableColorOnDark:i=!1,position:s="fixed"}=n,u=se(n,tue),l=R({},n,{color:a,position:s,enableColorOnDark:i}),d=rue(l);return _.jsx(nue,R({square:!0,component:"header",ownerState:l,elevation:4,className:ce(d.root,o,s==="fixed"&&"mui-fixed"),ref:r},u))}),aue=oue,PN="base";function iue(e){return`${PN}--${e}`}function sue(e,t){return`${PN}-${e}-${t}`}function $N(e,t){const r=JF[t];return r?iue(r):sue(e,t)}function lue(e,t){const r={};return t.forEach(n=>{r[n]=$N(e,n)}),r}function M2(e){return e.substring(2).toLowerCase()}function uue(e,t){return t.documentElement.clientWidth(setTimeout(()=>{u.current=!0},0),()=>{u.current=!1}),[]);const d=xt(t.ref,s),f=Sr(h=>{const b=l.current;l.current=!1;const x=Dt(s.current);if(!u.current||!s.current||"clientX"in h&&uue(h,x))return;if(i.current){i.current=!1;return}let g;h.composedPath?g=h.composedPath().indexOf(s.current)>-1:g=!x.documentElement.contains(h.target)||s.current.contains(h.target),!g&&(r||!b)&&o(h)}),p=h=>b=>{l.current=!0;const x=t.props[h];x&&x(b)},v={ref:d};return a!==!1&&(v[a]=p(a)),c.useEffect(()=>{if(a!==!1){const h=M2(a),b=Dt(s.current),x=()=>{i.current=!0};return b.addEventListener(h,f),b.addEventListener("touchmove",x),()=>{b.removeEventListener(h,f),b.removeEventListener("touchmove",x)}}},[f,a]),n!==!1&&(v[n]=p(n)),c.useEffect(()=>{if(n!==!1){const h=M2(n),b=Dt(s.current);return b.addEventListener(h,f),()=>{b.removeEventListener(h,f)}}},[f,n]),_.jsx(c.Fragment,{children:c.cloneElement(t,v)})}const due=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function fue(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 pue(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function vue(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||pue(e))}function mue(e){const t=[],r=[];return Array.from(e.querySelectorAll(due)).forEach((n,o)=>{const a=fue(n);a===-1||!vue(n)||(a===0?t.push(n):r.push({documentOrder:o,tabIndex:a,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function hue(){return!0}function gue(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:a=mue,isEnabled:i=hue,open:s}=e,u=c.useRef(!1),l=c.useRef(null),d=c.useRef(null),f=c.useRef(null),p=c.useRef(null),v=c.useRef(!1),h=c.useRef(null),b=xt(t.ref,h),x=c.useRef(null);c.useEffect(()=>{!s||!h.current||(v.current=!r)},[r,s]),c.useEffect(()=>{if(!s||!h.current)return;const y=Dt(h.current);return h.current.contains(y.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),v.current&&h.current.focus()),()=>{o||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}},[s]),c.useEffect(()=>{if(!s||!h.current)return;const y=Dt(h.current),C=P=>{x.current=P,!(n||!i()||P.key!=="Tab")&&y.activeElement===h.current&&P.shiftKey&&(u.current=!0,d.current&&d.current.focus())},O=()=>{const P=h.current;if(P===null)return;if(!y.hasFocus()||!i()||u.current){u.current=!1;return}if(P.contains(y.activeElement)||n&&y.activeElement!==l.current&&y.activeElement!==d.current)return;if(y.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!v.current)return;let E=[];if((y.activeElement===l.current||y.activeElement===d.current)&&(E=a(h.current)),E.length>0){var $,k;const T=!!(($=x.current)!=null&&$.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),j=E[0],I=E[E.length-1];typeof j!="string"&&typeof I!="string"&&(T?I.focus():j.focus())}else P.focus()};y.addEventListener("focusin",O),y.addEventListener("keydown",C,!0);const S=setInterval(()=>{y.activeElement&&y.activeElement.tagName==="BODY"&&O()},50);return()=>{clearInterval(S),y.removeEventListener("focusin",O),y.removeEventListener("keydown",C,!0)}},[r,n,o,i,s,a]);const g=y=>{f.current===null&&(f.current=y.relatedTarget),v.current=!0,p.current=y.target;const C=t.props.onFocus;C&&C(y)},m=y=>{f.current===null&&(f.current=y.relatedTarget),v.current=!0};return _.jsxs(c.Fragment,{children:[_.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:l,"data-testid":"sentinelStart"}),c.cloneElement(t,{ref:b,onFocus:g}),_.jsx("div",{tabIndex:s?0:-1,onFocus:m,ref:d,"data-testid":"sentinelEnd"})]})}function yue(e){return typeof e=="function"?e():e}const RN=c.forwardRef(function(t,r){const{children:n,container:o,disablePortal:a=!1}=t,[i,s]=c.useState(null),u=xt(c.isValidElement(n)?n.ref:null,r);if(Jr(()=>{a||s(yue(o)||document.body)},[o,a]),Jr(()=>{if(i&&!a)return Jv(r,i),()=>{Jv(r,null)}},[r,i,a]),a){if(c.isValidElement(n)){const l={ref:u};return c.cloneElement(n,l)}return _.jsx(c.Fragment,{children:n})}return _.jsx(c.Fragment,{children:i&&ih.createPortal(n,i)})});function bue(e){const t=Dt(e);return t.body===e?On(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Pc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function F2(e){return parseInt(On(e).getComputedStyle(e).paddingRight,10)||0}function _ue(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function N2(e,t,r,n,o){const a=[t,r,...n];[].forEach.call(e.children,i=>{const s=a.indexOf(i)===-1,u=!_ue(i);s&&u&&Pc(i,o)})}function Qy(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function xue(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(bue(n)){const i=uN(Dt(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${F2(n)+i}px`;const s=Dt(n).querySelectorAll(".mui-fixed");[].forEach.call(s,u=>{r.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${F2(u)+i}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=Dt(n).body;else{const i=n.parentElement,s=On(n);a=(i==null?void 0:i.nodeName)==="HTML"&&s.getComputedStyle(i).overflowY==="scroll"?i:n}r.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()=>{r.forEach(({value:a,el:i,property:s})=>{a?i.style.setProperty(s,a):i.style.removeProperty(s)})}}function wue(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Sue{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&Pc(t.modalRef,!1);const o=wue(r);N2(r,t.mount,t.modalRef,o,!0);const a=Qy(this.containers,i=>i.container===r);return a!==-1?(this.containers[a].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=Qy(this.containers,a=>a.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=xue(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=Qy(this.containers,i=>i.modals.indexOf(t)!==-1),a=this.containers[o];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Pc(t.modalRef,r),N2(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(o,1);else{const i=a.modals[a.modals.length-1];i.modalRef&&Pc(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Oue(e){return typeof e=="function"?e():e}function Cue(e){return e?e.props.hasOwnProperty("in"):!1}const Eue=new Sue;function Pue(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=Eue,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:u,onClose:l,open:d,rootRef:f}=e,p=c.useRef({}),v=c.useRef(null),h=c.useRef(null),b=xt(h,f),[x,g]=c.useState(!d),m=Cue(u);let y=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(y=!1);const C=()=>Dt(v.current),O=()=>(p.current.modalRef=h.current,p.current.mount=v.current,p.current),S=()=>{o.mount(O(),{disableScrollLock:n}),h.current&&(h.current.scrollTop=0)},P=Sr(()=>{const L=Oue(t)||C().body;o.add(O(),L),h.current&&S()}),E=c.useCallback(()=>o.isTopModal(O()),[o]),$=Sr(L=>{v.current=L,L&&(d&&E()?S():h.current&&Pc(h.current,y))}),k=c.useCallback(()=>{o.remove(O(),y)},[y,o]);c.useEffect(()=>()=>{k()},[k]),c.useEffect(()=>{d?P():(!m||!a)&&k()},[d,k,m,a,P]);const T=L=>B=>{var M;(M=L.onKeyDown)==null||M.call(L,B),!(B.key!=="Escape"||B.which===229||!E())&&(r||(B.stopPropagation(),l&&l(B,"escapeKeyDown")))},j=L=>B=>{var M;(M=L.onClick)==null||M.call(L,B),B.target===B.currentTarget&&l&&l(B,"backdropClick")};return{getRootProps:(L={})=>{const B=rm(e);delete B.onTransitionEnter,delete B.onTransitionExited;const M=R({},B,L);return R({role:"presentation"},M,{onKeyDown:T(M),ref:b})},getBackdropProps:(L={})=>{const B=L;return R({"aria-hidden":!0},B,{onClick:j(B),open:d})},getTransitionProps:()=>{const L=()=>{g(!1),i&&i()},B=()=>{g(!0),s&&s(),a&&k()};return{onEnter:l1(L,u==null?void 0:u.props.onEnter),onExited:l1(B,u==null?void 0:u.props.onExited)}},rootRef:b,portalRef:$,isTopModal:E,exited:x,hasTransition:m}}var Dr="top",Pn="bottom",$n="right",Br="left",gS="auto",of=[Dr,Pn,$n,Br],zl="start",gd="end",$ue="clippingParents",kN="viewport",Gu="popper",Rue="reference",L2=of.reduce(function(e,t){return e.concat([t+"-"+zl,t+"-"+gd])},[]),TN=[].concat(of,[gS]).reduce(function(e,t){return e.concat([t,t+"-"+zl,t+"-"+gd])},[]),kue="beforeRead",Tue="read",jue="afterRead",Iue="beforeMain",Aue="main",Mue="afterMain",Fue="beforeWrite",Nue="write",Lue="afterWrite",Due=[kue,Tue,jue,Iue,Aue,Mue,Fue,Nue,Lue];function xo(e){return e?(e.nodeName||"").toLowerCase():null}function Zr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ns(e){var t=Zr(e).Element;return e instanceof t||e instanceof Element}function _n(e){var t=Zr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yS(e){if(typeof ShadowRoot>"u")return!1;var t=Zr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Bue(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},a=t.elements[r];!_n(a)||!xo(a)||(Object.assign(a.style,n),Object.keys(o).forEach(function(i){var s=o[i];s===!1?a.removeAttribute(i):a.setAttribute(i,s===!0?"":s)}))})}function zue(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],a=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,l){return u[l]="",u},{});!_n(o)||!xo(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(u){o.removeAttribute(u)}))})}}const Vue={name:"applyStyles",enabled:!0,phase:"write",fn:Bue,effect:zue,requires:["computeStyles"]};function yo(e){return e.split("-")[0]}var Ni=Math.max,nm=Math.min,Vl=Math.round;function v1(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function jN(){return!/^((?!chrome|android).)*safari/i.test(v1())}function Ul(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,a=1;t&&_n(e)&&(o=e.offsetWidth>0&&Vl(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Vl(n.height)/e.offsetHeight||1);var i=ns(e)?Zr(e):window,s=i.visualViewport,u=!jN()&&r,l=(n.left+(u&&s?s.offsetLeft:0))/o,d=(n.top+(u&&s?s.offsetTop:0))/a,f=n.width/o,p=n.height/a;return{width:f,height:p,top:d,right:l+f,bottom:d+p,left:l,x:l,y:d}}function bS(e){var t=Ul(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function IN(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&yS(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Go(e){return Zr(e).getComputedStyle(e)}function Uue(e){return["table","td","th"].indexOf(xo(e))>=0}function ii(e){return((ns(e)?e.ownerDocument:e.document)||window.document).documentElement}function _g(e){return xo(e)==="html"?e:e.assignedSlot||e.parentNode||(yS(e)?e.host:null)||ii(e)}function D2(e){return!_n(e)||Go(e).position==="fixed"?null:e.offsetParent}function Wue(e){var t=/firefox/i.test(v1()),r=/Trident/i.test(v1());if(r&&_n(e)){var n=Go(e);if(n.position==="fixed")return null}var o=_g(e);for(yS(o)&&(o=o.host);_n(o)&&["html","body"].indexOf(xo(o))<0;){var a=Go(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 af(e){for(var t=Zr(e),r=D2(e);r&&Uue(r)&&Go(r).position==="static";)r=D2(r);return r&&(xo(r)==="html"||xo(r)==="body"&&Go(r).position==="static")?t:r||Wue(e)||t}function _S(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $c(e,t,r){return Ni(e,nm(t,r))}function que(e,t,r){var n=$c(e,t,r);return n>r?r:n}function AN(){return{top:0,right:0,bottom:0,left:0}}function MN(e){return Object.assign({},AN(),e)}function FN(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Hue=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,MN(typeof t!="number"?t:FN(t,of))};function Gue(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,s=yo(r.placement),u=_S(s),l=[Br,$n].indexOf(s)>=0,d=l?"height":"width";if(!(!a||!i)){var f=Hue(o.padding,r),p=bS(a),v=u==="y"?Dr:Br,h=u==="y"?Pn:$n,b=r.rects.reference[d]+r.rects.reference[u]-i[u]-r.rects.popper[d],x=i[u]-r.rects.reference[u],g=af(a),m=g?u==="y"?g.clientHeight||0:g.clientWidth||0:0,y=b/2-x/2,C=f[v],O=m-p[d]-f[h],S=m/2-p[d]/2+y,P=$c(C,S,O),E=u;r.modifiersData[n]=(t={},t[E]=P,t.centerOffset=P-S,t)}}function Kue(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||IN(t.elements.popper,o)&&(t.elements.arrow=o))}const Que={name:"arrow",enabled:!0,phase:"main",fn:Gue,effect:Kue,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wl(e){return e.split("-")[1]}var Xue={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yue(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Vl(r*o)/o||0,y:Vl(n*o)/o||0}}function B2(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=i.x,v=p===void 0?0:p,h=i.y,b=h===void 0?0:h,x=typeof d=="function"?d({x:v,y:b}):{x:v,y:b};v=x.x,b=x.y;var g=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),y=Br,C=Dr,O=window;if(l){var S=af(r),P="clientHeight",E="clientWidth";if(S===Zr(r)&&(S=ii(r),Go(S).position!=="static"&&s==="absolute"&&(P="scrollHeight",E="scrollWidth")),S=S,o===Dr||(o===Br||o===$n)&&a===gd){C=Pn;var $=f&&S===O&&O.visualViewport?O.visualViewport.height:S[P];b-=$-n.height,b*=u?1:-1}if(o===Br||(o===Dr||o===Pn)&&a===gd){y=$n;var k=f&&S===O&&O.visualViewport?O.visualViewport.width:S[E];v-=k-n.width,v*=u?1:-1}}var T=Object.assign({position:s},l&&Xue),j=d===!0?Yue({x:v,y:b},Zr(r)):{x:v,y:b};if(v=j.x,b=j.y,u){var I;return Object.assign({},T,(I={},I[C]=m?"0":"",I[y]=g?"0":"",I.transform=(O.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",I))}return Object.assign({},T,(t={},t[C]=m?b+"px":"",t[y]=g?v+"px":"",t.transform="",t))}function Jue(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,a=r.adaptive,i=a===void 0?!0:a,s=r.roundOffsets,u=s===void 0?!0:s,l={placement:yo(t.placement),variation:Wl(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,B2(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,B2(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Zue={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Jue,data:{}};var Gf={passive:!0};function ece(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=o===void 0?!0:o,i=n.resize,s=i===void 0?!0:i,u=Zr(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach(function(d){d.addEventListener("scroll",r.update,Gf)}),s&&u.addEventListener("resize",r.update,Gf),function(){a&&l.forEach(function(d){d.removeEventListener("scroll",r.update,Gf)}),s&&u.removeEventListener("resize",r.update,Gf)}}const tce={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ece,data:{}};var rce={left:"right",right:"left",bottom:"top",top:"bottom"};function Ip(e){return e.replace(/left|right|bottom|top/g,function(t){return rce[t]})}var nce={start:"end",end:"start"};function z2(e){return e.replace(/start|end/g,function(t){return nce[t]})}function xS(e){var t=Zr(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function wS(e){return Ul(ii(e)).left+xS(e).scrollLeft}function oce(e,t){var r=Zr(e),n=ii(e),o=r.visualViewport,a=n.clientWidth,i=n.clientHeight,s=0,u=0;if(o){a=o.width,i=o.height;var l=jN();(l||!l&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}return{width:a,height:i,x:s+wS(e),y:u}}function ace(e){var t,r=ii(e),n=xS(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Ni(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Ni(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+wS(e),u=-n.scrollTop;return Go(o||r).direction==="rtl"&&(s+=Ni(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:u}}function SS(e){var t=Go(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function NN(e){return["html","body","#document"].indexOf(xo(e))>=0?e.ownerDocument.body:_n(e)&&SS(e)?e:NN(_g(e))}function Rc(e,t){var r;t===void 0&&(t=[]);var n=NN(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),a=Zr(n),i=o?[a].concat(a.visualViewport||[],SS(n)?n:[]):n,s=t.concat(i);return o?s:s.concat(Rc(_g(i)))}function m1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ice(e,t){var r=Ul(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function V2(e,t,r){return t===kN?m1(oce(e,r)):ns(t)?ice(t,r):m1(ace(ii(e)))}function sce(e){var t=Rc(_g(e)),r=["absolute","fixed"].indexOf(Go(e).position)>=0,n=r&&_n(e)?af(e):e;return ns(n)?t.filter(function(o){return ns(o)&&IN(o,n)&&xo(o)!=="body"}):[]}function lce(e,t,r,n){var o=t==="clippingParents"?sce(e):[].concat(t),a=[].concat(o,[r]),i=a[0],s=a.reduce(function(u,l){var d=V2(e,l,n);return u.top=Ni(d.top,u.top),u.right=nm(d.right,u.right),u.bottom=nm(d.bottom,u.bottom),u.left=Ni(d.left,u.left),u},V2(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function LN(e){var t=e.reference,r=e.element,n=e.placement,o=n?yo(n):null,a=n?Wl(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(o){case Dr:u={x:i,y:t.y-r.height};break;case Pn:u={x:i,y:t.y+t.height};break;case $n:u={x:t.x+t.width,y:s};break;case Br:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=o?_S(o):null;if(l!=null){var d=l==="y"?"height":"width";switch(a){case zl:u[l]=u[l]-(t[d]/2-r[d]/2);break;case gd:u[l]=u[l]+(t[d]/2-r[d]/2);break}}return u}function yd(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,a=r.strategy,i=a===void 0?e.strategy:a,s=r.boundary,u=s===void 0?$ue:s,l=r.rootBoundary,d=l===void 0?kN:l,f=r.elementContext,p=f===void 0?Gu:f,v=r.altBoundary,h=v===void 0?!1:v,b=r.padding,x=b===void 0?0:b,g=MN(typeof x!="number"?x:FN(x,of)),m=p===Gu?Rue:Gu,y=e.rects.popper,C=e.elements[h?m:p],O=lce(ns(C)?C:C.contextElement||ii(e.elements.popper),u,d,i),S=Ul(e.elements.reference),P=LN({reference:S,element:y,strategy:"absolute",placement:o}),E=m1(Object.assign({},y,P)),$=p===Gu?E:S,k={top:O.top-$.top+g.top,bottom:$.bottom-O.bottom+g.bottom,left:O.left-$.left+g.left,right:$.right-O.right+g.right},T=e.modifiersData.offset;if(p===Gu&&T){var j=T[o];Object.keys(k).forEach(function(I){var A=[$n,Pn].indexOf(I)>=0?1:-1,D=[Dr,Pn].indexOf(I)>=0?"y":"x";k[I]+=j[D]*A})}return k}function uce(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?TN:u,d=Wl(n),f=d?s?L2:L2.filter(function(h){return Wl(h)===d}):of,p=f.filter(function(h){return l.indexOf(h)>=0});p.length===0&&(p=f);var v=p.reduce(function(h,b){return h[b]=yd(e,{placement:b,boundary:o,rootBoundary:a,padding:i})[yo(b)],h},{});return Object.keys(v).sort(function(h,b){return v[h]-v[b]})}function cce(e){if(yo(e)===gS)return[];var t=Ip(e);return[z2(e),t,z2(t)]}function dce(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=o===void 0?!0:o,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,l=r.padding,d=r.boundary,f=r.rootBoundary,p=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,b=r.allowedAutoPlacements,x=t.options.placement,g=yo(x),m=g===x,y=u||(m||!h?[Ip(x)]:cce(x)),C=[x].concat(y).reduce(function(Y,G){return Y.concat(yo(G)===gS?uce(t,{placement:G,boundary:d,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:b}):G)},[]),O=t.rects.reference,S=t.rects.popper,P=new Map,E=!0,$=C[0],k=0;k=0,D=A?"width":"height",L=yd(t,{placement:T,boundary:d,rootBoundary:f,altBoundary:p,padding:l}),B=A?I?$n:Br:I?Pn:Dr;O[D]>S[D]&&(B=Ip(B));var M=Ip(B),N=[];if(a&&N.push(L[j]<=0),s&&N.push(L[B]<=0,L[M]<=0),N.every(function(Y){return Y})){$=T,E=!1;break}P.set(T,N)}if(E)for(var q=h?3:1,K=function(G){var ne=C.find(function(ve){var ie=P.get(ve);if(ie)return ie.slice(0,G).every(function(re){return re})});if(ne)return $=ne,"break"},W=q;W>0;W--){var le=K(W);if(le==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const fce={name:"flip",enabled:!0,phase:"main",fn:dce,requiresIfExists:["offset"],data:{_skip:!1}};function U2(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function W2(e){return[Dr,$n,Pn,Br].some(function(t){return e[t]>=0})}function pce(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=yd(t,{elementContext:"reference"}),s=yd(t,{altBoundary:!0}),u=U2(i,n),l=U2(s,o,a),d=W2(u),f=W2(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const vce={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pce};function mce(e,t,r){var n=yo(e),o=[Br,Dr].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Br,$n].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function hce(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=o===void 0?[0,0]:o,i=TN.reduce(function(d,f){return d[f]=mce(f,t.rects,a),d},{}),s=i[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}const gce={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:hce};function yce(e){var t=e.state,r=e.name;t.modifiersData[r]=LN({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const bce={name:"popperOffsets",enabled:!0,phase:"read",fn:yce,data:{}};function _ce(e){return e==="x"?"y":"x"}function xce(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=o===void 0?!0:o,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,l=r.rootBoundary,d=r.altBoundary,f=r.padding,p=r.tether,v=p===void 0?!0:p,h=r.tetherOffset,b=h===void 0?0:h,x=yd(t,{boundary:u,rootBoundary:l,padding:f,altBoundary:d}),g=yo(t.placement),m=Wl(t.placement),y=!m,C=_S(g),O=_ce(C),S=t.modifiersData.popperOffsets,P=t.rects.reference,E=t.rects.popper,$=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,k=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(a){var I,A=C==="y"?Dr:Br,D=C==="y"?Pn:$n,L=C==="y"?"height":"width",B=S[C],M=B+x[A],N=B-x[D],q=v?-E[L]/2:0,K=m===zl?P[L]:E[L],W=m===zl?-E[L]:-P[L],le=t.elements.arrow,Y=v&&le?bS(le):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:AN(),ne=G[A],ve=G[D],ie=$c(0,P[L],Y[L]),re=y?P[L]/2-q-ie-ne-k.mainAxis:K-ie-ne-k.mainAxis,oe=y?-P[L]/2+q+ie+ve+k.mainAxis:W+ie+ve+k.mainAxis,Z=t.elements.arrow&&af(t.elements.arrow),ee=Z?C==="y"?Z.clientTop||0:Z.clientLeft||0:0,H=(I=T==null?void 0:T[C])!=null?I:0,fe=B+re-H-ee,de=B+oe-H,Oe=$c(v?nm(M,fe):M,B,v?Ni(N,de):N);S[C]=Oe,j[C]=Oe-B}if(s){var Ae,F=C==="x"?Dr:Br,z=C==="x"?Pn:$n,U=S[O],X=O==="y"?"height":"width",J=U+x[F],Q=U-x[z],ue=[Dr,Br].indexOf(g)!==-1,ge=(Ae=T==null?void 0:T[O])!=null?Ae:0,Me=ue?J:U-P[X]-E[X]-ge+k.altAxis,Le=ue?U+P[X]+E[X]-ge-k.altAxis:Q,Pe=v&&ue?que(Me,U,Le):$c(v?Me:J,U,v?Le:Q);S[O]=Pe,j[O]=Pe-U}t.modifiersData[n]=j}}const wce={name:"preventOverflow",enabled:!0,phase:"main",fn:xce,requiresIfExists:["offset"]};function Sce(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Oce(e){return e===Zr(e)||!_n(e)?xS(e):Sce(e)}function Cce(e){var t=e.getBoundingClientRect(),r=Vl(t.width)/e.offsetWidth||1,n=Vl(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ece(e,t,r){r===void 0&&(r=!1);var n=_n(t),o=_n(t)&&Cce(t),a=ii(t),i=Ul(e,o,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((xo(t)!=="body"||SS(a))&&(s=Oce(t)),_n(t)?(u=Ul(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=wS(a))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}function Pce(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function o(a){r.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&o(u)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||o(a)}),n}function $ce(e){var t=Pce(e);return Due.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function Rce(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function kce(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var q2={placement:"bottom",modifiers:[],strategy:"absolute"};function H2(){for(var e=arguments.length,t=new Array(e),r=0;r_e({root:["root"]},ble(Ace)),Bce={},zce=c.forwardRef(function(t,r){var n;const{anchorEl:o,children:a,direction:i,disablePortal:s,modifiers:u,open:l,placement:d,popperOptions:f,popperRef:p,slotProps:v={},slots:h={},TransitionProps:b}=t,x=se(t,Mce),g=c.useRef(null),m=xt(g,r),y=c.useRef(null),C=xt(y,p),O=c.useRef(C);Jr(()=>{O.current=C},[C]),c.useImperativeHandle(p,()=>y.current,[]);const S=Nce(d,i),[P,E]=c.useState(S),[$,k]=c.useState(h1(o));c.useEffect(()=>{y.current&&y.current.forceUpdate()}),c.useEffect(()=>{o&&k(h1(o))},[o]),Jr(()=>{if(!$||!l)return;const D=M=>{E(M.placement)};let L=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:M})=>{D(M)}}];u!=null&&(L=L.concat(u)),f&&f.modifiers!=null&&(L=L.concat(f.modifiers));const B=Ice($,g.current,R({placement:S},f,{modifiers:L}));return O.current(B),()=>{B.destroy(),O.current(null)}},[$,s,u,l,f,S]);const T={placement:P};b!==null&&(T.TransitionProps=b);const j=Dce(),I=(n=h.root)!=null?n:"div",A=En({elementType:I,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:m},ownerState:t,className:j.root});return _.jsx(I,R({},A,{children:typeof a=="function"?a(T):a}))}),Vce=c.forwardRef(function(t,r){const{anchorEl:n,children:o,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:u=!1,modifiers:l,open:d,placement:f="bottom",popperOptions:p=Bce,popperRef:v,style:h,transition:b=!1,slotProps:x={},slots:g={}}=t,m=se(t,Fce),[y,C]=c.useState(!0),O=()=>{C(!1)},S=()=>{C(!0)};if(!u&&!d&&(!b||y))return null;let P;if(a)P=a;else if(n){const k=h1(n);P=k&&Lce(k)?Dt(k).body:Dt(null).body}const E=!d&&u&&(!b||y)?"none":void 0,$=b?{in:d,onEnter:O,onExited:S}:void 0;return _.jsx(RN,{disablePortal:s,container:P,children:_.jsx(zce,R({anchorEl:n,direction:i,disablePortal:s,modifiers:l,ref:r,open:b?!y:d,placement:f,popperOptions:p,popperRef:v,slotProps:x,slots:g},m,{style:R({position:"fixed",top:0,left:0,display:E},h),TransitionProps:$,children:o}))})});function Uce(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:r=!1,onClose:n,open:o,resumeHideDuration:a}=e,i=$i();c.useEffect(()=>{if(!o)return;function g(m){m.defaultPrevented||(m.key==="Escape"||m.key==="Esc")&&(n==null||n(m,"escapeKeyDown"))}return document.addEventListener("keydown",g),()=>{document.removeEventListener("keydown",g)}},[o,n]);const s=Sr((g,m)=>{n==null||n(g,m)}),u=Sr(g=>{!n||g==null||i.start(g,()=>{s(null,"timeout")})});c.useEffect(()=>(o&&u(t),i.clear),[o,t,u,i]);const l=g=>{n==null||n(g,"clickaway")},d=i.clear,f=c.useCallback(()=>{t!=null&&u(a??t*.5)},[t,a,u]),p=g=>m=>{const y=g.onBlur;y==null||y(m),f()},v=g=>m=>{const y=g.onFocus;y==null||y(m),d()},h=g=>m=>{const y=g.onMouseEnter;y==null||y(m),d()},b=g=>m=>{const y=g.onMouseLeave;y==null||y(m),f()};return c.useEffect(()=>{if(!r&&o)return window.addEventListener("focus",f),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",d)}},[r,o,f,d]),{getRootProps:(g={})=>{const m=R({},rm(e),rm(g));return R({role:"presentation"},g,m,{onBlur:p(m),onFocus:v(m),onMouseEnter:h(m),onMouseLeave:b(m)})},onClickAway:l}}const Wce=["onChange","maxRows","minRows","style","value"];function Kf(e){return parseInt(e,10)||0}const qce={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Hce(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const Gce=c.forwardRef(function(t,r){const{onChange:n,maxRows:o,minRows:a=1,style:i,value:s}=t,u=se(t,Wce),{current:l}=c.useRef(s!=null),d=c.useRef(null),f=xt(r,d),p=c.useRef(null),v=c.useCallback(()=>{const x=d.current,m=On(x).getComputedStyle(x);if(m.width==="0px")return{outerHeightStyle:0,overflowing:!1};const y=p.current;y.style.width=m.width,y.value=x.value||t.placeholder||"x",y.value.slice(-1)===` +`&&(y.value+=" ");const C=m.boxSizing,O=Kf(m.paddingBottom)+Kf(m.paddingTop),S=Kf(m.borderBottomWidth)+Kf(m.borderTopWidth),P=y.scrollHeight;y.value="x";const E=y.scrollHeight;let $=P;a&&($=Math.max(Number(a)*E,$)),o&&($=Math.min(Number(o)*E,$)),$=Math.max($,E);const k=$+(C==="border-box"?O+S:0),T=Math.abs($-P)<=1;return{outerHeightStyle:k,overflowing:T}},[o,a,t.placeholder]),h=c.useCallback(()=>{const x=v();if(Hce(x))return;const g=d.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[v]);Jr(()=>{const x=()=>{h()};let g;const m=_u(x),y=d.current,C=On(y);C.addEventListener("resize",m);let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(x),O.observe(y)),()=>{m.clear(),cancelAnimationFrame(g),C.removeEventListener("resize",m),O&&O.disconnect()}},[v,h]),Jr(()=>{h()});const b=x=>{l||h(),n&&n(x)};return _.jsxs(c.Fragment,{children:[_.jsx("textarea",R({value:s,onChange:b,ref:f,rows:a,style:i},u)),_.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:R({},qce.shadow,i,{paddingTop:0,paddingBottom:0})})]})});var OS={};Object.defineProperty(OS,"__esModule",{value:!0});var BN=OS.default=void 0,Kce=Xce(c),Qce=xN;function zN(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(zN=function(n){return n?r:t})(e)}function Xce(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=zN(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function Yce(e){return Object.keys(e).length===0}function Jce(e=null){const t=Kce.useContext(Qce.ThemeContext);return!t||Yce(t)?e:t}BN=OS.default=Jce;const Zce=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ede=V(Vce,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),tde=c.forwardRef(function(t,r){var n;const o=BN(),a=Ee({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:u,componentsProps:l,container:d,disablePortal:f,keepMounted:p,modifiers:v,open:h,placement:b,popperOptions:x,popperRef:g,transition:m,slots:y,slotProps:C}=a,O=se(a,Zce),S=(n=y==null?void 0:y.root)!=null?n:u==null?void 0:u.Root,P=R({anchorEl:i,container:d,disablePortal:f,keepMounted:p,modifiers:v,open:h,placement:b,popperOptions:x,popperRef:g,transition:m},O);return _.jsx(ede,R({as:s,direction:o==null?void 0:o.direction,slots:{root:S},slotProps:C??l},P,{ref:r}))}),VN=tde;function na({props:e,states:t,muiFormControl:r}){return t.reduce((n,o)=>(n[o]=e[o],r&&typeof e[o]>"u"&&(n[o]=r[o]),n),{})}const rde=c.createContext(void 0),xg=rde;function ro(){return c.useContext(xg)}function nde(e){return _.jsx(Mae,R({},e,{defaultTheme:yg,themeId:es}))}function G2(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function om(e,t=!1){return e&&(G2(e.value)&&e.value!==""||t&&G2(e.defaultValue)&&e.defaultValue!=="")}function ode(e){return e.startAdornment}function ade(e){return we("MuiInputBase",e)}const ide=Ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),ql=ide,sde=["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","slotProps","slots","startAdornment","type","value"],wg=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${ae(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Sg=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},lde=e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:a,focused:i,formControl:s,fullWidth:u,hiddenLabel:l,multiline:d,readOnly:f,size:p,startAdornment:v,type:h}=e,b={root:["root",`color${ae(r)}`,n&&"disabled",o&&"error",u&&"fullWidth",i&&"focused",s&&"formControl",p&&p!=="medium"&&`size${ae(p)}`,d&&"multiline",v&&"adornedStart",a&&"adornedEnd",l&&"hiddenLabel",f&&"readOnly"],input:["input",n&&"disabled",h==="search"&&"inputTypeSearch",d&&"inputMultiline",p==="small"&&"inputSizeSmall",l&&"inputHiddenLabel",v&&"inputAdornedStart",a&&"inputAdornedEnd",f&&"readOnly"]};return _e(b,ade,t)},Og=V("div",{name:"MuiInputBase",slot:"Root",overridesResolver:wg})(({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",[`&.${ql.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%"})),Cg=V("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Sg})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.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:r?.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":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${ql.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},[`&.${ql.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"})}),ude=_.jsx(nde,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),cde=c.forwardRef(function(t,r){var n;const o=Ee({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:s,className:u,components:l={},componentsProps:d={},defaultValue:f,disabled:p,disableInjectingGlobalStyles:v,endAdornment:h,fullWidth:b=!1,id:x,inputComponent:g="input",inputProps:m={},inputRef:y,maxRows:C,minRows:O,multiline:S=!1,name:P,onBlur:E,onChange:$,onClick:k,onFocus:T,onKeyDown:j,onKeyUp:I,placeholder:A,readOnly:D,renderSuffix:L,rows:B,slotProps:M={},slots:N={},startAdornment:q,type:K="text",value:W}=o,le=se(o,sde),Y=m.value!=null?m.value:W,{current:G}=c.useRef(Y!=null),ne=c.useRef(),ve=c.useCallback(Pe=>{},[]),ie=xt(ne,y,m.ref,ve),[re,oe]=c.useState(!1),Z=ro(),ee=na({props:o,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ee.focused=Z?Z.focused:re,c.useEffect(()=>{!Z&&p&&re&&(oe(!1),E&&E())},[Z,p,re,E]);const H=Z&&Z.onFilled,fe=Z&&Z.onEmpty,de=c.useCallback(Pe=>{om(Pe)?H&&H():fe&&fe()},[H,fe]);Jr(()=>{G&&de({value:Y})},[Y,de,G]);const Oe=Pe=>{if(ee.disabled){Pe.stopPropagation();return}T&&T(Pe),m.onFocus&&m.onFocus(Pe),Z&&Z.onFocus?Z.onFocus(Pe):oe(!0)},Ae=Pe=>{E&&E(Pe),m.onBlur&&m.onBlur(Pe),Z&&Z.onBlur?Z.onBlur(Pe):oe(!1)},F=(Pe,...xe)=>{if(!G){const qe=Pe.target||ne.current;if(qe==null)throw new Error(Ho(1));de({value:qe.value})}m.onChange&&m.onChange(Pe,...xe),$&&$(Pe,...xe)};c.useEffect(()=>{de(ne.current)},[]);const z=Pe=>{ne.current&&Pe.currentTarget===Pe.target&&ne.current.focus(),k&&k(Pe)};let U=g,X=m;S&&U==="input"&&(B?X=R({type:void 0,minRows:B,maxRows:B},X):X=R({type:void 0,maxRows:C,minRows:O},X),U=Gce);const J=Pe=>{de(Pe.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};c.useEffect(()=>{Z&&Z.setAdornedStart(!!q)},[Z,q]);const Q=R({},o,{color:ee.color||"primary",disabled:ee.disabled,endAdornment:h,error:ee.error,focused:ee.focused,formControl:Z,fullWidth:b,hiddenLabel:ee.hiddenLabel,multiline:S,size:ee.size,startAdornment:q,type:K}),ue=lde(Q),ge=N.root||l.Root||Og,Me=M.root||d.root||{},Le=N.input||l.Input||Cg;return X=R({},X,(n=M.input)!=null?n:d.input),_.jsxs(c.Fragment,{children:[!v&&ude,_.jsxs(ge,R({},Me,!hd(ge)&&{ownerState:R({},Q,Me.ownerState)},{ref:r,onClick:z},le,{className:ce(ue.root,Me.className,u,D&&"MuiInputBase-readOnly"),children:[q,_.jsx(xg.Provider,{value:null,children:_.jsx(Le,R({ownerState:Q,"aria-invalid":ee.error,"aria-describedby":a,autoComplete:i,autoFocus:s,defaultValue:f,disabled:ee.disabled,id:x,onAnimationStart:J,name:P,placeholder:A,readOnly:D,required:ee.required,rows:B,value:Y,onKeyDown:j,onKeyUp:I,type:K},X,!hd(Le)&&{as:U,ownerState:R({},Q,X.ownerState)},{ref:ie,className:ce(ue.input,X.className,D&&"MuiInputBase-readOnly"),onBlur:Ae,onChange:F,onFocus:Oe}))}),h,L?L(R({},ee,{startAdornment:q})):null]}))]})}),Eg=cde;function dde(e){return we("MuiInput",e)}const fde=R({},ql,Ce("MuiInput",["root","underline","input"])),Ku=fde;function pde(e){return we("MuiOutlinedInput",e)}const vde=R({},ql,Ce("MuiOutlinedInput",["root","notchedOutline","input"])),ua=vde;function mde(e){return we("MuiFilledInput",e)}const hde=R({},ql,Ce("MuiFilledInput",["root","underline","input"])),fi=hde,UN=nn(_.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),gde=nn(_.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");function yde(e){return we("MuiAvatar",e)}Ce("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const bde=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],_de=ON(),xde=e=>{const{classes:t,variant:r,colorDefault:n}=e;return _e({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},yde,t)},wde=V("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:R({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:R({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),Sde=V("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Ode=V(gde,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Cde({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[o,a]=c.useState(!1);return c.useEffect(()=>{if(!r&&!n)return;a(!1);let i=!0;const s=new Image;return s.onload=()=>{i&&a("loaded")},s.onerror=()=>{i&&a("error")},s.crossOrigin=e,s.referrerPolicy=t,s.src=r,n&&(s.srcset=n),()=>{i=!1}},[e,t,r,n]),o}const Ede=c.forwardRef(function(t,r){const n=_de({props:t,name:"MuiAvatar"}),{alt:o,children:a,className:i,component:s="div",slots:u={},slotProps:l={},imgProps:d,sizes:f,src:p,srcSet:v,variant:h="circular"}=n,b=se(n,bde);let x=null;const g=Cde(R({},d,{src:p,srcSet:v})),m=p||v,y=m&&g!=="error",C=R({},n,{colorDefault:!y,component:s,variant:h}),O=xde(C),[S,P]=Ole("img",{className:O.img,elementType:Sde,externalForwardedProps:{slots:u,slotProps:{img:R({},d,l.img)}},additionalProps:{alt:o,src:p,srcSet:v,sizes:f},ownerState:C});return y?x=_.jsx(S,R({},P)):a||a===0?x=a:m&&o?x=o[0]:x=_.jsx(Ode,{ownerState:C,className:O.fallback}),_.jsx(wde,R({as:s,ownerState:C,className:ce(O.root,i),ref:r},b,{children:x}))}),bd=Ede,Pde=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],$de={entering:{opacity:1},entered:{opacity:1}},Rde=c.forwardRef(function(t,r){const n=Mn(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:s,easing:u,in:l,onEnter:d,onEntered:f,onEntering:p,onExit:v,onExited:h,onExiting:b,style:x,timeout:g=o,TransitionComponent:m=pS}=t,y=se(t,Pde),C=c.useRef(null),O=xt(C,s.ref,r),S=A=>D=>{if(A){const L=C.current;D===void 0?A(L):A(L,D)}},P=S(p),E=S((A,D)=>{hS(A);const L=Bl({style:x,timeout:g,easing:u},{mode:"enter"});A.style.webkitTransition=n.transitions.create("opacity",L),A.style.transition=n.transitions.create("opacity",L),d&&d(A,D)}),$=S(f),k=S(b),T=S(A=>{const D=Bl({style:x,timeout:g,easing:u},{mode:"exit"});A.style.webkitTransition=n.transitions.create("opacity",D),A.style.transition=n.transitions.create("opacity",D),v&&v(A)}),j=S(h),I=A=>{a&&a(C.current,A)};return _.jsx(m,R({appear:i,in:l,nodeRef:C,onEnter:E,onEntered:$,onEntering:P,onExit:T,onExited:j,onExiting:k,addEndListener:I,timeout:g},y,{children:(A,D)=>c.cloneElement(s,R({style:R({opacity:0,visibility:A==="exited"&&!l?"hidden":void 0},$de[A],x,s.props.style),ref:O},D))}))}),WN=Rde;function kde(e){return we("MuiBackdrop",e)}Ce("MuiBackdrop",["root","invisible"]);const Tde=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],jde=e=>{const{classes:t,invisible:r}=e;return _e({root:["root",r&&"invisible"]},kde,t)},Ide=V("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.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"})),Ade=c.forwardRef(function(t,r){var n,o,a;const i=Ee({props:t,name:"MuiBackdrop"}),{children:s,className:u,component:l="div",components:d={},componentsProps:f={},invisible:p=!1,open:v,slotProps:h={},slots:b={},TransitionComponent:x=WN,transitionDuration:g}=i,m=se(i,Tde),y=R({},i,{component:l,invisible:p}),C=jde(y),O=(n=h.root)!=null?n:f.root;return _.jsx(x,R({in:v,timeout:g},m,{children:_.jsx(Ide,R({"aria-hidden":!0},O,{as:(o=(a=b.root)!=null?a:d.Root)!=null?o:l,className:ce(C.root,u,O==null?void 0:O.className),ownerState:R({},y,O==null?void 0:O.ownerState),classes:C,ref:r,children:s}))}))}),qN=Ade,Mde=Ce("MuiBox",["root"]),Fde=Mde,Nde=em(),Lde=Vae({themeId:es,defaultTheme:Nde,defaultClassName:Fde.root,generateClassName:oS.generate}),wr=Lde;function Dde(e){return we("MuiButton",e)}const Bde=Ce("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","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Qf=Bde,zde=c.createContext({}),Vde=zde,Ude=c.createContext(void 0),Wde=Ude,qde=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Hde=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:a,classes:i}=e,s={root:["root",a,`${a}${ae(t)}`,`size${ae(o)}`,`${a}Size${ae(o)}`,`color${ae(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ae(o)}`],endIcon:["icon","endIcon",`iconSize${ae(o)}`]},u=_e(s,Dde,i);return R({},i,u)},HN=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}}),Gde=V(ra,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ae(r.color)}`],t[`size${ae(r.size)}`],t[`${r.variant}Size${ae(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],a=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];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})`:Ye(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})`:Ye(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})`:Ye(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,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]}),[`&.${Qf.focusVisible}`]:R({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Qf.disabled}`]:R({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},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 ${Ye(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,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"},[`&.${Qf.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Qf.disabled}`]:{boxShadow:"none"}}),Kde=V("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${ae(r.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},HN(e))),Qde=V("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${ae(r.size)}`]]}})(({ownerState:e})=>R({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},HN(e))),Xde=c.forwardRef(function(t,r){const n=c.useContext(Vde),o=c.useContext(Wde),a=sS(n,t),i=Ee({props:a,name:"MuiButton"}),{children:s,color:u="primary",component:l="button",className:d,disabled:f=!1,disableElevation:p=!1,disableFocusRipple:v=!1,endIcon:h,focusVisibleClassName:b,fullWidth:x=!1,size:g="medium",startIcon:m,type:y,variant:C="text"}=i,O=se(i,qde),S=R({},i,{color:u,component:l,disabled:f,disableElevation:p,disableFocusRipple:v,fullWidth:x,size:g,type:y,variant:C}),P=Hde(S),E=m&&_.jsx(Kde,{className:P.startIcon,ownerState:S,children:m}),$=h&&_.jsx(Qde,{className:P.endIcon,ownerState:S,children:h}),k=o||"";return _.jsxs(Gde,R({ownerState:S,className:ce(n.className,P.root,d,k),component:l,disabled:f,focusRipple:!v,focusVisibleClassName:ce(P.focusVisible,b),ref:r,type:y},O,{classes:P,children:[E,s,$]}))}),Bt=Xde;function Yde(e){return we("MuiCard",e)}Ce("MuiCard",["root"]);const Jde=["className","raised"],Zde=e=>{const{classes:t}=e;return _e({root:["root"]},Yde,t)},efe=V(ai,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),tfe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiCard"}),{className:o,raised:a=!1}=n,i=se(n,Jde),s=R({},n,{raised:a}),u=Zde(s);return _.jsx(efe,R({className:ce(u.root,o),elevation:a?8:void 0,ref:r,ownerState:s},i))}),fs=tfe;function rfe(e){return we("MuiCardActions",e)}Ce("MuiCardActions",["root","spacing"]);const nfe=["disableSpacing","className"],ofe=e=>{const{classes:t,disableSpacing:r}=e;return _e({root:["root",!r&&"spacing"]},rfe,t)},afe=V("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>R({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),ife=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:a}=n,i=se(n,nfe),s=R({},n,{disableSpacing:o}),u=ofe(s);return _.jsx(afe,R({className:ce(u.root,a),ownerState:s,ref:r},i))}),GN=ife;function sfe(e){return we("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const lfe=["className","component"],ufe=e=>{const{classes:t}=e;return _e({root:["root"]},sfe,t)},cfe=V("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),dfe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiCardContent"}),{className:o,component:a="div"}=n,i=se(n,lfe),s=R({},n,{component:a}),u=ufe(s);return _.jsx(cfe,R({as:a,className:ce(u.root,o),ownerState:s,ref:r},i))}),dn=dfe;function ffe(e){return we("MuiCardHeader",e)}const pfe=Ce("MuiCardHeader",["root","avatar","action","content","title","subheader"]),K2=pfe,vfe=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],mfe=e=>{const{classes:t}=e;return _e({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},ffe,t)},hfe=V("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>R({[`& .${K2.title}`]:t.title,[`& .${K2.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),gfe=V("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),yfe=V("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),bfe=V("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),_fe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiCardHeader"}),{action:o,avatar:a,className:i,component:s="div",disableTypography:u=!1,subheader:l,subheaderTypographyProps:d,title:f,titleTypographyProps:p}=n,v=se(n,vfe),h=R({},n,{component:s,disableTypography:u}),b=mfe(h);let x=f;x!=null&&x.type!==Ne&&!u&&(x=_.jsx(Ne,R({variant:a?"body2":"h5",className:b.title,component:"span",display:"block"},p,{children:x})));let g=l;return g!=null&&g.type!==Ne&&!u&&(g=_.jsx(Ne,R({variant:a?"body2":"body1",className:b.subheader,color:"text.secondary",component:"span",display:"block"},d,{children:g}))),_.jsxs(hfe,R({className:ce(b.root,i),as:s,ref:r,ownerState:h},v,{children:[a&&_.jsx(gfe,{className:b.avatar,ownerState:h,children:a}),_.jsxs(bfe,{className:b.content,ownerState:h,children:[x,g]}),o&&_.jsx(yfe,{className:b.action,ownerState:h,children:o})]}))}),pi=_fe;function xfe(e){return we("PrivateSwitchBase",e)}Ce("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const wfe=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Sfe=e=>{const{classes:t,checked:r,disabled:n,edge:o}=e,a={root:["root",r&&"checked",n&&"disabled",o&&`edge${ae(o)}`],input:["input"]};return _e(a,xfe,t)},Ofe=V(ra)(({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})),Cfe=V("input",{shouldForwardProp:lr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Efe=c.forwardRef(function(t,r){const{autoFocus:n,checked:o,checkedIcon:a,className:i,defaultChecked:s,disabled:u,disableFocusRipple:l=!1,edge:d=!1,icon:f,id:p,inputProps:v,inputRef:h,name:b,onBlur:x,onChange:g,onFocus:m,readOnly:y,required:C=!1,tabIndex:O,type:S,value:P}=t,E=se(t,wfe),[$,k]=Dl({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),T=ro(),j=N=>{m&&m(N),T&&T.onFocus&&T.onFocus(N)},I=N=>{x&&x(N),T&&T.onBlur&&T.onBlur(N)},A=N=>{if(N.nativeEvent.defaultPrevented)return;const q=N.target.checked;k(q),g&&g(N,q)};let D=u;T&&typeof D>"u"&&(D=T.disabled);const L=S==="checkbox"||S==="radio",B=R({},t,{checked:$,disabled:D,disableFocusRipple:l,edge:d}),M=Sfe(B);return _.jsxs(Ofe,R({component:"span",className:ce(M.root,i),centerRipple:!0,focusRipple:!l,disabled:D,tabIndex:null,role:void 0,onFocus:j,onBlur:I,ownerState:B,ref:r},E,{children:[_.jsx(Cfe,R({autoFocus:n,checked:o,defaultChecked:s,className:M.input,disabled:D,id:L?p:void 0,name:b,onChange:A,readOnly:y,ref:h,required:C,ownerState:B,tabIndex:O,type:S},S==="checkbox"&&P===void 0?{}:{value:P},v)),$?a:f]}))}),KN=Efe,Pfe=nn(_.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"),$fe=nn(_.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"),Rfe=nn(_.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 kfe(e){return we("MuiCheckbox",e)}const Tfe=Ce("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Xy=Tfe,jfe=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Ife=e=>{const{classes:t,indeterminate:r,color:n,size:o}=e,a={root:["root",r&&"indeterminate",`color${ae(n)}`,`size${ae(o)}`]},i=_e(a,kfe,t);return R({},t,i)},Afe=V(KN,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${ae(r.size)}`],r.color!=="default"&&t[`color${ae(r.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[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Xy.checked}, &.${Xy.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Xy.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),Mfe=_.jsx($fe,{}),Ffe=_.jsx(Pfe,{}),Nfe=_.jsx(Rfe,{}),Lfe=c.forwardRef(function(t,r){var n,o;const a=Ee({props:t,name:"MuiCheckbox"}),{checkedIcon:i=Mfe,color:s="primary",icon:u=Ffe,indeterminate:l=!1,indeterminateIcon:d=Nfe,inputProps:f,size:p="medium",className:v}=a,h=se(a,jfe),b=l?d:u,x=l?d:i,g=R({},a,{color:s,indeterminate:l,size:p}),m=Ife(g);return _.jsx(Afe,R({type:"checkbox",inputProps:R({"data-indeterminate":l},f),icon:c.cloneElement(b,{fontSize:(n=b.props.fontSize)!=null?n:p}),checkedIcon:c.cloneElement(x,{fontSize:(o=x.props.fontSize)!=null?o:p}),ownerState:g,ref:r,className:ce(m.root,v)},h,{classes:m}))}),Hl=Lfe;function Dfe(e){return we("MuiCircularProgress",e)}Ce("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Bfe=["className","color","disableShrink","size","style","thickness","value","variant"];let Pg=e=>e,Q2,X2,Y2,J2;const ca=44,zfe=ea(Q2||(Q2=Pg` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`)),Vfe=ea(X2||(X2=Pg` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -125px; + } +`)),Ufe=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,a={root:["root",r,`color${ae(n)}`],svg:["svg"],circle:["circle",`circle${ae(r)}`,o&&"circleDisableShrink"]};return _e(a,Dfe,t)},Wfe=V("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${ae(r.color)}`]]}})(({ownerState:e,theme:t})=>R({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&ds(Y2||(Y2=Pg` + animation: ${0} 1.4s linear infinite; + `),zfe)),qfe=V("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Hfe=V("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>R({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&ds(J2||(J2=Pg` + animation: ${0} 1.4s ease-in-out infinite; + `),Vfe)),Gfe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiCircularProgress"}),{className:o,color:a="primary",disableShrink:i=!1,size:s=40,style:u,thickness:l=3.6,value:d=0,variant:f="indeterminate"}=n,p=se(n,Bfe),v=R({},n,{color:a,disableShrink:i,size:s,thickness:l,value:d,variant:f}),h=Ufe(v),b={},x={},g={};if(f==="determinate"){const m=2*Math.PI*((ca-l)/2);b.strokeDasharray=m.toFixed(3),g["aria-valuenow"]=Math.round(d),b.strokeDashoffset=`${((100-d)/100*m).toFixed(3)}px`,x.transform="rotate(-90deg)"}return _.jsx(Wfe,R({className:ce(h.root,o),style:R({width:s,height:s},x,u),ownerState:v,ref:r,role:"progressbar"},g,p,{children:_.jsx(qfe,{className:h.svg,ownerState:v,viewBox:`${ca/2} ${ca/2} ${ca} ${ca}`,children:_.jsx(Hfe,{className:h.circle,style:b,ownerState:v,cx:ca,cy:ca,r:(ca-l)/2,fill:"none",strokeWidth:l})})}))}),Su=Gfe,Kfe=Fie({createStyledComponent:V("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`maxWidth${ae(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Ee({props:e,name:"MuiContainer"})}),$s=Kfe,Qfe=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Xfe=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}});function Yfe(e){return we("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const Jfe=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Zfe=e=>{const{open:t,exited:r,classes:n}=e;return _e({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Yfe,n)},epe=V("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.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"})),tpe=V(qN,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),rpe=c.forwardRef(function(t,r){var n,o,a,i,s,u;const l=Ee({name:"MuiModal",props:t}),{BackdropComponent:d=tpe,BackdropProps:f,className:p,closeAfterTransition:v=!1,children:h,container:b,component:x,components:g={},componentsProps:m={},disableAutoFocus:y=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:O=!1,disablePortal:S=!1,disableRestoreFocus:P=!1,disableScrollLock:E=!1,hideBackdrop:$=!1,keepMounted:k=!1,onBackdropClick:T,open:j,slotProps:I,slots:A}=l,D=se(l,Jfe),L=R({},l,{closeAfterTransition:v,disableAutoFocus:y,disableEnforceFocus:C,disableEscapeKeyDown:O,disablePortal:S,disableRestoreFocus:P,disableScrollLock:E,hideBackdrop:$,keepMounted:k}),{getRootProps:B,getBackdropProps:M,getTransitionProps:N,portalRef:q,isTopModal:K,exited:W,hasTransition:le}=Pue(R({},L,{rootRef:r})),Y=R({},L,{exited:W}),G=Zfe(Y),ne={};if(h.props.tabIndex===void 0&&(ne.tabIndex="-1"),le){const{onEnter:H,onExited:fe}=N();ne.onEnter=H,ne.onExited=fe}const ve=(n=(o=A==null?void 0:A.root)!=null?o:g.Root)!=null?n:epe,ie=(a=(i=A==null?void 0:A.backdrop)!=null?i:g.Backdrop)!=null?a:d,re=(s=I==null?void 0:I.root)!=null?s:m.root,oe=(u=I==null?void 0:I.backdrop)!=null?u:m.backdrop,Z=En({elementType:ve,externalSlotProps:re,externalForwardedProps:D,getSlotProps:B,additionalProps:{ref:r,as:x},ownerState:Y,className:ce(p,re==null?void 0:re.className,G==null?void 0:G.root,!Y.open&&Y.exited&&(G==null?void 0:G.hidden))}),ee=En({elementType:ie,externalSlotProps:oe,additionalProps:f,getSlotProps:H=>M(R({},H,{onClick:fe=>{T&&T(fe),H!=null&&H.onClick&&H.onClick(fe)}})),className:ce(oe==null?void 0:oe.className,f==null?void 0:f.className,G==null?void 0:G.backdrop),ownerState:Y});return!k&&!j&&(!le||W)?null:_.jsx(RN,{ref:q,container:b,disablePortal:S,children:_.jsxs(ve,R({},Z,{children:[!$&&d?_.jsx(ie,R({},ee)):null,_.jsx(gue,{disableEnforceFocus:C,disableAutoFocus:y,disableRestoreFocus:P,isEnabled:K,open:j,children:c.cloneElement(h,ne)})]}))})}),CS=rpe;function npe(e){return we("MuiDialog",e)}const ope=Ce("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Yy=ope,ape=c.createContext({}),QN=ape,ipe=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],spe=V(qN,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),lpe=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:a}=e,i={root:["root"],container:["container",`scroll${ae(r)}`],paper:["paper",`paperScroll${ae(r)}`,`paperWidth${ae(String(n))}`,o&&"paperFullWidth",a&&"paperFullScreen"]};return _e(i,npe,t)},upe=V(CS,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),cpe=V("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${ae(r.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"}})),dpe=V(ai,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${ae(r.scroll)}`],t[`paperWidth${ae(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.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):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${Yy.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}`,[`&.${Yy.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,[`&.${Yy.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),fpe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDialog"}),o=Mn(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":s,BackdropComponent:u,BackdropProps:l,children:d,className:f,disableEscapeKeyDown:p=!1,fullScreen:v=!1,fullWidth:h=!1,maxWidth:b="sm",onBackdropClick:x,onClose:g,open:m,PaperComponent:y=ai,PaperProps:C={},scroll:O="paper",TransitionComponent:S=WN,transitionDuration:P=a,TransitionProps:E}=n,$=se(n,ipe),k=R({},n,{disableEscapeKeyDown:p,fullScreen:v,fullWidth:h,maxWidth:b,scroll:O}),T=lpe(k),j=c.useRef(),I=B=>{j.current=B.target===B.currentTarget},A=B=>{j.current&&(j.current=null,x&&x(B),g&&g(B,"backdropClick"))},D=rs(s),L=c.useMemo(()=>({titleId:D}),[D]);return _.jsx(upe,R({className:ce(T.root,f),closeAfterTransition:!0,components:{Backdrop:spe},componentsProps:{backdrop:R({transitionDuration:P,as:u},l)},disableEscapeKeyDown:p,onClose:g,open:m,ref:r,onClick:A,ownerState:k},$,{children:_.jsx(S,R({appear:!0,in:m,timeout:P,role:"presentation"},E,{children:_.jsx(cpe,{className:ce(T.container),onMouseDown:I,ownerState:k,children:_.jsx(dpe,R({as:y,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":D},C,{className:ce(T.paper,C.className),ownerState:k,children:_.jsx(QN.Provider,{value:L,children:d})}))})}))}))}),sf=fpe;function ppe(e){return we("MuiDialogActions",e)}Ce("MuiDialogActions",["root","spacing"]);const vpe=["className","disableSpacing"],mpe=e=>{const{classes:t,disableSpacing:r}=e;return _e({root:["root",!r&&"spacing"]},ppe,t)},hpe=V("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>R({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),gpe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDialogActions"}),{className:o,disableSpacing:a=!1}=n,i=se(n,vpe),s=R({},n,{disableSpacing:a}),u=mpe(s);return _.jsx(hpe,R({className:ce(u.root,o),ownerState:s,ref:r},i))}),ES=gpe;function ype(e){return we("MuiDialogContent",e)}Ce("MuiDialogContent",["root","dividers"]);function bpe(e){return we("MuiDialogTitle",e)}const _pe=Ce("MuiDialogTitle",["root"]),xpe=_pe,wpe=["className","dividers"],Spe=e=>{const{classes:t,dividers:r}=e;return _e({root:["root",r&&"dividers"]},ype,t)},Ope=V("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.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}`}:{[`.${xpe.root} + &`]:{paddingTop:0}})),Cpe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDialogContent"}),{className:o,dividers:a=!1}=n,i=se(n,wpe),s=R({},n,{dividers:a}),u=Spe(s);return _.jsx(Ope,R({className:ce(u.root,o),ownerState:s,ref:r},i))}),lf=Cpe;function Epe(e){return we("MuiDialogContentText",e)}Ce("MuiDialogContentText",["root"]);const Ppe=["children","className"],$pe=e=>{const{classes:t}=e,n=_e({root:["root"]},Epe,t);return R({},t,n)},Rpe=V(Ne,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(e,t)=>t.root})({}),kpe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDialogContentText"}),{className:o}=n,a=se(n,Ppe),i=$pe(a);return _.jsx(Rpe,R({component:"p",variant:"body1",color:"text.secondary",ref:r,ownerState:a,className:ce(i.root,o)},n,{classes:i}))}),$g=kpe,Tpe=["className","id"],jpe=e=>{const{classes:t}=e;return _e({root:["root"]},bpe,t)},Ipe=V(Ne,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Ape=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDialogTitle"}),{className:o,id:a}=n,i=se(n,Tpe),s=n,u=jpe(s),{titleId:l=a}=c.useContext(QN);return _.jsx(Ipe,R({component:"h2",className:ce(u.root,o),ownerState:s,ref:r,variant:"h6",id:a??l},i))}),uf=Ape;function Mpe(e){return we("MuiDivider",e)}const Fpe=Ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Z2=Fpe,Npe=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Lpe=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:a,orientation:i,textAlign:s,variant:u}=e;return _e({root:["root",t&&"absolute",u,a&&"light",i==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&i==="vertical"&&"withChildrenVertical",s==="right"&&i!=="vertical"&&"textAlignRight",s==="left"&&i!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",i==="vertical"&&"wrapperVertical"]},Mpe,n)},Dpe=V("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.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)`:Ye(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"}),({ownerState:e})=>R({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({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%"}})),Bpe=V("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.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)`})),XN=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDivider"}),{absolute:o=!1,children:a,className:i,component:s=a?"div":"hr",flexItem:u=!1,light:l=!1,orientation:d="horizontal",role:f=s!=="hr"?"separator":void 0,textAlign:p="center",variant:v="fullWidth"}=n,h=se(n,Npe),b=R({},n,{absolute:o,component:s,flexItem:u,light:l,orientation:d,role:f,textAlign:p,variant:v}),x=Lpe(b);return _.jsx(Dpe,R({as:s,className:ce(x.root,i),role:f,ref:r,ownerState:b},h,{children:a?_.jsx(Bpe,{className:x.wrapper,ownerState:b,children:a}):null}))});XN.muiSkipListHighlight=!0;const g1=XN,zpe=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Vpe(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),a=On(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const l=a.getComputedStyle(t);i=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}let s=0,u=0;if(i&&i!=="none"&&typeof i=="string"){const l=i.split("(")[1].split(")")[0].split(",");s=parseInt(l[4],10),u=parseInt(l[5],10)}return e==="left"?o?`translateX(${o.right+s-n.left}px)`:`translateX(${a.innerWidth+s-n.left}px)`:e==="right"?o?`translateX(-${n.right-o.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:e==="up"?o?`translateY(${o.bottom+u-n.top}px)`:`translateY(${a.innerHeight+u-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-u}px)`:`translateY(-${n.top+n.height-u}px)`}function Upe(e){return typeof e=="function"?e():e}function Xf(e,t,r){const n=Upe(r),o=Vpe(e,t,n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Wpe=c.forwardRef(function(t,r){const n=Mn(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:u,container:l,direction:d="down",easing:f=o,in:p,onEnter:v,onEntered:h,onEntering:b,onExit:x,onExited:g,onExiting:m,style:y,timeout:C=a,TransitionComponent:O=pS}=t,S=se(t,zpe),P=c.useRef(null),E=xt(u.ref,P,r),$=M=>N=>{M&&(N===void 0?M(P.current):M(P.current,N))},k=$((M,N)=>{Xf(d,M,l),hS(M),v&&v(M,N)}),T=$((M,N)=>{const q=Bl({timeout:C,style:y,easing:f},{mode:"enter"});M.style.webkitTransition=n.transitions.create("-webkit-transform",R({},q)),M.style.transition=n.transitions.create("transform",R({},q)),M.style.webkitTransform="none",M.style.transform="none",b&&b(M,N)}),j=$(h),I=$(m),A=$(M=>{const N=Bl({timeout:C,style:y,easing:f},{mode:"exit"});M.style.webkitTransition=n.transitions.create("-webkit-transform",N),M.style.transition=n.transitions.create("transform",N),Xf(d,M,l),x&&x(M)}),D=$(M=>{M.style.webkitTransition="",M.style.transition="",g&&g(M)}),L=M=>{i&&i(P.current,M)},B=c.useCallback(()=>{P.current&&Xf(d,P.current,l)},[d,l]);return c.useEffect(()=>{if(p||d==="down"||d==="right")return;const M=_u(()=>{P.current&&Xf(d,P.current,l)}),N=On(P.current);return N.addEventListener("resize",M),()=>{M.clear(),N.removeEventListener("resize",M)}},[d,p,l]),c.useEffect(()=>{p||B()},[p,B]),_.jsx(O,R({nodeRef:P,onEnter:k,onEntered:j,onEntering:T,onExit:A,onExited:D,onExiting:I,addEndListener:L,appear:s,in:p,timeout:C},S,{children:(M,N)=>c.cloneElement(u,R({ref:E,style:R({visibility:M==="exited"&&!p?"hidden":void 0},y,u.props.style)},N))}))}),YN=Wpe;function qpe(e){return we("MuiDrawer",e)}Ce("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Hpe=["BackdropProps"],Gpe=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],JN=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},Kpe=e=>{const{classes:t,anchor:r,variant:n}=e,o={root:["root"],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ae(r)}`,n!=="temporary"&&`paperAnchorDocked${ae(r)}`]};return _e(o,qpe,t)},Qpe=V(CS,{name:"MuiDrawer",slot:"Root",overridesResolver:JN})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),eR=V("div",{shouldForwardProp:lr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:JN})({flex:"0 0 auto"}),Xpe=V(ai,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${ae(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${ae(r.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}`})),ZN={left:"right",right:"left",top:"down",bottom:"up"};function Ype(e){return["left","right"].indexOf(e)!==-1}function Jpe({direction:e},t){return e==="rtl"&&Ype(t)?ZN[t]:t}const Zpe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiDrawer"}),o=Mn(),a=oi(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:u,children:l,className:d,elevation:f=16,hideBackdrop:p=!1,ModalProps:{BackdropProps:v}={},onClose:h,open:b=!1,PaperProps:x={},SlideProps:g,TransitionComponent:m=YN,transitionDuration:y=i,variant:C="temporary"}=n,O=se(n.ModalProps,Hpe),S=se(n,Gpe),P=c.useRef(!1);c.useEffect(()=>{P.current=!0},[]);const E=Jpe({direction:a?"rtl":"ltr"},s),k=R({},n,{anchor:s,elevation:f,open:b,variant:C},S),T=Kpe(k),j=_.jsx(Xpe,R({elevation:C==="temporary"?f:0,square:!0},x,{className:ce(T.paper,x.className),ownerState:k,children:l}));if(C==="permanent")return _.jsx(eR,R({className:ce(T.root,T.docked,d),ownerState:k,ref:r},S,{children:j}));const I=_.jsx(m,R({in:b,direction:ZN[E],timeout:y,appear:P.current},g,{children:j}));return C==="persistent"?_.jsx(eR,R({className:ce(T.root,T.docked,d),ownerState:k,ref:r},S,{children:I})):_.jsx(Qpe,R({BackdropProps:R({},u,v,{transitionDuration:y}),className:ce(T.root,T.modal,d),open:b,ownerState:k,onClose:h,hideBackdrop:p,ref:r},S,O,{children:I}))}),eve=Zpe;function tve(e){return we("MuiFab",e)}const rve=Ce("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),tR=rve,nve=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],ove=e=>{const{color:t,variant:r,classes:n,size:o}=e,a={root:["root",r,`size${ae(o)}`,t==="inherit"?"colorInherit":t]},i=_e(a,tve,n);return R({},n,i)},ave=V(ra,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>lr(e)||e==="classes",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ae(r.size)}`],r.color==="inherit"&&t.colorInherit,t[ae(r.size)],t[r.color]]}})(({theme:e,ownerState:t})=>{var r,n;return R({},e.typography.button,{minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${tR.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]}},t.size==="small"&&{width:40,height:40},t.size==="medium"&&{width:48,height:48},t.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},t.variant==="extended"&&t.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},t.variant==="extended"&&t.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},t.color==="inherit"&&{color:"inherit"})},({theme:e,ownerState:t})=>R({},t.color!=="inherit"&&t.color!=="default"&&(e.vars||e).palette[t.color]!=null&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}}),({theme:e})=>({[`&.${tR.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}})),ive=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiFab"}),{children:o,className:a,color:i="default",component:s="button",disabled:u=!1,disableFocusRipple:l=!1,focusVisibleClassName:d,size:f="large",variant:p="circular"}=n,v=se(n,nve),h=R({},n,{color:i,component:s,disabled:u,disableFocusRipple:l,size:f,variant:p}),b=ove(h);return _.jsx(ave,R({className:ce(b.root,a),component:s,disabled:u,focusRipple:!l,focusVisibleClassName:ce(b.focusVisible,d),ownerState:h,ref:r},v,{classes:b,children:o}))}),sve=ive,lve=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],uve=e=>{const{classes:t,disableUnderline:r}=e,o=_e({root:["root",!r&&"underline"],input:["input"]},mde,t);return R({},t,o)},cve=V(Og,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...wg(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${fi.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${fi.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.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"},[`&.${fi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${fi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::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(.${fi.disabled}, .${fi.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${fi.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},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),dve=V(Cg,{name:"MuiFilledInput",slot:"Input",overridesResolver:Sg})(({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.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),eL=c.forwardRef(function(t,r){var n,o,a,i;const s=Ee({props:t,name:"MuiFilledInput"}),{components:u={},componentsProps:l,fullWidth:d=!1,inputComponent:f="input",multiline:p=!1,slotProps:v,slots:h={},type:b="text"}=s,x=se(s,lve),g=R({},s,{fullWidth:d,inputComponent:f,multiline:p,type:b}),m=uve(s),y={root:{ownerState:g},input:{ownerState:g}},C=v??l?Cr(y,v??l):y,O=(n=(o=h.root)!=null?o:u.Root)!=null?n:cve,S=(a=(i=h.input)!=null?i:u.Input)!=null?a:dve;return _.jsx(Eg,R({slots:{root:O,input:S},componentsProps:C,fullWidth:d,inputComponent:f,multiline:p,ref:r,type:b},x,{classes:m}))});eL.muiName="Input";const tL=eL;function fve(e){return we("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const pve=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],vve=e=>{const{classes:t,margin:r,fullWidth:n}=e,o={root:["root",r!=="none"&&`margin${ae(r)}`,n&&"fullWidth"]};return _e(o,fve,t)},mve=V("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>R({},t.root,t[`margin${ae(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%"})),hve=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiFormControl"}),{children:o,className:a,color:i="primary",component:s="div",disabled:u=!1,error:l=!1,focused:d,fullWidth:f=!1,hiddenLabel:p=!1,margin:v="none",required:h=!1,size:b="medium",variant:x="outlined"}=n,g=se(n,pve),m=R({},n,{color:i,component:s,disabled:u,error:l,fullWidth:f,hiddenLabel:p,margin:v,required:h,size:b,variant:x}),y=vve(m),[C,O]=c.useState(()=>{let I=!1;return o&&c.Children.forEach(o,A=>{if(!kp(A,["Input","Select"]))return;const D=kp(A,["Select"])?A.props.input:A;D&&ode(D.props)&&(I=!0)}),I}),[S,P]=c.useState(()=>{let I=!1;return o&&c.Children.forEach(o,A=>{kp(A,["Input","Select"])&&(om(A.props,!0)||om(A.props.inputProps,!0))&&(I=!0)}),I}),[E,$]=c.useState(!1);u&&E&&$(!1);const k=d!==void 0&&!u?d:E;let T;const j=c.useMemo(()=>({adornedStart:C,setAdornedStart:O,color:i,disabled:u,error:l,filled:S,focused:k,fullWidth:f,hiddenLabel:p,size:b,onBlur:()=>{$(!1)},onEmpty:()=>{P(!1)},onFilled:()=>{P(!0)},onFocus:()=>{$(!0)},registerEffect:T,required:h,variant:x}),[C,i,u,l,S,k,f,p,T,h,b,x]);return _.jsx(xg.Provider,{value:j,children:_.jsx(mve,R({as:s,ownerState:m,className:ce(y.root,a),ref:r},g,{children:o}))})}),rL=hve,gve=Wie({createStyledComponent:V("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Ee({props:e,name:"MuiStack"})}),cf=gve;function yve(e){return we("MuiFormControlLabel",e)}const bve=Ce("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),uc=bve,_ve=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],xve=e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:a}=e,i={root:["root",r&&"disabled",`labelPlacement${ae(n)}`,o&&"error",a&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]};return _e(i,yve,t)},wve=V("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${uc.label}`]:t.label},t.root,t[`labelPlacement${ae(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>R({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${uc.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${uc.label}`]:{[`&.${uc.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),Sve=V("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${uc.error}`]:{color:(e.vars||e).palette.error.main}})),Ove=c.forwardRef(function(t,r){var n,o;const a=Ee({props:t,name:"MuiFormControlLabel"}),{className:i,componentsProps:s={},control:u,disabled:l,disableTypography:d,label:f,labelPlacement:p="end",required:v,slotProps:h={}}=a,b=se(a,_ve),x=ro(),g=(n=l??u.props.disabled)!=null?n:x==null?void 0:x.disabled,m=v??u.props.required,y={disabled:g,required:m};["checked","name","onChange","value","inputRef"].forEach($=>{typeof u.props[$]>"u"&&typeof a[$]<"u"&&(y[$]=a[$])});const C=na({props:a,muiFormControl:x,states:["error"]}),O=R({},a,{disabled:g,labelPlacement:p,required:m,error:C.error}),S=xve(O),P=(o=h.typography)!=null?o:s.typography;let E=f;return E!=null&&E.type!==Ne&&!d&&(E=_.jsx(Ne,R({component:"span"},P,{className:ce(S.label,P==null?void 0:P.className),children:E}))),_.jsxs(wve,R({className:ce(S.root,i),ownerState:O,ref:r},b,{children:[c.cloneElement(u,y),m?_.jsxs(cf,{display:"block",children:[E,_.jsxs(Sve,{ownerState:O,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}):E]}))}),y1=Ove;function Cve(e){return we("MuiFormGroup",e)}Ce("MuiFormGroup",["root","row","error"]);const Eve=["className","row"],Pve=e=>{const{classes:t,row:r,error:n}=e;return _e({root:["root",r&&"row",n&&"error"]},Cve,t)},$ve=V("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.row&&t.row]}})(({ownerState:e})=>R({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})),Rve=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiFormGroup"}),{className:o,row:a=!1}=n,i=se(n,Eve),s=ro(),u=na({props:n,muiFormControl:s,states:["error"]}),l=R({},n,{row:a,error:u.error}),d=Pve(l);return _.jsx($ve,R({className:ce(d.root,o),ownerState:l,ref:r},i))}),kve=Rve;function Tve(e){return we("MuiFormHelperText",e)}const jve=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),rR=jve;var nR;const Ive=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ave=e=>{const{classes:t,contained:r,size:n,disabled:o,error:a,filled:i,focused:s,required:u}=e,l={root:["root",o&&"disabled",a&&"error",n&&`size${ae(n)}`,r&&"contained",s&&"focused",i&&"filled",u&&"required"]};return _e(l,Tve,t)},Mve=V("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${ae(r.size)}`],r.contained&&t.contained,r.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,[`&.${rR.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${rR.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),Fve=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiFormHelperText"}),{children:o,className:a,component:i="p"}=n,s=se(n,Ive),u=ro(),l=na({props:n,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),d=R({},n,{component:i,contained:l.variant==="filled"||l.variant==="outlined",variant:l.variant,size:l.size,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),f=Ave(d);return _.jsx(Mve,R({as:i,ownerState:d,className:ce(f.root,a),ref:r},s,{children:o===" "?nR||(nR=_.jsx("span",{className:"notranslate",children:"​"})):o}))}),PS=Fve;function Nve(e){return we("MuiFormLabel",e)}const Lve=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),kc=Lve,Dve=["children","className","color","component","disabled","error","filled","focused","required"],Bve=e=>{const{classes:t,color:r,focused:n,disabled:o,error:a,filled:i,required:s}=e,u={root:["root",`color${ae(r)}`,o&&"disabled",a&&"error",i&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",a&&"error"]};return _e(u,Nve,t)},zve=V("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",[`&.${kc.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${kc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${kc.error}`]:{color:(e.vars||e).palette.error.main}})),Vve=V("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${kc.error}`]:{color:(e.vars||e).palette.error.main}})),Uve=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiFormLabel"}),{children:o,className:a,component:i="label"}=n,s=se(n,Dve),u=ro(),l=na({props:n,muiFormControl:u,states:["color","required","focused","disabled","error","filled"]}),d=R({},n,{color:l.color||"primary",component:i,disabled:l.disabled,error:l.error,filled:l.filled,focused:l.focused,required:l.required}),f=Bve(d);return _.jsxs(zve,R({as:i,ownerState:d,className:ce(f.root,a),ref:r},s,{children:[o,l.required&&_.jsxs(Vve,{ownerState:d,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),Wve=Uve,qve=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function b1(e){return`scale(${e}, ${e**2})`}const Hve={entering:{opacity:1,transform:b1(1)},entered:{opacity:1,transform:"none"}},Jy=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),nL=c.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:a,easing:i,in:s,onEnter:u,onEntered:l,onEntering:d,onExit:f,onExited:p,onExiting:v,style:h,timeout:b="auto",TransitionComponent:x=pS}=t,g=se(t,qve),m=$i(),y=c.useRef(),C=Mn(),O=c.useRef(null),S=xt(O,a.ref,r),P=D=>L=>{if(D){const B=O.current;L===void 0?D(B):D(B,L)}},E=P(d),$=P((D,L)=>{hS(D);const{duration:B,delay:M,easing:N}=Bl({style:h,timeout:b,easing:i},{mode:"enter"});let q;b==="auto"?(q=C.transitions.getAutoHeightDuration(D.clientHeight),y.current=q):q=B,D.style.transition=[C.transitions.create("opacity",{duration:q,delay:M}),C.transitions.create("transform",{duration:Jy?q:q*.666,delay:M,easing:N})].join(","),u&&u(D,L)}),k=P(l),T=P(v),j=P(D=>{const{duration:L,delay:B,easing:M}=Bl({style:h,timeout:b,easing:i},{mode:"exit"});let N;b==="auto"?(N=C.transitions.getAutoHeightDuration(D.clientHeight),y.current=N):N=L,D.style.transition=[C.transitions.create("opacity",{duration:N,delay:B}),C.transitions.create("transform",{duration:Jy?N:N*.666,delay:Jy?B:B||N*.333,easing:M})].join(","),D.style.opacity=0,D.style.transform=b1(.75),f&&f(D)}),I=P(p),A=D=>{b==="auto"&&m.start(y.current||0,D),n&&n(O.current,D)};return _.jsx(x,R({appear:o,in:s,nodeRef:O,onEnter:$,onEntered:k,onEntering:E,onExit:j,onExited:I,onExiting:T,addEndListener:A,timeout:b==="auto"?null:b},g,{children:(D,L)=>c.cloneElement(a,R({style:R({opacity:0,transform:b1(.75),visibility:D==="exited"&&!s?"hidden":void 0},Hve[D],h,a.props.style),ref:S},L))}))});nL.muiSupportAuto=!0;const am=nL,Gve=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Kve=e=>{const{classes:t,disableUnderline:r}=e,o=_e({root:["root",!r&&"underline"],input:["input"]},dde,t);return R({},t,o)},Qve=V(Og,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...wg(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`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"},[`&.${Ku.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ku.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,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(.${Ku.disabled}, .${Ku.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Ku.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Xve=V(Cg,{name:"MuiInput",slot:"Input",overridesResolver:Sg})({}),oL=c.forwardRef(function(t,r){var n,o,a,i;const s=Ee({props:t,name:"MuiInput"}),{disableUnderline:u,components:l={},componentsProps:d,fullWidth:f=!1,inputComponent:p="input",multiline:v=!1,slotProps:h,slots:b={},type:x="text"}=s,g=se(s,Gve),m=Kve(s),C={root:{ownerState:{disableUnderline:u}}},O=h??d?Cr(h??d,C):C,S=(n=(o=b.root)!=null?o:l.Root)!=null?n:Qve,P=(a=(i=b.input)!=null?i:l.Input)!=null?a:Xve;return _.jsx(Eg,R({slots:{root:S,input:P},slotProps:O,fullWidth:f,inputComponent:p,multiline:v,ref:r,type:x},g,{classes:m}))});oL.muiName="Input";const $S=oL;function Yve(e){return we("MuiInputAdornment",e)}const Jve=Ce("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),oR=Jve;var aR;const Zve=["children","className","component","disablePointerEvents","disableTypography","position","variant"],eme=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${ae(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},tme=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:a,variant:i}=e,s={root:["root",r&&"disablePointerEvents",o&&`position${ae(o)}`,i,n&&"hiddenLabel",a&&`size${ae(a)}`]};return _e(s,Yve,t)},rme=V("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:eme})(({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"&&{[`&.${oR.positionStart}&:not(.${oR.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),nme=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiInputAdornment"}),{children:o,className:a,component:i="div",disablePointerEvents:s=!1,disableTypography:u=!1,position:l,variant:d}=n,f=se(n,Zve),p=ro()||{};let v=d;d&&p.variant,p&&!v&&(v=p.variant);const h=R({},n,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:l,variant:v}),b=tme(h);return _.jsx(xg.Provider,{value:null,children:_.jsx(rme,R({as:i,ownerState:h,className:ce(b.root,a),ref:r},f,{children:typeof o=="string"&&!u?_.jsx(Ne,{color:"text.secondary",children:o}):_.jsxs(c.Fragment,{children:[l==="start"?aR||(aR=_.jsx("span",{className:"notranslate",children:"​"})):null,o]})}))})}),ml=nme;function ome(e){return we("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const ame=["disableAnimation","margin","shrink","variant","className"],ime=e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:i,required:s}=e,u={root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&n!=="normal"&&`size${ae(n)}`,i],asterisk:[s&&"asterisk"]},l=_e(u,ome,t);return R({},t,l)},sme=V(Wve,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${kc.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.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% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),lme=c.forwardRef(function(t,r){const n=Ee({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:a,className:i}=n,s=se(n,ame),u=ro();let l=a;typeof l>"u"&&u&&(l=u.filled||u.focused||u.adornedStart);const d=na({props:n,muiFormControl:u,states:["size","variant","required","focused"]}),f=R({},n,{disableAnimation:o,formControl:u,shrink:l,size:d.size,variant:d.variant,required:d.required,focused:d.focused}),p=ime(f);return _.jsx(sme,R({"data-shrink":l,ownerState:f,ref:r,className:ce(p.root,i)},s,{classes:p}))}),aL=lme;function ume(e){return we("MuiLinearProgress",e)}Ce("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const cme=["className","color","value","valueBuffer","variant"];let Ou=e=>e,iR,sR,lR,uR,cR,dR;const _1=4,dme=ea(iR||(iR=Ou` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`)),fme=ea(sR||(sR=Ou` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`)),pme=ea(lR||(lR=Ou` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`)),vme=e=>{const{classes:t,variant:r,color:n}=e,o={root:["root",`color${ae(n)}`,r],dashed:["dashed",`dashedColor${ae(n)}`],bar1:["bar",`barColor${ae(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar",r!=="buffer"&&`barColor${ae(n)}`,r==="buffer"&&`color${ae(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return _e(o,ume,t)},RS=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?gg(e.palette[t].main,.62):hg(e.palette[t].main,.5),mme=V("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${ae(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>R({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:RS(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),hme=V("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${ae(r.color)}`]]}})(({ownerState:e,theme:t})=>{const r=RS(t,e.color);return R({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},ds(uR||(uR=Ou` + animation: ${0} 3s infinite linear; + `),pme)),gme=V("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${ae(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar1Indeterminate,r.variant==="determinate"&&t.bar1Determinate,r.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>R({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${_1}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${_1}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ds(cR||(cR=Ou` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),dme)),yme=V("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${ae(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar2Indeterminate,r.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>R({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:RS(t,e.color),transition:`transform .${_1}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ds(dR||(dR=Ou` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),fme)),bme=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiLinearProgress"}),{className:o,color:a="primary",value:i,valueBuffer:s,variant:u="indeterminate"}=n,l=se(n,cme),d=R({},n,{color:a,variant:u}),f=vme(d),p=oi(),v={},h={bar1:{},bar2:{}};if((u==="determinate"||u==="buffer")&&i!==void 0){v["aria-valuenow"]=Math.round(i),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let b=i-100;p&&(b=-b),h.bar1.transform=`translateX(${b}%)`}if(u==="buffer"&&s!==void 0){let b=(s||0)-100;p&&(b=-b),h.bar2.transform=`translateX(${b}%)`}return _.jsxs(mme,R({className:ce(f.root,o),ownerState:d,role:"progressbar"},v,{ref:r},l,{children:[u==="buffer"?_.jsx(hme,{className:f.dashed,ownerState:d}):null,_.jsx(gme,{className:f.bar1,ownerState:d,style:h.bar1}),u==="determinate"?null:_.jsx(yme,{className:f.bar2,ownerState:d,style:h.bar2})]}))}),_me=bme;function xme(e){return we("MuiLink",e)}const wme=Ce("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Sme=wme,iL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ome=e=>iL[e]||e,Cme=({theme:e,ownerState:t})=>{const r=Ome(t.color),n=Nl(e,`palette.${r}`,!1)||t.color,o=Nl(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:Ye(n,.4)},Eme=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],Pme=e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e,a={root:["root",`underline${ae(o)}`,r==="button"&&"button",n&&"focusVisible"]};return _e(a,xme,t)},$me=V(Ne,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${ae(r.underline)}`],r.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:Cme({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"},[`&.${Sme.focusVisible}`]:{outline:"auto"}})),Rme=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiLink"}),{className:o,color:a="primary",component:i="a",onBlur:s,onFocus:u,TypographyClasses:l,underline:d="always",variant:f="inherit",sx:p}=n,v=se(n,Eme),{isFocusVisibleRef:h,onBlur:b,onFocus:x,ref:g}=mg(),[m,y]=c.useState(!1),C=xt(r,g),O=$=>{b($),h.current===!1&&y(!1),s&&s($)},S=$=>{x($),h.current===!0&&y(!0),u&&u($)},P=R({},n,{color:a,component:i,focusVisible:m,underline:d,variant:f}),E=Pme(P);return _.jsx($me,R({color:a,className:ce(E.root,o),classes:l,component:i,onBlur:O,onFocus:S,ref:C,ownerState:P,variant:f,sx:[...Object.keys(iL).includes(a)?[]:[{color:a}],...Array.isArray(p)?p:[p]]},v))}),kme=Rme,Tme=c.createContext({}),_d=Tme;function jme(e){return we("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const Ime=["children","className","component","dense","disablePadding","subheader"],Ame=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return _e({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},jme,t)},Mme=V("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>R({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Fme=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiList"}),{children:o,className:a,component:i="ul",dense:s=!1,disablePadding:u=!1,subheader:l}=n,d=se(n,Ime),f=c.useMemo(()=>({dense:s}),[s]),p=R({},n,{component:i,dense:s,disablePadding:u}),v=Ame(p);return _.jsx(_d.Provider,{value:f,children:_.jsxs(Mme,R({as:i,className:ce(v.root,a),ref:r,ownerState:p},d,{children:[l,o]}))})}),Nme=Fme;function Lme(e){return we("MuiListItemIcon",e)}const Dme=Ce("MuiListItemIcon",["root","alignItemsFlexStart"]),fR=Dme,Bme=["className"],zme=e=>{const{alignItems:t,classes:r}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},Lme,r)},Vme=V("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>R({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),Ume=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiListItemIcon"}),{className:o}=n,a=se(n,Bme),i=c.useContext(_d),s=R({},n,{alignItems:i.alignItems}),u=zme(s);return _.jsx(Vme,R({className:ce(u.root,o),ownerState:s,ref:r},a))}),sL=Ume;function Wme(e){return we("MuiListItemText",e)}const qme=Ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),im=qme,Hme=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Gme=e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:a}=e;return _e({root:["root",r&&"inset",a&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},Wme,t)},Kme=V("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${im.primary}`]:t.primary},{[`& .${im.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.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})),Qme=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiListItemText"}),{children:o,className:a,disableTypography:i=!1,inset:s=!1,primary:u,primaryTypographyProps:l,secondary:d,secondaryTypographyProps:f}=n,p=se(n,Hme),{dense:v}=c.useContext(_d);let h=u??o,b=d;const x=R({},n,{disableTypography:i,inset:s,primary:!!h,secondary:!!b,dense:v}),g=Gme(x);return h!=null&&h.type!==Ne&&!i&&(h=_.jsx(Ne,R({variant:v?"body2":"body1",className:g.primary,component:l!=null&&l.variant?void 0:"span",display:"block"},l,{children:h}))),b!=null&&b.type!==Ne&&!i&&(b=_.jsx(Ne,R({variant:"body2",className:g.secondary,color:"text.secondary",display:"block"},f,{children:b}))),_.jsxs(Kme,R({className:ce(g.root,a),ownerState:x,ref:r},p,{children:[h,b]}))}),Xme=Qme,Yme=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Zy(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function pR(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function lL(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function Qu(e,t,r,n,o,a){let i=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const u=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!lL(s,a)||u)s=o(e,s,r);else return s.focus(),!0}return!1}const Jme=c.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:a=!1,children:i,className:s,disabledItemsFocusable:u=!1,disableListWrap:l=!1,onKeyDown:d,variant:f="selectedMenu"}=t,p=se(t,Yme),v=c.useRef(null),h=c.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Jr(()=>{o&&v.current.focus()},[o]),c.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(y,{direction:C})=>{const O=!v.current.style.width;if(y.clientHeight{const C=v.current,O=y.key,S=Dt(C).activeElement;if(O==="ArrowDown")y.preventDefault(),Qu(C,S,l,u,Zy);else if(O==="ArrowUp")y.preventDefault(),Qu(C,S,l,u,pR);else if(O==="Home")y.preventDefault(),Qu(C,null,l,u,Zy);else if(O==="End")y.preventDefault(),Qu(C,null,l,u,pR);else if(O.length===1){const P=h.current,E=O.toLowerCase(),$=performance.now();P.keys.length>0&&($-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&E!==P.keys[0]&&(P.repeating=!1)),P.lastTime=$,P.keys.push(E);const k=S&&!P.repeating&&lL(S,P);P.previousKeyMatched&&(k||Qu(C,S,!1,u,Zy,P))?y.preventDefault():P.previousKeyMatched=!1}d&&d(y)},x=xt(v,r);let g=-1;c.Children.forEach(i,(y,C)=>{if(!c.isValidElement(y)){g===C&&(g+=1,g>=i.length&&(g=-1));return}y.props.disabled||(f==="selectedMenu"&&y.props.selected||g===-1)&&(g=C),g===C&&(y.props.disabled||y.props.muiSkipListHighlight||y.type.muiSkipListHighlight)&&(g+=1,g>=i.length&&(g=-1))});const m=c.Children.map(i,(y,C)=>{if(C===g){const O={};return a&&(O.autoFocus=!0),y.props.tabIndex===void 0&&f==="selectedMenu"&&(O.tabIndex=0),c.cloneElement(y,O)}return y});return _.jsx(Nme,R({role:"menu",ref:x,className:s,onKeyDown:b,tabIndex:o?0:-1},p,{children:m}))}),uL=Jme;function Zme(e){return we("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);const ehe=["onEntering"],the=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],rhe=["slotProps"];function vR(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function mR(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function hR(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function eb(e){return typeof e=="function"?e():e}const nhe=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},Zme,t)},ohe=V(CS,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cL=V(ai,{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}),ahe=c.forwardRef(function(t,r){var n,o,a;const i=Ee({props:t,name:"MuiPopover"}),{action:s,anchorEl:u,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:f="anchorEl",children:p,className:v,container:h,elevation:b=8,marginThreshold:x=16,open:g,PaperProps:m={},slots:y,slotProps:C,transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:S=am,transitionDuration:P="auto",TransitionProps:{onEntering:E}={},disableScrollLock:$=!1}=i,k=se(i.TransitionProps,ehe),T=se(i,the),j=(n=C==null?void 0:C.paper)!=null?n:m,I=c.useRef(),A=xt(I,j.ref),D=R({},i,{anchorOrigin:l,anchorReference:f,elevation:b,marginThreshold:x,externalPaperSlotProps:j,transformOrigin:O,TransitionComponent:S,transitionDuration:P,TransitionProps:k}),L=nhe(D),B=c.useCallback(()=>{if(f==="anchorPosition")return d;const H=eb(u),de=(H&&H.nodeType===1?H:Dt(I.current).body).getBoundingClientRect();return{top:de.top+vR(de,l.vertical),left:de.left+mR(de,l.horizontal)}},[u,l.horizontal,l.vertical,d,f]),M=c.useCallback(H=>({vertical:vR(H,O.vertical),horizontal:mR(H,O.horizontal)}),[O.horizontal,O.vertical]),N=c.useCallback(H=>{const fe={width:H.offsetWidth,height:H.offsetHeight},de=M(fe);if(f==="none")return{top:null,left:null,transformOrigin:hR(de)};const Oe=B();let Ae=Oe.top-de.vertical,F=Oe.left-de.horizontal;const z=Ae+fe.height,U=F+fe.width,X=On(eb(u)),J=X.innerHeight-x,Q=X.innerWidth-x;if(x!==null&&AeJ){const ue=z-J;Ae-=ue,de.vertical+=ue}if(x!==null&&FQ){const ue=U-Q;F-=ue,de.horizontal+=ue}return{top:`${Math.round(Ae)}px`,left:`${Math.round(F)}px`,transformOrigin:hR(de)}},[u,f,B,M,x]),[q,K]=c.useState(g),W=c.useCallback(()=>{const H=I.current;if(!H)return;const fe=N(H);fe.top!==null&&(H.style.top=fe.top),fe.left!==null&&(H.style.left=fe.left),H.style.transformOrigin=fe.transformOrigin,K(!0)},[N]);c.useEffect(()=>($&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W)),[u,$,W]);const le=(H,fe)=>{E&&E(H,fe),W()},Y=()=>{K(!1)};c.useEffect(()=>{g&&W()}),c.useImperativeHandle(s,()=>g?{updatePosition:()=>{W()}}:null,[g,W]),c.useEffect(()=>{if(!g)return;const H=_u(()=>{W()}),fe=On(u);return fe.addEventListener("resize",H),()=>{H.clear(),fe.removeEventListener("resize",H)}},[u,g,W]);let G=P;P==="auto"&&!S.muiSupportAuto&&(G=void 0);const ne=h||(u?Dt(eb(u)).body:void 0),ve=(o=y==null?void 0:y.root)!=null?o:ohe,ie=(a=y==null?void 0:y.paper)!=null?a:cL,re=En({elementType:ie,externalSlotProps:R({},j,{style:q?j.style:R({},j.style,{opacity:0})}),additionalProps:{elevation:b,ref:A},ownerState:D,className:ce(L.paper,j==null?void 0:j.className)}),oe=En({elementType:ve,externalSlotProps:(C==null?void 0:C.root)||{},externalForwardedProps:T,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:ne,open:g},ownerState:D,className:ce(L.root,v)}),{slotProps:Z}=oe,ee=se(oe,rhe);return _.jsx(ve,R({},ee,!hd(ve)&&{slotProps:Z,disableScrollLock:$},{children:_.jsx(S,R({appear:!0,in:g,onEntering:le,onExited:Y,timeout:G},k,{children:_.jsx(ie,R({},re,{children:p}))}))}))}),kS=ahe;function ihe(e){return we("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const she=["onEntering"],lhe=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],uhe={vertical:"top",horizontal:"right"},che={vertical:"top",horizontal:"left"},dhe=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},ihe,t)},fhe=V(kS,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),phe=V(cL,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),vhe=V(uL,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),mhe=c.forwardRef(function(t,r){var n,o;const a=Ee({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:u,disableAutoFocusItem:l=!1,MenuListProps:d={},onClose:f,open:p,PaperProps:v={},PopoverClasses:h,transitionDuration:b="auto",TransitionProps:{onEntering:x}={},variant:g="selectedMenu",slots:m={},slotProps:y={}}=a,C=se(a.TransitionProps,she),O=se(a,lhe),S=oi(),P=R({},a,{autoFocus:i,disableAutoFocusItem:l,MenuListProps:d,onEntering:x,PaperProps:v,transitionDuration:b,TransitionProps:C,variant:g}),E=dhe(P),$=i&&!l&&p,k=c.useRef(null),T=(M,N)=>{k.current&&k.current.adjustStyleForScrollbar(M,{direction:S?"rtl":"ltr"}),x&&x(M,N)},j=M=>{M.key==="Tab"&&(M.preventDefault(),f&&f(M,"tabKeyDown"))};let I=-1;c.Children.map(s,(M,N)=>{c.isValidElement(M)&&(M.props.disabled||(g==="selectedMenu"&&M.props.selected||I===-1)&&(I=N))});const A=(n=m.paper)!=null?n:phe,D=(o=y.paper)!=null?o:v,L=En({elementType:m.root,externalSlotProps:y.root,ownerState:P,className:[E.root,u]}),B=En({elementType:A,externalSlotProps:D,ownerState:P,className:E.paper});return _.jsx(fhe,R({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?uhe:che,slots:{paper:A,root:m.root},slotProps:{root:L,paper:B},open:p,ref:r,transitionDuration:b,TransitionProps:R({onEntering:T},C),ownerState:P},O,{classes:h,children:_.jsx(vhe,R({onKeyDown:j,actions:k,autoFocus:i&&(I===-1||l),autoFocusItem:$,variant:g},d,{className:ce(E.list,d.className),children:s}))}))}),Rg=mhe;function hhe(e){return we("MuiMenuItem",e)}const ghe=Ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Xu=ghe,yhe=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],bhe=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},_he=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:a,classes:i}=e,u=_e({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",a&&"selected"]},hhe,i);return R({},i,u)},xhe=V(ra,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:bhe})(({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})`:Ye(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}))`:Ye(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}))`:Ye(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})`:Ye(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},[`& + .${Z2.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Z2.inset}`]:{marginLeft:52},[`& .${im.root}`]:{marginTop:0,marginBottom:0},[`& .${im.inset}`]:{paddingLeft:36},[`& .${fR.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&R({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${fR.root} svg`]:{fontSize:"1.25rem"}}))),whe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:a="li",dense:i=!1,divider:s=!1,disableGutters:u=!1,focusVisibleClassName:l,role:d="menuitem",tabIndex:f,className:p}=n,v=se(n,yhe),h=c.useContext(_d),b=c.useMemo(()=>({dense:i||h.dense||!1,disableGutters:u}),[h.dense,i,u]),x=c.useRef(null);Jr(()=>{o&&x.current&&x.current.focus()},[o]);const g=R({},n,{dense:b.dense,divider:s,disableGutters:u}),m=_he(n),y=xt(x,r);let C;return n.disabled||(C=f!==void 0?f:-1),_.jsx(_d.Provider,{value:b,children:_.jsx(xhe,R({ref:y,role:d,tabIndex:C,component:a,focusVisibleClassName:ce(m.focusVisible,l),className:ce(m.root,p)},v,{ownerState:g,classes:m}))})}),Gr=whe;function dL(e){return we("MuiNativeSelect",e)}const She=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),TS=She,Ohe=["className","disabled","error","IconComponent","inputRef","variant"],Che=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e,s={select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${ae(r)}`,a&&"iconOpen",n&&"disabled"]};return _e(s,dL,t)},fL=({ownerState:e,theme:t})=>R({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":R({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${TS.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Ehe=V("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:lr,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${TS.multiple}`]:t.multiple}]}})(fL),pL=({ownerState:e,theme:t})=>R({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${TS.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),Phe=V("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ae(r.variant)}`],r.open&&t.iconOpen]}})(pL),$he=c.forwardRef(function(t,r){const{className:n,disabled:o,error:a,IconComponent:i,inputRef:s,variant:u="standard"}=t,l=se(t,Ohe),d=R({},t,{disabled:o,variant:u,error:a}),f=Che(d);return _.jsxs(c.Fragment,{children:[_.jsx(Ehe,R({ownerState:d,className:ce(f.select,n),disabled:o,ref:s||r},l)),t.multiple?null:_.jsx(Phe,{as:i,ownerState:d,className:f.icon})]})}),vL=$he,Rhe=["className","children","classes","IconComponent","input","inputProps","variant"],khe=["root"],The=e=>{const{classes:t}=e;return _e({root:["root"]},dL,t)},jhe=_.jsx($S,{}),mL=c.forwardRef(function(t,r){const n=Ee({name:"MuiNativeSelect",props:t}),{className:o,children:a,classes:i={},IconComponent:s=UN,input:u=jhe,inputProps:l}=n,d=se(n,Rhe),f=ro(),p=na({props:n,muiFormControl:f,states:["variant"]}),v=R({},n,{classes:i}),h=The(v),b=se(i,khe);return _.jsx(c.Fragment,{children:c.cloneElement(u,R({inputComponent:vL,inputProps:R({children:a,classes:b,IconComponent:s,variant:p.variant,type:void 0},l,u?u.props.inputProps:{}),ref:r},d,{className:ce(h.root,u.props.className,o)}))})});mL.muiName="Select";const gR=mL;var yR;const Ihe=["children","classes","className","label","notched"],Ahe=V("fieldset",{shouldForwardProp:lr})({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%"}),Mhe=V("legend",{shouldForwardProp:lr})(({ownerState:e,theme:t})=>R({float:"unset",width:"auto",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",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 Fhe(e){const{className:t,label:r,notched:n}=e,o=se(e,Ihe),a=r!=null&&r!=="",i=R({},e,{notched:n,withLabel:a});return _.jsx(Ahe,R({"aria-hidden":!0,className:t,ownerState:i},o,{children:_.jsx(Mhe,{ownerState:i,children:a?_.jsx("span",{children:r}):yR||(yR=_.jsx("span",{className:"notranslate",children:"​"}))})}))}const Nhe=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Lhe=e=>{const{classes:t}=e,n=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},pde,t);return R({},t,n)},Dhe=V(Og,{shouldForwardProp:e=>lr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:wg})(({theme:e,ownerState:t})=>{const r=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 .${ua.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ua.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${ua.focused} .${ua.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ua.error} .${ua.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ua.disabled} .${ua.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"}))}),Bhe=V(Fhe,{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}}),zhe=V(Cg,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Sg})(({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})),hL=c.forwardRef(function(t,r){var n,o,a,i,s;const u=Ee({props:t,name:"MuiOutlinedInput"}),{components:l={},fullWidth:d=!1,inputComponent:f="input",label:p,multiline:v=!1,notched:h,slots:b={},type:x="text"}=u,g=se(u,Nhe),m=Lhe(u),y=ro(),C=na({props:u,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),O=R({},u,{color:C.color||"primary",disabled:C.disabled,error:C.error,focused:C.focused,formControl:y,fullWidth:d,hiddenLabel:C.hiddenLabel,multiline:v,size:C.size,type:x}),S=(n=(o=b.root)!=null?o:l.Root)!=null?n:Dhe,P=(a=(i=b.input)!=null?i:l.Input)!=null?a:zhe;return _.jsx(Eg,R({slots:{root:S,input:P},renderSuffix:E=>_.jsx(Bhe,{ownerState:O,className:m.notchedOutline,label:p!=null&&p!==""&&C.required?s||(s=_.jsxs(c.Fragment,{children:[p," ","*"]})):p,notched:typeof h<"u"?h:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:d,inputComponent:f,multiline:v,ref:r,type:x},g,{classes:R({},m,{notchedOutline:null})}))});hL.muiName="Input";const gL=hL;function Vhe(e){return we("MuiPagination",e)}Ce("MuiPagination",["root","ul","outlined","text"]);const Uhe=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function Whe(e={}){const{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:a=!1,hideNextButton:i=!1,hidePrevButton:s=!1,onChange:u,page:l,showFirstButton:d=!1,showLastButton:f=!1,siblingCount:p=1}=e,v=se(e,Uhe),[h,b]=Dl({controlled:l,default:o,name:r,state:"page"}),x=($,k)=>{l||b(k),u&&u($,k)},g=($,k)=>{const T=k-$+1;return Array.from({length:T},(j,I)=>$+I)},m=g(1,Math.min(t,n)),y=g(Math.max(n-t+1,t+1),n),C=Math.max(Math.min(h-p,n-t-p*2-1),t+2),O=Math.min(Math.max(h+p,t+p*2+2),y.length>0?y[0]-2:n-1),S=[...d?["first"]:[],...s?[]:["previous"],...m,...C>t+2?["start-ellipsis"]:t+1t?[n-t]:[],...y,...i?[]:["next"],...f?["last"]:[]],P=$=>{switch($){case"first":return 1;case"previous":return h-1;case"next":return h+1;case"last":return n;default:return null}},E=S.map($=>typeof $=="number"?{onClick:k=>{x(k,$)},type:"page",page:$,selected:$===h,disabled:a,"aria-current":$===h?"true":void 0}:{onClick:k=>{x(k,P($))},type:$,page:P($),selected:!1,disabled:a||$.indexOf("ellipsis")===-1&&($==="next"||$==="last"?h>=n:h<=1)});return R({items:E},v)}function qhe(e){return we("MuiPaginationItem",e)}const Hhe=Ce("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),ln=Hhe,x1=nn(_.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),w1=nn(_.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),bR=nn(_.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),_R=nn(_.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),Ghe=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],yL=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ae(r.size)}`],r.variant==="text"&&t[`text${ae(r.color)}`],r.variant==="outlined"&&t[`outlined${ae(r.color)}`],r.shape==="rounded"&&t.rounded,r.type==="page"&&t.page,(r.type==="start-ellipsis"||r.type==="end-ellipsis")&&t.ellipsis,(r.type==="previous"||r.type==="next")&&t.previousNext,(r.type==="first"||r.type==="last")&&t.firstLast]},Khe=e=>{const{classes:t,color:r,disabled:n,selected:o,size:a,shape:i,type:s,variant:u}=e,l={root:["root",`size${ae(a)}`,u,i,r!=="standard"&&`color${ae(r)}`,r!=="standard"&&`${u}${ae(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return _e(l,qhe,t)},Qhe=V("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:yL})(({theme:e,ownerState:t})=>R({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${ln.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),Xhe=V(ra,{name:"MuiPaginationItem",slot:"Root",overridesResolver:yL})(({theme:e,ownerState:t})=>R({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${ln.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ln.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ln.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ye(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${ln.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ye(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${ln.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>R({},t.variant==="text"&&{[`&.${ln.selected}`]:R({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${ln.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${ln.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${ln.selected}`]:R({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Ye(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Ye(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ye(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ln.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ye(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${ln.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),Yhe=V("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>R({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),Jhe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiPaginationItem"}),{className:o,color:a="standard",component:i,components:s={},disabled:u=!1,page:l,selected:d=!1,shape:f="circular",size:p="medium",slots:v={},type:h="page",variant:b="text"}=n,x=se(n,Ghe),g=R({},n,{color:a,disabled:u,selected:d,shape:f,size:p,type:h,variant:b}),m=oi(),y=Khe(g),O=(m?{previous:v.next||s.next||_R,next:v.previous||s.previous||bR,last:v.first||s.first||x1,first:v.last||s.last||w1}:{previous:v.previous||s.previous||bR,next:v.next||s.next||_R,first:v.first||s.first||x1,last:v.last||s.last||w1})[h];return h==="start-ellipsis"||h==="end-ellipsis"?_.jsx(Qhe,{ref:r,ownerState:g,className:ce(y.root,o),children:"…"}):_.jsxs(Xhe,R({ref:r,ownerState:g,component:i,disabled:u,className:ce(y.root,o)},x,{children:[h==="page"&&l,O?_.jsx(Yhe,{as:O,ownerState:g,className:y.icon}):null]}))}),Zhe=Jhe,ege=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],tge=e=>{const{classes:t,variant:r}=e;return _e({root:["root",r],ul:["ul"]},Vhe,t)},rge=V("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),nge=V("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function oge(e,t,r){return e==="page"?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const age=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiPagination"}),{boundaryCount:o=1,className:a,color:i="standard",count:s=1,defaultPage:u=1,disabled:l=!1,getItemAriaLabel:d=oge,hideNextButton:f=!1,hidePrevButton:p=!1,renderItem:v=E=>_.jsx(Zhe,R({},E)),shape:h="circular",showFirstButton:b=!1,showLastButton:x=!1,siblingCount:g=1,size:m="medium",variant:y="text"}=n,C=se(n,ege),{items:O}=Whe(R({},n,{componentName:"Pagination"})),S=R({},n,{boundaryCount:o,color:i,count:s,defaultPage:u,disabled:l,getItemAriaLabel:d,hideNextButton:f,hidePrevButton:p,renderItem:v,shape:h,showFirstButton:b,showLastButton:x,siblingCount:g,size:m,variant:y}),P=tge(S);return _.jsx(rge,R({"aria-label":"pagination navigation",className:ce(P.root,a),ownerState:S,ref:r},C,{children:_.jsx(nge,{className:P.ul,ownerState:S,children:O.map((E,$)=>_.jsx("li",{children:v(R({},E,{color:i,"aria-label":d(E.type,E.page,E.selected),shape:h,size:m,variant:y}))},$))})}))}),ige=age;function sge(e){return we("MuiScopedCssBaseline",e)}Ce("MuiScopedCssBaseline",["root"]);const lge=["className","component","enableColorScheme"],uge=e=>{const{classes:t}=e;return _e({root:["root"]},sge,t)},cge=V("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const r={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,o])=>{var a;r[`&${e.getColorSchemeSelector(n).replace(/\s*&/,"")}`]={colorScheme:(a=o.palette)==null?void 0:a.mode}}),R({},Qfe(e,t.enableColorScheme),Xfe(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},r)}),dge=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiScopedCssBaseline"}),{className:o,component:a="div"}=n,i=se(n,lge),s=R({},n,{component:a}),u=uge(s);return _.jsx(cge,R({as:a,className:ce(u.root,o),ref:r,ownerState:s},i))}),fge=dge;function pge(e){return we("MuiSelect",e)}const Yu=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var xR;const vge=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],mge=V("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Yu.select}`]:t.select},{[`&.${Yu.select}`]:t[r.variant]},{[`&.${Yu.error}`]:t.error},{[`&.${Yu.multiple}`]:t.multiple}]}})(fL,{[`&.${Yu.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),hge=V("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ae(r.variant)}`],r.open&&t.iconOpen]}})(pL),gge=V("input",{shouldForwardProp:e=>SN(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 wR(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function yge(e){return e==null||typeof e=="string"&&!e.trim()}const bge=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:a,error:i}=e,s={select:["select",r,n&&"disabled",o&&"multiple",i&&"error"],icon:["icon",`icon${ae(r)}`,a&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return _e(s,pge,t)},_ge=c.forwardRef(function(t,r){var n;const{"aria-describedby":o,"aria-label":a,autoFocus:i,autoWidth:s,children:u,className:l,defaultOpen:d,defaultValue:f,disabled:p,displayEmpty:v,error:h=!1,IconComponent:b,inputRef:x,labelId:g,MenuProps:m={},multiple:y,name:C,onBlur:O,onChange:S,onClose:P,onFocus:E,onOpen:$,open:k,readOnly:T,renderValue:j,SelectDisplayProps:I={},tabIndex:A,value:D,variant:L="standard"}=t,B=se(t,vge),[M,N]=Dl({controlled:D,default:f,name:"Select"}),[q,K]=Dl({controlled:k,default:d,name:"Select"}),W=c.useRef(null),le=c.useRef(null),[Y,G]=c.useState(null),{current:ne}=c.useRef(k!=null),[ve,ie]=c.useState(),re=xt(r,x),oe=c.useCallback(Te=>{le.current=Te,Te&&G(Te)},[]),Z=Y==null?void 0:Y.parentNode;c.useImperativeHandle(re,()=>({focus:()=>{le.current.focus()},node:W.current,value:M}),[M]),c.useEffect(()=>{d&&q&&Y&&!ne&&(ie(s?null:Z.clientWidth),le.current.focus())},[Y,s]),c.useEffect(()=>{i&&le.current.focus()},[i]),c.useEffect(()=>{if(!g)return;const Te=Dt(le.current).getElementById(g);if(Te){const Fe=()=>{getSelection().isCollapsed&&le.current.focus()};return Te.addEventListener("click",Fe),()=>{Te.removeEventListener("click",Fe)}}},[g]);const ee=(Te,Fe)=>{Te?$&&$(Fe):P&&P(Fe),ne||(ie(s?null:Z.clientWidth),K(Te))},H=Te=>{Te.button===0&&(Te.preventDefault(),le.current.focus(),ee(!0,Te))},fe=Te=>{ee(!1,Te)},de=c.Children.toArray(u),Oe=Te=>{const Fe=de.find(me=>me.props.value===Te.target.value);Fe!==void 0&&(N(Fe.props.value),S&&S(Te,Fe))},Ae=Te=>Fe=>{let me;if(Fe.currentTarget.hasAttribute("tabindex")){if(y){me=Array.isArray(M)?M.slice():[];const ke=M.indexOf(Te.props.value);ke===-1?me.push(Te.props.value):me.splice(ke,1)}else me=Te.props.value;if(Te.props.onClick&&Te.props.onClick(Fe),M!==me&&(N(me),S)){const ke=Fe.nativeEvent||Fe,ze=new ke.constructor(ke.type,ke);Object.defineProperty(ze,"target",{writable:!0,value:{value:me,name:C}}),S(ze,Te)}y||ee(!1,Fe)}},F=Te=>{T||[" ","ArrowUp","ArrowDown","Enter"].indexOf(Te.key)!==-1&&(Te.preventDefault(),ee(!0,Te))},z=Y!==null&&q,U=Te=>{!z&&O&&(Object.defineProperty(Te,"target",{writable:!0,value:{value:M,name:C}}),O(Te))};delete B["aria-invalid"];let X,J;const Q=[];let ue=!1;(om({value:M})||v)&&(j?X=j(M):ue=!0);const ge=de.map(Te=>{if(!c.isValidElement(Te))return null;let Fe;if(y){if(!Array.isArray(M))throw new Error(Ho(2));Fe=M.some(me=>wR(me,Te.props.value)),Fe&&ue&&Q.push(Te.props.children)}else Fe=wR(M,Te.props.value),Fe&&ue&&(J=Te.props.children);return c.cloneElement(Te,{"aria-selected":Fe?"true":"false",onClick:Ae(Te),onKeyUp:me=>{me.key===" "&&me.preventDefault(),Te.props.onKeyUp&&Te.props.onKeyUp(me)},role:"option",selected:Fe,value:void 0,"data-value":Te.props.value})});ue&&(y?Q.length===0?X=null:X=Q.reduce((Te,Fe,me)=>(Te.push(Fe),me{const{classes:t}=e;return t},jS={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>lr(e)&&e!=="variant",slot:"Root"},Cge=V($S,jS)(""),Ege=V(gL,jS)(""),Pge=V(tL,jS)(""),bL=c.forwardRef(function(t,r){const n=Ee({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:a,classes:i={},className:s,defaultOpen:u=!1,displayEmpty:l=!1,IconComponent:d=UN,id:f,input:p,inputProps:v,label:h,labelId:b,MenuProps:x,multiple:g=!1,native:m=!1,onClose:y,onOpen:C,open:O,renderValue:S,SelectDisplayProps:P,variant:E="outlined"}=n,$=se(n,wge),k=m?vL:xge,T=ro(),j=na({props:n,muiFormControl:T,states:["variant","error"]}),I=j.variant||E,A=R({},n,{variant:I,classes:i}),D=Oge(A),L=se(D,Sge),B=p||{standard:_.jsx(Cge,{ownerState:A}),outlined:_.jsx(Ege,{label:h,ownerState:A}),filled:_.jsx(Pge,{ownerState:A})}[I],M=xt(r,B.ref);return _.jsx(c.Fragment,{children:c.cloneElement(B,R({inputComponent:k,inputProps:R({children:a,error:j.error,IconComponent:d,variant:I,type:void 0,multiple:g},m?{id:f}:{autoWidth:o,defaultOpen:u,displayEmpty:l,labelId:b,MenuProps:x,onClose:y,onOpen:C,open:O,renderValue:S,SelectDisplayProps:R({id:f},P)},v,{classes:v?Cr(L,v.classes):L},p?p.props.inputProps:{})},(g&&m||l)&&I==="outlined"?{notched:!0}:{},{ref:M,className:ce(B.props.className,s,D.root)},!p&&{variant:I},$))})});bL.muiName="Select";const IS=bL;function $ge(e){return we("MuiSnackbarContent",e)}Ce("MuiSnackbarContent",["root","message","action"]);const Rge=["action","className","message","role"],kge=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},$ge,t)},Tge=V(ai,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,r=Kie(e.palette.background.default,t);return R({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),jge=V("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Ige=V("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Age=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiSnackbarContent"}),{action:o,className:a,message:i,role:s="alert"}=n,u=se(n,Rge),l=n,d=kge(l);return _.jsxs(Tge,R({role:s,square:!0,elevation:6,className:ce(d.root,a),ownerState:l,ref:r},u,{children:[_.jsx(jge,{className:d.message,ownerState:l,children:i}),o?_.jsx(Ige,{className:d.action,ownerState:l,children:o}):null]}))}),Mge=Age;function Fge(e){return we("MuiSnackbar",e)}Ce("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Nge=["onEnter","onExited"],Lge=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Dge=e=>{const{classes:t,anchorOrigin:r}=e,n={root:["root",`anchorOrigin${ae(r.vertical)}${ae(r.horizontal)}`]};return _e(n,Fge,t)},SR=V("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${ae(r.anchorOrigin.vertical)}${ae(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const r={left:"50%",right:"auto",transform:"translateX(-50%)"};return R({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:R({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&r,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),Bge=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiSnackbar"}),o=Mn(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:s,horizontal:u}={vertical:"bottom",horizontal:"left"},autoHideDuration:l=null,children:d,className:f,ClickAwayListenerProps:p,ContentProps:v,disableWindowBlurListener:h=!1,message:b,open:x,TransitionComponent:g=am,transitionDuration:m=a,TransitionProps:{onEnter:y,onExited:C}={}}=n,O=se(n.TransitionProps,Nge),S=se(n,Lge),P=R({},n,{anchorOrigin:{vertical:s,horizontal:u},autoHideDuration:l,disableWindowBlurListener:h,TransitionComponent:g,transitionDuration:m}),E=Dge(P),{getRootProps:$,onClickAway:k}=Uce(R({},P)),[T,j]=c.useState(!0),I=En({elementType:SR,getSlotProps:$,externalForwardedProps:S,ownerState:P,additionalProps:{ref:r},className:[E.root,f]}),A=L=>{j(!0),C&&C(L)},D=(L,B)=>{j(!1),y&&y(L,B)};return!x&&T?null:_.jsx(cue,R({onClickAway:k},p,{children:_.jsx(SR,R({},I,{children:_.jsx(g,R({appear:!0,in:x,timeout:m,direction:s==="top"?"down":"up",onEnter:D,onExited:A},O,{children:d||_.jsx(Mge,R({message:b,action:i},v))}))}))}))}),zge=Bge;function Vge(e){return we("MuiTooltip",e)}const Uge=Ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Pa=Uge,Wge=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function qge(e){return Math.round(e*1e5)/1e5}const Hge=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:a}=e,i={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${ae(a.split("-")[0])}`],arrow:["arrow"]};return _e(i,Vge,t)},Gge=V(VN,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>R({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Pa.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Pa.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Pa.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"] .${Pa.arrow}`]:R({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),Kge=V("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${ae(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>R({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ye(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:`${qge(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Pa.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"})),[`.${Pa.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"})),[`.${Pa.popper}[data-popper-placement*="top"] &`]:R({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Pa.popper}[data-popper-placement*="bottom"] &`]:R({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),Qge=V("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:Ye(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Yf=!1;const OR=new rf;let Ju={x:0,y:0};function Jf(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const Xge=c.forwardRef(function(t,r){var n,o,a,i,s,u,l,d,f,p,v,h,b,x,g,m,y,C,O;const S=Ee({props:t,name:"MuiTooltip"}),{arrow:P=!1,children:E,components:$={},componentsProps:k={},describeChild:T=!1,disableFocusListener:j=!1,disableHoverListener:I=!1,disableInteractive:A=!1,disableTouchListener:D=!1,enterDelay:L=100,enterNextDelay:B=0,enterTouchDelay:M=700,followCursor:N=!1,id:q,leaveDelay:K=0,leaveTouchDelay:W=1500,onClose:le,onOpen:Y,open:G,placement:ne="bottom",PopperComponent:ve,PopperProps:ie={},slotProps:re={},slots:oe={},title:Z,TransitionComponent:ee=am,TransitionProps:H}=S,fe=se(S,Wge),de=c.isValidElement(E)?E:_.jsx("span",{children:E}),Oe=Mn(),Ae=oi(),[F,z]=c.useState(),[U,X]=c.useState(null),J=c.useRef(!1),Q=A||N,ue=$i(),ge=$i(),Me=$i(),Le=$i(),[Pe,xe]=Dl({controlled:G,default:!1,name:"Tooltip",state:"open"});let qe=Pe;const ot=rs(q),tt=c.useRef(),Te=Sr(()=>{tt.current!==void 0&&(document.body.style.WebkitUserSelect=tt.current,tt.current=void 0),Le.clear()});c.useEffect(()=>Te,[Te]);const Fe=Ve=>{OR.clear(),Yf=!0,xe(!0),Y&&!qe&&Y(Ve)},me=Sr(Ve=>{OR.start(800+K,()=>{Yf=!1}),xe(!1),le&&qe&&le(Ve),ue.start(Oe.transitions.duration.shortest,()=>{J.current=!1})}),ke=Ve=>{J.current&&Ve.type!=="touchstart"||(F&&F.removeAttribute("title"),ge.clear(),Me.clear(),L||Yf&&B?ge.start(Yf?B:L,()=>{Fe(Ve)}):Fe(Ve))},ze=Ve=>{ge.clear(),Me.start(K,()=>{me(Ve)})},{isFocusVisibleRef:He,onBlur:wt,onFocus:Zt,ref:an}=mg(),[,ia]=c.useState(!1),Fn=Ve=>{wt(Ve),He.current===!1&&(ia(!1),ze(Ve))},gs=Ve=>{F||z(Ve.currentTarget),Zt(Ve),He.current===!0&&(ia(!0),ke(Ve))},NC=Ve=>{J.current=!0;const Vr=de.props;Vr.onTouchStart&&Vr.onTouchStart(Ve)},x5=Ve=>{NC(Ve),Me.clear(),ue.clear(),Te(),tt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Le.start(M,()=>{document.body.style.WebkitUserSelect=tt.current,ke(Ve)})},w5=Ve=>{de.props.onTouchEnd&&de.props.onTouchEnd(Ve),Te(),Me.start(W,()=>{me(Ve)})};c.useEffect(()=>{if(!qe)return;function Ve(Vr){(Vr.key==="Escape"||Vr.key==="Esc")&&me(Vr)}return document.addEventListener("keydown",Ve),()=>{document.removeEventListener("keydown",Ve)}},[me,qe]);const S5=xt(de.ref,an,z,r);!Z&&Z!==0&&(qe=!1);const Wg=c.useRef(),O5=Ve=>{const Vr=de.props;Vr.onMouseMove&&Vr.onMouseMove(Ve),Ju={x:Ve.clientX,y:Ve.clientY},Wg.current&&Wg.current.update()},ju={},qg=typeof Z=="string";T?(ju.title=!qe&&qg&&!I?Z:null,ju["aria-describedby"]=qe?ot:null):(ju["aria-label"]=qg?Z:null,ju["aria-labelledby"]=qe&&!qg?ot:null);const Nn=R({},ju,fe,de.props,{className:ce(fe.className,de.props.className),onTouchStart:NC,ref:S5},N?{onMouseMove:O5}:{}),Iu={};D||(Nn.onTouchStart=x5,Nn.onTouchEnd=w5),I||(Nn.onMouseOver=Jf(ke,Nn.onMouseOver),Nn.onMouseLeave=Jf(ze,Nn.onMouseLeave),Q||(Iu.onMouseOver=ke,Iu.onMouseLeave=ze)),j||(Nn.onFocus=Jf(gs,Nn.onFocus),Nn.onBlur=Jf(Fn,Nn.onBlur),Q||(Iu.onFocus=gs,Iu.onBlur=Fn));const C5=c.useMemo(()=>{var Ve;let Vr=[{name:"arrow",enabled:!!U,options:{element:U,padding:4}}];return(Ve=ie.popperOptions)!=null&&Ve.modifiers&&(Vr=Vr.concat(ie.popperOptions.modifiers)),R({},ie.popperOptions,{modifiers:Vr})},[U,ie]),Au=R({},S,{isRtl:Ae,arrow:P,disableInteractive:Q,placement:ne,PopperComponentProp:ve,touch:J.current}),Hg=Hge(Au),LC=(n=(o=oe.popper)!=null?o:$.Popper)!=null?n:Gge,DC=(a=(i=(s=oe.transition)!=null?s:$.Transition)!=null?i:ee)!=null?a:am,BC=(u=(l=oe.tooltip)!=null?l:$.Tooltip)!=null?u:Kge,zC=(d=(f=oe.arrow)!=null?f:$.Arrow)!=null?d:Qge,E5=nl(LC,R({},ie,(p=re.popper)!=null?p:k.popper,{className:ce(Hg.popper,ie==null?void 0:ie.className,(v=(h=re.popper)!=null?h:k.popper)==null?void 0:v.className)}),Au),P5=nl(DC,R({},H,(b=re.transition)!=null?b:k.transition),Au),$5=nl(BC,R({},(x=re.tooltip)!=null?x:k.tooltip,{className:ce(Hg.tooltip,(g=(m=re.tooltip)!=null?m:k.tooltip)==null?void 0:g.className)}),Au),R5=nl(zC,R({},(y=re.arrow)!=null?y:k.arrow,{className:ce(Hg.arrow,(C=(O=re.arrow)!=null?O:k.arrow)==null?void 0:C.className)}),Au);return _.jsxs(c.Fragment,{children:[c.cloneElement(de,Nn),_.jsx(LC,R({as:ve??VN,placement:ne,anchorEl:N?{getBoundingClientRect:()=>({top:Ju.y,left:Ju.x,right:Ju.x,bottom:Ju.y,width:0,height:0})}:F,popperRef:Wg,open:F?qe:!1,id:ot,transition:!0},Iu,E5,{popperOptions:C5,children:({TransitionProps:Ve})=>_.jsx(DC,R({timeout:Oe.transitions.duration.shorter},Ve,P5,{children:_.jsxs(BC,R({},$5,{children:[Z,P?_.jsx(zC,R({},R5,{ref:X})):null]}))}))}))]})}),Yt=Xge;function Yge(e){return we("MuiSwitch",e)}const br=Ce("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Jge=["className","color","edge","size","sx"],Zge=ON(),eye=e=>{const{classes:t,edge:r,size:n,color:o,checked:a,disabled:i}=e,s={root:["root",r&&`edge${ae(r)}`,`size${ae(n)}`],switchBase:["switchBase",`color${ae(o)}`,a&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=_e(s,Yge,t);return R({},t,u)},tye=V("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${ae(r.edge)}`],t[`size${ae(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${br.thumb}`]:{width:16,height:16},[`& .${br.switchBase}`]:{padding:4,[`&.${br.checked}`]:{transform:"translateX(16px)"}}}}]}),rye=V(KN,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${br.input}`]:t.input},r.color!=="default"&&t[`color${ae(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${br.checked}`]:{transform:"translateX(20px)"},[`&.${br.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${br.checked} + .${br.track}`]:{opacity:.5},[`&.${br.disabled} + .${br.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${br.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,t])=>t.main&&t.light).map(([t])=>({props:{color:t},style:{[`&.${br.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${br.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?gg(e.palette[t].main,.62):hg(e.palette[t].main,.55)}`}},[`&.${br.checked} + .${br.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),nye=V("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),oye=V("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),aye=c.forwardRef(function(t,r){const n=Zge({props:t,name:"MuiSwitch"}),{className:o,color:a="primary",edge:i=!1,size:s="medium",sx:u}=n,l=se(n,Jge),d=R({},n,{color:a,edge:i,size:s}),f=eye(d),p=_.jsx(oye,{className:f.thumb,ownerState:d});return _.jsxs(tye,{className:ce(f.root,o),sx:u,ownerState:d,children:[_.jsx(rye,R({type:"checkbox",icon:p,checkedIcon:p,ref:r,ownerState:d},l,{classes:R({},f,{root:f.switchBase})})),_.jsx(nye,{className:f.track,ownerState:d})]})}),AS=aye;function iye(e){return we("MuiTab",e)}const sye=Ce("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),vi=sye,lye=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],uye=e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:o,icon:a,label:i,selected:s,disabled:u}=e,l={root:["root",a&&i&&"labelIcon",`textColor${ae(r)}`,n&&"fullWidth",o&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return _e(l,iye,t)},cye=V(ra,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${ae(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>R({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${vi.iconWrapper}`]:R({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${vi.selected}`]:{opacity:1},[`&.${vi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${vi.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${vi.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${vi.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${vi.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),dye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTab"}),{className:o,disabled:a=!1,disableFocusRipple:i=!1,fullWidth:s,icon:u,iconPosition:l="top",indicator:d,label:f,onChange:p,onClick:v,onFocus:h,selected:b,selectionFollowsFocus:x,textColor:g="inherit",value:m,wrapped:y=!1}=n,C=se(n,lye),O=R({},n,{disabled:a,disableFocusRipple:i,selected:b,icon:!!u,iconPosition:l,label:!!f,fullWidth:s,textColor:g,wrapped:y}),S=uye(O),P=u&&f&&c.isValidElement(u)?c.cloneElement(u,{className:ce(S.iconWrapper,u.props.className)}):u,E=k=>{!b&&p&&p(k,m),v&&v(k)},$=k=>{x&&!b&&p&&p(k,m),h&&h(k)};return _.jsxs(cye,R({focusRipple:!i,className:ce(S.root,o),ref:r,role:"tab","aria-selected":b,disabled:a,onClick:E,onFocus:$,ownerState:O,tabIndex:b?0:-1},C,{children:[l==="top"||l==="start"?_.jsxs(c.Fragment,{children:[P,f]}):_.jsxs(c.Fragment,{children:[f,P]}),d]}))}),_L=dye,fye=c.createContext(),xL=fye;function pye(e){return we("MuiTable",e)}Ce("MuiTable",["root","stickyHeader"]);const vye=["className","component","padding","size","stickyHeader"],mye=e=>{const{classes:t,stickyHeader:r}=e;return _e({root:["root",r&&"stickyHeader"]},pye,t)},hye=V("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.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"})),CR="table",gye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTable"}),{className:o,component:a=CR,padding:i="normal",size:s="medium",stickyHeader:u=!1}=n,l=se(n,vye),d=R({},n,{component:a,padding:i,size:s,stickyHeader:u}),f=mye(d),p=c.useMemo(()=>({padding:i,size:s,stickyHeader:u}),[i,s,u]);return _.jsx(xL.Provider,{value:p,children:_.jsx(hye,R({as:a,role:a===CR?null:"table",ref:r,className:ce(f.root,o),ownerState:d},l))})}),wL=gye,yye=c.createContext(),kg=yye;function bye(e){return we("MuiTableBody",e)}Ce("MuiTableBody",["root"]);const _ye=["className","component"],xye=e=>{const{classes:t}=e;return _e({root:["root"]},bye,t)},wye=V("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Sye={variant:"body"},ER="tbody",Oye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTableBody"}),{className:o,component:a=ER}=n,i=se(n,_ye),s=R({},n,{component:a}),u=xye(s);return _.jsx(kg.Provider,{value:Sye,children:_.jsx(wye,R({className:ce(u.root,o),as:a,ref:r,role:a===ER?null:"rowgroup",ownerState:s},i))})}),SL=Oye;function Cye(e){return we("MuiTableCell",e)}const Eye=Ce("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Pye=Eye,$ye=["align","className","component","padding","scope","size","sortDirection","variant"],Rye=e=>{const{classes:t,variant:r,align:n,padding:o,size:a,stickyHeader:i}=e,s={root:["root",r,i&&"stickyHeader",n!=="inherit"&&`align${ae(n)}`,o!=="normal"&&`padding${ae(o)}`,`size${ae(a)}`]};return _e(s,Cye,t)},kye=V("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${ae(r.size)}`],r.padding!=="normal"&&t[`padding${ae(r.padding)}`],r.align!=="inherit"&&t[`align${ae(r.align)}`],r.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"?gg(Ye(e.palette.divider,1),.88):hg(Ye(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",[`&.${Pye.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})),Tye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTableCell"}),{align:o="inherit",className:a,component:i,padding:s,scope:u,size:l,sortDirection:d,variant:f}=n,p=se(n,$ye),v=c.useContext(xL),h=c.useContext(kg),b=h&&h.variant==="head";let x;i?x=i:x=b?"th":"td";let g=u;x==="td"?g=void 0:!g&&b&&(g="col");const m=f||h&&h.variant,y=R({},n,{align:o,component:x,padding:s||(v&&v.padding?v.padding:"normal"),size:l||(v&&v.size?v.size:"medium"),sortDirection:d,stickyHeader:m==="head"&&v&&v.stickyHeader,variant:m}),C=Rye(y);let O=null;return d&&(O=d==="asc"?"ascending":"descending"),_.jsx(kye,R({as:x,ref:r,className:ce(C.root,a),"aria-sort":O,scope:g,ownerState:y},p))}),pr=Tye;function jye(e){return we("MuiTableHead",e)}Ce("MuiTableHead",["root"]);const Iye=["className","component"],Aye=e=>{const{classes:t}=e;return _e({root:["root"]},jye,t)},Mye=V("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),Fye={variant:"head"},PR="thead",Nye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTableHead"}),{className:o,component:a=PR}=n,i=se(n,Iye),s=R({},n,{component:a}),u=Aye(s);return _.jsx(kg.Provider,{value:Fye,children:_.jsx(Mye,R({as:a,className:ce(u.root,o),ref:r,role:a===PR?null:"rowgroup",ownerState:s},i))})}),OL=Nye;function Lye(e){return we("MuiToolbar",e)}Ce("MuiToolbar",["root","gutters","regular","dense"]);const Dye=["className","component","disableGutters","variant"],Bye=e=>{const{classes:t,disableGutters:r,variant:n}=e;return _e({root:["root",!r&&"gutters",n]},Lye,t)},zye=V("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.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),Vye=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiToolbar"}),{className:o,component:a="div",disableGutters:i=!1,variant:s="regular"}=n,u=se(n,Dye),l=R({},n,{component:a,disableGutters:i,variant:s}),d=Bye(l);return _.jsx(zye,R({as:a,className:ce(d.root,o),ref:r,ownerState:l},u))}),Cu=Vye,CL=nn(_.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),EL=nn(_.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),Uye=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],Wye=c.forwardRef(function(t,r){var n,o,a,i,s,u,l,d;const{backIconButtonProps:f,count:p,disabled:v=!1,getItemAriaLabel:h,nextIconButtonProps:b,onPageChange:x,page:g,rowsPerPage:m,showFirstButton:y,showLastButton:C,slots:O={},slotProps:S={}}=t,P=se(t,Uye),E=oi(),$=re=>{x(re,0)},k=re=>{x(re,g-1)},T=re=>{x(re,g+1)},j=re=>{x(re,Math.max(0,Math.ceil(p/m)-1))},I=(n=O.firstButton)!=null?n:yt,A=(o=O.lastButton)!=null?o:yt,D=(a=O.nextButton)!=null?a:yt,L=(i=O.previousButton)!=null?i:yt,B=(s=O.firstButtonIcon)!=null?s:x1,M=(u=O.lastButtonIcon)!=null?u:w1,N=(l=O.nextButtonIcon)!=null?l:EL,q=(d=O.previousButtonIcon)!=null?d:CL,K=E?A:I,W=E?D:L,le=E?L:D,Y=E?I:A,G=E?S.lastButton:S.firstButton,ne=E?S.nextButton:S.previousButton,ve=E?S.previousButton:S.nextButton,ie=E?S.firstButton:S.lastButton;return _.jsxs("div",R({ref:r},P,{children:[y&&_.jsx(K,R({onClick:$,disabled:v||g===0,"aria-label":h("first",g),title:h("first",g)},G,{children:E?_.jsx(M,R({},S.lastButtonIcon)):_.jsx(B,R({},S.firstButtonIcon))})),_.jsx(W,R({onClick:k,disabled:v||g===0,color:"inherit","aria-label":h("previous",g),title:h("previous",g)},ne??f,{children:E?_.jsx(N,R({},S.nextButtonIcon)):_.jsx(q,R({},S.previousButtonIcon))})),_.jsx(le,R({onClick:T,disabled:v||(p!==-1?g>=Math.ceil(p/m)-1:!1),color:"inherit","aria-label":h("next",g),title:h("next",g)},ve??b,{children:E?_.jsx(q,R({},S.previousButtonIcon)):_.jsx(N,R({},S.nextButtonIcon))})),C&&_.jsx(Y,R({onClick:j,disabled:v||g>=Math.ceil(p/m)-1,"aria-label":h("last",g),title:h("last",g)},ie,{children:E?_.jsx(B,R({},S.firstButtonIcon)):_.jsx(M,R({},S.lastButtonIcon))}))]}))}),qye=Wye;function Hye(e){return we("MuiTablePagination",e)}const Gye=Ce("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Tc=Gye;var $R;const Kye=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],Qye=V(pr,{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}})),Xye=V(Cu,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>R({[`& .${Tc.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},[`& .${Tc.actions}`]:{flexShrink:0,marginLeft:20}})),Yye=V("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),Jye=V("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>R({},e.typography.body2,{flexShrink:0})),Zye=V(IS,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>R({[`& .${Tc.selectIcon}`]:t.selectIcon,[`& .${Tc.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${Tc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),ebe=V(Gr,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),tbe=V("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>R({},e.typography.body2,{flexShrink:0}));function rbe({from:e,to:t,count:r}){return`${e}–${t} of ${r!==-1?r:`more than ${t}`}`}function nbe(e){return`Go to ${e} page`}const obe=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},Hye,t)},abe=c.forwardRef(function(t,r){var n;const o=Ee({props:t,name:"MuiTablePagination"}),{ActionsComponent:a=qye,backIconButtonProps:i,className:s,colSpan:u,component:l=pr,count:d,disabled:f=!1,getItemAriaLabel:p=nbe,labelDisplayedRows:v=rbe,labelRowsPerPage:h="Rows per page:",nextIconButtonProps:b,onPageChange:x,onRowsPerPageChange:g,page:m,rowsPerPage:y,rowsPerPageOptions:C=[10,25,50,100],SelectProps:O={},showFirstButton:S=!1,showLastButton:P=!1,slotProps:E={},slots:$={}}=o,k=se(o,Kye),T=o,j=obe(T),I=(n=E==null?void 0:E.select)!=null?n:O,A=I.native?"option":ebe;let D;(l===pr||l==="td")&&(D=u||1e3);const L=rs(I.id),B=rs(I.labelId),M=()=>d===-1?(m+1)*y:y===-1?d:Math.min(d,(m+1)*y);return _.jsx(Qye,R({colSpan:D,ref:r,as:l,ownerState:T,className:ce(j.root,s)},k,{children:_.jsxs(Xye,{className:j.toolbar,children:[_.jsx(Yye,{className:j.spacer}),C.length>1&&_.jsx(Jye,{className:j.selectLabel,id:B,children:h}),C.length>1&&_.jsx(Zye,R({variant:"standard"},!I.variant&&{input:$R||($R=_.jsx(Eg,{}))},{value:y,onChange:g,id:L,labelId:B},I,{classes:R({},I.classes,{root:ce(j.input,j.selectRoot,(I.classes||{}).root),select:ce(j.select,(I.classes||{}).select),icon:ce(j.selectIcon,(I.classes||{}).icon)}),disabled:f,children:C.map(N=>c.createElement(A,R({},!hd(A)&&{ownerState:T},{className:j.menuItem,key:N.label?N.label:N,value:N.value?N.value:N}),N.label?N.label:N))})),_.jsx(tbe,{className:j.displayedRows,children:v({from:d===0?0:m*y+1,to:M(),count:d===-1?-1:d,page:m})}),_.jsx(a,{className:j.actions,backIconButtonProps:i,count:d,nextIconButtonProps:b,onPageChange:x,page:m,rowsPerPage:y,showFirstButton:S,showLastButton:P,slotProps:E.actions,slots:$.actions,getItemAriaLabel:p,disabled:f})]})}))}),RR=abe;function ibe(e){return we("MuiTableRow",e)}const sbe=Ce("MuiTableRow",["root","selected","hover","head","footer"]),kR=sbe,lbe=["className","component","hover","selected"],ube=e=>{const{classes:t,selected:r,hover:n,head:o,footer:a}=e;return _e({root:["root",r&&"selected",n&&"hover",o&&"head",a&&"footer"]},ibe,t)},cbe=V("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.head&&t.head,r.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${kR.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${kR.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ye(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}))`:Ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),TR="tr",dbe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTableRow"}),{className:o,component:a=TR,hover:i=!1,selected:s=!1}=n,u=se(n,lbe),l=c.useContext(kg),d=R({},n,{component:a,hover:i,selected:s,head:l&&l.variant==="head",footer:l&&l.variant==="footer"}),f=ube(d);return _.jsx(cbe,R({as:a,ref:r,className:ce(f.root,o),role:a===TR?null:"row",ownerState:d},u))}),xd=dbe,fbe=nn(_.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function pbe(e){return we("MuiTableSortLabel",e)}const vbe=Ce("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),tb=vbe,mbe=["active","children","className","direction","hideSortIcon","IconComponent"],hbe=e=>{const{classes:t,direction:r,active:n}=e,o={root:["root",n&&"active"],icon:["icon",`iconDirection${ae(r)}`]};return _e(o,pbe,t)},gbe=V(ra,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${tb.icon}`]:{opacity:.5}},[`&.${tb.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${tb.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),ybe=V("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,t[`iconDirection${ae(r.direction)}`]]}})(({theme:e,ownerState:t})=>R({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),bbe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTableSortLabel"}),{active:o=!1,children:a,className:i,direction:s="asc",hideSortIcon:u=!1,IconComponent:l=fbe}=n,d=se(n,mbe),f=R({},n,{active:o,direction:s,hideSortIcon:u,IconComponent:l}),p=hbe(f);return _.jsxs(gbe,R({className:ce(p.root,i),component:"span",disableRipple:!0,ownerState:f,ref:r},d,{children:[a,u&&!o?null:_.jsx(ybe,{as:l,className:ce(p.icon),ownerState:f})]}))}),_be=bbe;function xbe(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function wbe(e,t,r,n={},o=()=>{}){const{ease:a=xbe,duration:i=300}=n;let s=null;const u=t[e];let l=!1;const d=()=>{l=!0},f=p=>{if(l){o(new Error("Animation cancelled"));return}s===null&&(s=p);const v=Math.min(1,(p-s)/i);if(t[e]=a(v)*(r-u)+u,v>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(f)};return u===r?(o(new Error("Element already at target position")),d):(requestAnimationFrame(f),d)}const Sbe=["onChange"],Obe={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Cbe(e){const{onChange:t}=e,r=se(e,Sbe),n=c.useRef(),o=c.useRef(null),a=()=>{n.current=o.current.offsetHeight-o.current.clientHeight};return Jr(()=>{const i=_u(()=>{const u=n.current;a(),u!==n.current&&t(n.current)}),s=On(o.current);return s.addEventListener("resize",i),()=>{i.clear(),s.removeEventListener("resize",i)}},[t]),c.useEffect(()=>{a(),t(n.current)},[t]),_.jsx("div",R({style:Obe,ref:o},r))}function Ebe(e){return we("MuiTabScrollButton",e)}const Pbe=Ce("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),$be=Pbe,Rbe=["className","slots","slotProps","direction","orientation","disabled"],kbe=e=>{const{classes:t,orientation:r,disabled:n}=e;return _e({root:["root",r,n&&"disabled"]},Ebe,t)},Tbe=V(ra,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>R({width:40,flexShrink:0,opacity:.8,[`&.${$be.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),jbe=c.forwardRef(function(t,r){var n,o;const a=Ee({props:t,name:"MuiTabScrollButton"}),{className:i,slots:s={},slotProps:u={},direction:l}=a,d=se(a,Rbe),f=oi(),p=R({isRtl:f},a),v=kbe(p),h=(n=s.StartScrollButtonIcon)!=null?n:CL,b=(o=s.EndScrollButtonIcon)!=null?o:EL,x=En({elementType:h,externalSlotProps:u.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),g=En({elementType:b,externalSlotProps:u.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return _.jsx(Tbe,R({component:"div",className:ce(v.root,i),ref:r,role:null,ownerState:p,tabIndex:null},d,{children:l==="left"?_.jsx(h,R({},x)):_.jsx(b,R({},g))}))}),Ibe=jbe;function Abe(e){return we("MuiTabs",e)}const Mbe=Ce("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),rb=Mbe,Fbe=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],jR=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,IR=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Zf=(e,t,r)=>{let n=!1,o=r(e,t);for(;o;){if(o===e.firstChild){if(n)return;n=!0}const a=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||a)o=r(e,o);else{o.focus();return}}},Nbe=e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:o,scrollableY:a,centered:i,scrollButtonsHideMobile:s,classes:u}=e;return _e({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",o&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},Abe,u)},Lbe=V("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${rb.scrollButtons}`]:t.scrollButtons},{[`& .${rb.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>R({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${rb.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Dbe=V("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>R({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),Bbe=V("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>R({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),zbe=V("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>R({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),Vbe=V(Cbe)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),AR={},Ube=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTabs"}),o=Mn(),a=oi(),{"aria-label":i,"aria-labelledby":s,action:u,centered:l=!1,children:d,className:f,component:p="div",allowScrollButtonsMobile:v=!1,indicatorColor:h="primary",onChange:b,orientation:x="horizontal",ScrollButtonComponent:g=Ibe,scrollButtons:m="auto",selectionFollowsFocus:y,slots:C={},slotProps:O={},TabIndicatorProps:S={},TabScrollButtonProps:P={},textColor:E="primary",value:$,variant:k="standard",visibleScrollbar:T=!1}=n,j=se(n,Fbe),I=k==="scrollable",A=x==="vertical",D=A?"scrollTop":"scrollLeft",L=A?"top":"left",B=A?"bottom":"right",M=A?"clientHeight":"clientWidth",N=A?"height":"width",q=R({},n,{component:p,allowScrollButtonsMobile:v,indicatorColor:h,orientation:x,vertical:A,scrollButtons:m,textColor:E,variant:k,visibleScrollbar:T,fixed:!I,hideScrollbar:I&&!T,scrollableX:I&&!A,scrollableY:I&&A,centered:l&&!I,scrollButtonsHideMobile:!v}),K=Nbe(q),W=En({elementType:C.StartScrollButtonIcon,externalSlotProps:O.startScrollButtonIcon,ownerState:q}),le=En({elementType:C.EndScrollButtonIcon,externalSlotProps:O.endScrollButtonIcon,ownerState:q}),[Y,G]=c.useState(!1),[ne,ve]=c.useState(AR),[ie,re]=c.useState(!1),[oe,Z]=c.useState(!1),[ee,H]=c.useState(!1),[fe,de]=c.useState({overflow:"hidden",scrollbarWidth:0}),Oe=new Map,Ae=c.useRef(null),F=c.useRef(null),z=()=>{const me=Ae.current;let ke;if(me){const He=me.getBoundingClientRect();ke={clientWidth:me.clientWidth,scrollLeft:me.scrollLeft,scrollTop:me.scrollTop,scrollLeftNormalized:wie(me,a?"rtl":"ltr"),scrollWidth:me.scrollWidth,top:He.top,bottom:He.bottom,left:He.left,right:He.right}}let ze;if(me&&$!==!1){const He=F.current.children;if(He.length>0){const wt=He[Oe.get($)];ze=wt?wt.getBoundingClientRect():null}}return{tabsMeta:ke,tabMeta:ze}},U=Sr(()=>{const{tabsMeta:me,tabMeta:ke}=z();let ze=0,He;if(A)He="top",ke&&me&&(ze=ke.top-me.top+me.scrollTop);else if(He=a?"right":"left",ke&&me){const Zt=a?me.scrollLeftNormalized+me.clientWidth-me.scrollWidth:me.scrollLeft;ze=(a?-1:1)*(ke[He]-me[He]+Zt)}const wt={[He]:ze,[N]:ke?ke[N]:0};if(isNaN(ne[He])||isNaN(ne[N]))ve(wt);else{const Zt=Math.abs(ne[He]-wt[He]),an=Math.abs(ne[N]-wt[N]);(Zt>=1||an>=1)&&ve(wt)}}),X=(me,{animation:ke=!0}={})=>{ke?wbe(D,Ae.current,me,{duration:o.transitions.duration.standard}):Ae.current[D]=me},J=me=>{let ke=Ae.current[D];A?ke+=me:(ke+=me*(a?-1:1),ke*=a&&cN()==="reverse"?-1:1),X(ke)},Q=()=>{const me=Ae.current[M];let ke=0;const ze=Array.from(F.current.children);for(let He=0;Heme){He===0&&(ke=me);break}ke+=wt[M]}return ke},ue=()=>{J(-1*Q())},ge=()=>{J(Q())},Me=c.useCallback(me=>{de({overflow:null,scrollbarWidth:me})},[]),Le=()=>{const me={};me.scrollbarSizeListener=I?_.jsx(Vbe,{onChange:Me,className:ce(K.scrollableX,K.hideScrollbar)}):null;const ze=I&&(m==="auto"&&(ie||oe)||m===!0);return me.scrollButtonStart=ze?_.jsx(g,R({slots:{StartScrollButtonIcon:C.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:W},orientation:x,direction:a?"right":"left",onClick:ue,disabled:!ie},P,{className:ce(K.scrollButtons,P.className)})):null,me.scrollButtonEnd=ze?_.jsx(g,R({slots:{EndScrollButtonIcon:C.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:le},orientation:x,direction:a?"left":"right",onClick:ge,disabled:!oe},P,{className:ce(K.scrollButtons,P.className)})):null,me},Pe=Sr(me=>{const{tabsMeta:ke,tabMeta:ze}=z();if(!(!ze||!ke)){if(ze[L]ke[B]){const He=ke[D]+(ze[B]-ke[B]);X(He,{animation:me})}}}),xe=Sr(()=>{I&&m!==!1&&H(!ee)});c.useEffect(()=>{const me=_u(()=>{Ae.current&&U()});let ke;const ze=Zt=>{Zt.forEach(an=>{an.removedNodes.forEach(ia=>{var Fn;(Fn=ke)==null||Fn.unobserve(ia)}),an.addedNodes.forEach(ia=>{var Fn;(Fn=ke)==null||Fn.observe(ia)})}),me(),xe()},He=On(Ae.current);He.addEventListener("resize",me);let wt;return typeof ResizeObserver<"u"&&(ke=new ResizeObserver(me),Array.from(F.current.children).forEach(Zt=>{ke.observe(Zt)})),typeof MutationObserver<"u"&&(wt=new MutationObserver(ze),wt.observe(F.current,{childList:!0})),()=>{var Zt,an;me.clear(),He.removeEventListener("resize",me),(Zt=wt)==null||Zt.disconnect(),(an=ke)==null||an.disconnect()}},[U,xe]),c.useEffect(()=>{const me=Array.from(F.current.children),ke=me.length;if(typeof IntersectionObserver<"u"&&ke>0&&I&&m!==!1){const ze=me[0],He=me[ke-1],wt={root:Ae.current,threshold:.99},Zt=gs=>{re(!gs[0].isIntersecting)},an=new IntersectionObserver(Zt,wt);an.observe(ze);const ia=gs=>{Z(!gs[0].isIntersecting)},Fn=new IntersectionObserver(ia,wt);return Fn.observe(He),()=>{an.disconnect(),Fn.disconnect()}}},[I,m,ee,d==null?void 0:d.length]),c.useEffect(()=>{G(!0)},[]),c.useEffect(()=>{U()}),c.useEffect(()=>{Pe(AR!==ne)},[Pe,ne]),c.useImperativeHandle(u,()=>({updateIndicator:U,updateScrollButtons:xe}),[U,xe]);const qe=_.jsx(zbe,R({},S,{className:ce(K.indicator,S.className),ownerState:q,style:R({},ne,S.style)}));let ot=0;const tt=c.Children.map(d,me=>{if(!c.isValidElement(me))return null;const ke=me.props.value===void 0?ot:me.props.value;Oe.set(ke,ot);const ze=ke===$;return ot+=1,c.cloneElement(me,R({fullWidth:k==="fullWidth",indicator:ze&&!Y&&qe,selected:ze,selectionFollowsFocus:y,onChange:b,textColor:E,value:ke},ot===1&&$===!1&&!me.props.tabIndex?{tabIndex:0}:{}))}),Te=me=>{const ke=F.current,ze=Dt(ke).activeElement;if(ze.getAttribute("role")!=="tab")return;let wt=x==="horizontal"?"ArrowLeft":"ArrowUp",Zt=x==="horizontal"?"ArrowRight":"ArrowDown";switch(x==="horizontal"&&a&&(wt="ArrowRight",Zt="ArrowLeft"),me.key){case wt:me.preventDefault(),Zf(ke,ze,IR);break;case Zt:me.preventDefault(),Zf(ke,ze,jR);break;case"Home":me.preventDefault(),Zf(ke,null,jR);break;case"End":me.preventDefault(),Zf(ke,null,IR);break}},Fe=Le();return _.jsxs(Lbe,R({className:ce(K.root,f),ownerState:q,ref:r,as:p},j,{children:[Fe.scrollButtonStart,Fe.scrollbarSizeListener,_.jsxs(Dbe,{className:K.scroller,ownerState:q,style:{overflow:fe.overflow,[A?`margin${a?"Left":"Right"}`:"marginBottom"]:T?void 0:-fe.scrollbarWidth},ref:Ae,children:[_.jsx(Bbe,{"aria-label":i,"aria-labelledby":s,"aria-orientation":x==="vertical"?"vertical":null,className:K.flexContainer,ownerState:q,onKeyDown:Te,ref:F,role:"tablist",children:tt}),Y&&qe]}),Fe.scrollButtonEnd]}))}),PL=Ube;function Wbe(e){return we("MuiTextField",e)}Ce("MuiTextField",["root"]);const qbe=["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"],Hbe={standard:$S,filled:tL,outlined:gL},Gbe=e=>{const{classes:t}=e;return _e({root:["root"]},Wbe,t)},Kbe=V(rL,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qbe=c.forwardRef(function(t,r){const n=Ee({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:a=!1,children:i,className:s,color:u="primary",defaultValue:l,disabled:d=!1,error:f=!1,FormHelperTextProps:p,fullWidth:v=!1,helperText:h,id:b,InputLabelProps:x,inputProps:g,InputProps:m,inputRef:y,label:C,maxRows:O,minRows:S,multiline:P=!1,name:E,onBlur:$,onChange:k,onFocus:T,placeholder:j,required:I=!1,rows:A,select:D=!1,SelectProps:L,type:B,value:M,variant:N="outlined"}=n,q=se(n,qbe),K=R({},n,{autoFocus:a,color:u,disabled:d,error:f,fullWidth:v,multiline:P,required:I,select:D,variant:N}),W=Gbe(K),le={};N==="outlined"&&(x&&typeof x.shrink<"u"&&(le.notched=x.shrink),le.label=C),D&&((!L||!L.native)&&(le.id=void 0),le["aria-describedby"]=void 0);const Y=rs(b),G=h&&Y?`${Y}-helper-text`:void 0,ne=C&&Y?`${Y}-label`:void 0,ve=Hbe[N],ie=_.jsx(ve,R({"aria-describedby":G,autoComplete:o,autoFocus:a,defaultValue:l,fullWidth:v,multiline:P,name:E,rows:A,maxRows:O,minRows:S,type:B,value:M,id:Y,inputRef:y,onBlur:$,onChange:k,onFocus:T,placeholder:j,inputProps:g},le,m));return _.jsxs(Kbe,R({className:ce(W.root,s),disabled:d,error:f,fullWidth:v,ref:r,required:I,color:u,variant:N,ownerState:K},q,{children:[C!=null&&C!==""&&_.jsx(aL,R({htmlFor:Y,id:ne},x,{children:C})),D?_.jsx(IS,R({"aria-describedby":G,id:Y,labelId:ne,value:M,input:ie},L,{children:i})):ie,h&&_.jsx(PS,R({id:G},p,{children:h}))]}))}),df=Qbe,Xbe=["getTrigger","target"];function Ybe(e,t){const{disableHysteresis:r=!1,threshold:n=100,target:o}=t,a=e.current;return o&&(e.current=o.pageYOffset!==void 0?o.pageYOffset:o.scrollTop),!r&&a!==void 0&&e.currentn}const Jbe=typeof window<"u"?window:null;function $L(e={}){const{getTrigger:t=Ybe,target:r=Jbe}=e,n=se(e,Xbe),o=c.useRef(),[a,i]=c.useState(()=>t(o,n));return c.useEffect(()=>{const s=()=>{i(t(o,R({target:r},n)))};return s(),r.addEventListener("scroll",s,{passive:!0}),()=>{r.removeEventListener("scroll",s,{passive:!0})}},[r,t,JSON.stringify(n)]),a}var MS={},nb={};const Zbe=So(ole);var MR;function Re(){return MR||(MR=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Zbe}(nb)),nb}var e0e=Se;Object.defineProperty(MS,"__esModule",{value:!0});var ff=MS.default=void 0,t0e=e0e(Re()),r0e=_;ff=MS.default=(0,t0e.default)((0,r0e.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock");var jc=function(){return jc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1?c.createElement(dxe,null):null,t&&c.createElement(n1e,null),c.createElement(NL,null))},i1e=c.createElement(a1e,null);qL.propTypes={alwaysOn:w.bool,children:w.node,className:w.string,color:w.oneOf(["default","inherit","primary","secondary","transparent"]),container:Mh,open:w.bool,toolbar:w.element,userMenu:w.oneOfType([w.element,w.bool])};var s1e=c.createElement(US,null),xi="RaAppBar",Ti={appBar:"".concat(xi,"-appBar"),toolbar:"".concat(xi,"-toolbar"),menuButton:"".concat(xi,"-menuButton"),menuButtonIconClosed:"".concat(xi,"-menuButtonIconClosed"),menuButtonIconOpen:"".concat(xi,"-menuButtonIconOpen"),title:"".concat(xi,"-title")},l1e=V(aue,{name:xi,overridesResolver:function(e,t){return t.root}})(function(e){var t,r,n=e.theme;return t={},t["& .".concat(Ti.toolbar)]=(r={padding:"0 ".concat(n.spacing(1))},r[n.breakpoints.down("md")]={minHeight:n.spacing(6)},r),t["& .".concat(Ti.menuButton)]={marginRight:"0.2em"},t["& .".concat(Ti.title)]={},t}),QS={},u1e=Se;Object.defineProperty(QS,"__esModule",{value:!0});var HL=QS.default=void 0,c1e=u1e(Re()),d1e=_;HL=QS.default=(0,c1e.default)((0,d1e.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle");var XS={},f1e=Se;Object.defineProperty(XS,"__esModule",{value:!0});var GL=XS.default=void 0,p1e=f1e(Re()),v1e=_;GL=XS.default=(0,p1e.default)((0,v1e.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline");var Ac=function(){return Ac=Object.assign||function(e){for(var t,r=1,n=arguments.length;rg.closest("ul").getBoundingClientRect().bottom?y=m.lastChild:y=m.firstChild),y&&m===y.closest("ul")?o(g.dataset.index,u.current):(x.preventDefault(),x.stopPropagation()),g.classList.remove("drag-active"),document.removeEventListener("dragover",f)},b=function(x){x.preventDefault(),x.dataTransfer.dropEffect="move"};return c.createElement(B1e,{key:a,draggable:o?"true":void 0,onDrag:o?v:void 0,onDragStart:o?p:void 0,onDragEnd:o?h:void 0,onDragOver:o?b:void 0,"data-index":i},c.createElement("label",{htmlFor:"switch_".concat(i)},c.createElement(AS,{checked:t,onChange:n,name:i,id:"switch_".concat(i),size:"small",sx:{mr:.5,ml:-.5}}),c.createElement(Ne,{variant:"body2",component:"span"},c.createElement(Sn,{label:r,source:a,resource:s}))),o&&c.createElement(JL,{className:"dragIcon",color:"disabled",fontSize:"small"}))},B1e=V("li",{name:"RaFieldToggle",overridesResolver:function(e,t){return t.root}})(function(e){var t=e.theme;return{display:"flex",justifyContent:"space-between",paddingLeft:0,"& svg":{cursor:"move"},"&.drag-active":{background:"transparent",color:"transparent",outline:"1px solid ".concat(t.palette.action.selected),"& .MuiSwitch-root, & svg":{visibility:"hidden"}}}}),da=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;nC?O=da(da(da(da([],s.slice(0,C),!0),[s[y]],!1),s.slice(C,y),!0),s.slice(y+1),!0):O=da(da(da(da([],s.slice(0,y),!0),s.slice(y+1,C+1),!0),[s[y]],!1),s.slice(C+1),!0),u(O),p(function(S){return O.filter(function(P){return S.includes(P.index)}).map(function(P){return P.index})})}},b=function(){p([])},x=function(){p(s.map(function(g){return g.index}))};return c.createElement(wr,{pt:.5},c.createElement(wr,{component:"ul",sx:{paddingInlineStart:0,m:0}},s.map(function(g){return c.createElement(ZL,{key:g.index,source:g.source,label:g.label,index:g.index,selected:f.includes(g.index),onToggle:v,onMove:h})})),c.createElement(wr,{onDrop:function(g){return g.preventDefault()},display:"flex",justifyContent:"space-between",mx:-.5,mt:1},c.createElement(Bt,{size:"small",onClick:b},a("ra.inspector.hideAll",{_:"Hide All"})),c.createElement(Bt,{size:"small",onClick:x},a("ra.inspector.showAll",{_:"Show All"}))))},aO={},V1e=Se;Object.defineProperty(aO,"__esModule",{value:!0});var eD=aO.default=void 0,U1e=V1e(Re()),W1e=_;eD=aO.default=(0,U1e.default)((0,W1e.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");var iO={},q1e=Se;Object.defineProperty(iO,"__esModule",{value:!0});var tD=iO.default=void 0,H1e=q1e(Re()),G1e=_;tD=iO.default=(0,H1e.default)((0,G1e.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");var K1e=function(){var e=he();return sF("ra.configurable.inspector.title",{_:"Inspector"}),c.createElement(Ne,null,e("ra.configurable.inspector.content",{_:"Hover the application UI elements to configure them"}))},rD=function(){var e=Vw(),t=e.isEnabled,r=e.disable,n=e.title,o=e.titleOptions,a=e.editor,i=e.preferenceKey,s=c.useRef(!1),u=tre(i),l=Mn(),d=he(),f=c.useState(0),p=f[0],v=f[1],h=mr("ra.inspector.position",{x:(document==null?void 0:document.body.clientWidth)-l.breakpoints.values.sm/2-8,y:8}),b=h[0],x=h[1],g=c.useState(),m=g[0],y=g[1],C=function(P){var E=document==null?void 0:document.elementFromPoint(P.clientX,P.clientY);E.id==="inspector-dialog-title"&&(s.current=!0,P.dataTransfer.effectAllowed="move",P.dataTransfer.setData("inspector",""),setTimeout(function(){P.target.classList.add("hide")},0),y({x:P.clientX-b.x,y:P.clientY-b.y}))},O=function(P){s.current&&(x({x:P.clientX-m.x,y:P.clientY-m.y}),P.target.classList.remove("hide"),s.current=!1)};c.useEffect(function(){if(t){var P=function(E){E.dataTransfer.types.includes("inspector")&&E.preventDefault()};return document==null||document.addEventListener("dragover",P),function(){document==null||document.removeEventListener("dragover",P)}}},[t]),c.useEffect(function(){if(t){var P=function(){window==null||window.requestAnimationFrame(function(){x(function(E){return{x:Math.min(E.x,(document==null?void 0:document.body.clientWidth)-l.breakpoints.values.sm/2-8),y:Math.min(E.y,(window==null?void 0:window.innerHeight)-50)}})})};return P(),window==null||window.addEventListener("resize",P),function(){window==null||window.removeEventListener("resize",P)}}},[t,x,l.breakpoints.values.sm]);var S=function(){u(),v(function(P){return P+1})};return t?c.createElement(Q1e,{className:Mc.modal,elevation:3,draggable:!0,onDragStart:C,onDragEnd:O,sx:{left:b.x,top:b.y}},c.createElement("div",{className:Mc.title},c.createElement(Ne,{id:"inspector-dialog-title",variant:"overline",component:"div",py:1,px:2,flex:"1"},n&&d(n,o)),c.createElement("span",{id:"inspector-toolbar"}),i&&c.createElement(yt,{"aria-label":d("ra.action.remove"),onClick:S,size:"small"},c.createElement(tD,{fontSize:"inherit"})),c.createElement(yt,{"aria-label":d("ra.action.close"),onClick:r,size:"small",sx:{mr:1}},c.createElement(eD,{fontSize:"inherit"}))),c.createElement("div",{className:Mc.content,key:p},c.createElement(iF,{value:i},a||c.createElement(K1e,null)))):null},Fp="RaInspector",Mc={modal:"".concat(Fp,"-modal"),title:"".concat(Fp,"-title"),content:"".concat(Fp,"-content")},Q1e=V(ai,{name:Fp,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={position:"fixed",zIndex:r.zIndex.modal+1,width:r.breakpoints.values.sm/2,transition:r.transitions.create(["height","width"]),"&.hide":{display:"none"}},t["& .".concat(Mc.title)]={display:"flex",justifyContent:"space-between",alignItems:"center",cursor:"move"},t["& .".concat(Mc.content)]={overflowY:"auto",maxHeight:"75vh",padding:r.spacing(2),paddingTop:0},t});rD.displayName="Inspector";var Si=function(){return Si=Object.assign||function(e){for(var t,r=1,n=arguments.length;r element"),ih.createPortal(c.createElement(e_e,M1({title:r,defaultTitle:t,preferenceKey:n},o)),i)):null},Ag=w.oneOfType([w.string,w.element]);si.propTypes={defaultTitle:w.string,className:w.string,record:w.any,title:Ag};var r_e=function(e){var t=Ht().pathname,r=c.useRef(t);c.useEffect(function(){t!==r.current&&e()},[t,e])},F1=function(){return F1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0,k=Txe(x===!1||x===void 0?void 0:!x,l||!$||P||E);zw(f==="submit"&&(u&&(u.onSuccess||u.onError)||p),'Cannot use props on a button of type "submit". To override the default mutation options on a particular save button, set the prop, or set mutationOptions in the main view component ( or ).');var T=c.useCallback(function(A){return zR(void 0,void 0,void 0,function(){var D;return VR(this,function(L){switch(L.label){case 0:return C!=null&&C.save?[4,C.save(A,Nc(Nc({},u),{transform:p}))]:[3,2];case 1:D=L.sent(),L.label=2;case 2:return D!=null&&dF(D,y.setError),[2]}})})},[y.setError,C,u,p]),j=c.useCallback(function(A){return zR(void 0,void 0,void 0,function(){return VR(this,function(D){switch(D.label){case 0:return s&&s(A),A.defaultPrevented?[2]:f!=="button"?[3,2]:(A.stopPropagation(),[4,y.handleSubmit(T)(A)]);case 1:D.sent(),D.label=2;case 2:return[2]}})})},[s,f,y,T]),I=i&&m(i,{_:i});return c.createElement(kxe,Nc({variant:h,type:f,color:r,"aria-label":I,disabled:k,onClick:j},g),E?c.createElement(Su,{sx:Pxe,size:14,thickness:3,color:"inherit"}):o,I)},Pxe={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},$xe=c.createElement(SD,null);$u.propTypes={className:w.string,invalid:w.bool,label:w.string,variant:w.oneOf(["text","outlined","contained"]),icon:w.element,alwaysEnable:w.bool};var Rxe="RaSaveButton",kxe=V(Bt,{name:Rxe,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:r.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),Txe=function(e,t){return typeof e>"u"?t:e},jxe=function(){return te.createElement(Axe,{onClick:Mxe,className:"skip-nav-button",label:"ra.navigation.skip_nav",variant:"contained"})},Ixe="RaSkipNavigationButton",Axe=V(nt,{name:Ixe,overridesResolver:function(e,t){return t.root}})(function(e){var t=e.theme;return{position:"fixed",padding:t.spacing(1),backgroundColor:t.palette.background.default,color:t.palette.getContrastText(t.palette.background.default),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.leavingScreen}),left:t.spacing(2),top:t.spacing(-10),zIndex:5e3,"&:hover":{opacity:.8,backgroundColor:t.palette.background.default},"&:focus":{top:t.spacing(2),transition:t.transitions.create(["top","opacity"],{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.enteringScreen})}}}),Mxe=function(){if(!(typeof document>"u")){var e=document.getElementById("main-content");e&&(e.setAttribute("tabIndex","-1"),e.focus(),e.blur(),e.removeAttribute("tabIndex"))}},Z1=function(){return Z1=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o-1,color:"primary"},c.createElement(ID,{fontSize:"small"})))},OO={},dwe=Se;Object.defineProperty(OO,"__esModule",{value:!0});var AD=OO.default=void 0,fwe=dwe(Re()),pwe=_;AD=OO.default=(0,fwe.default)((0,pwe.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff");var s_=function(){return s_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0){var W=I[0];W.id;var le=mwe(W,["id"]);q.current=le;for(var Y in q.current)q.current[Y]=null}var G=c.useCallback(function(Z){Z===void 0&&(Z=void 0);var ee=Z;Z==null&&(ee=q.current,c.Children.count(s)===1&&c.isValidElement(c.Children.only(s))&&!c.Children.only(s).props.source&&c.Children.map(s,function(H){return c.isValidElement(H)&&H.type!==J0}).some(Boolean)?ee="":(ee=ee||{},c.Children.forEach(s,function(H){var fe;c.isValidElement(H)&&H.type!==J0&&H.props.source&&(ee[H.props.source]=(fe=H.props.defaultValue)!==null&&fe!==void 0?fe:null)}))),j(ee),B("".concat(d,".").concat(I.length),{defaultValue:ee})},[j,s,B,d,I.length]),ne=function(Z){return function(ee){G(),Z&&Z(ee)}},ve=c.useCallback(function(Z,ee){A(Z,ee)},[A]),ie=c.useCallback(function(){L([]),k(!1)},[L]),re=De(N,d),oe=c.useMemo(function(){return{total:I.length,add:G,remove:K,reOrder:ve,source:d}},[G,I.length,ve,K,d]);return I?c.createElement(PD.Provider,{value:oe},c.createElement(hwe,{className:je(u,S&&"fullwidth",(p||f)&&"disabled"),sx:P},c.createElement("ul",{className:Mt.list},I.map(function(Z,ee){return c.createElement(Qxe,{key:Z.id,disabled:p||f,disableRemove:g,disableReordering:m,fields:I,getItemLabel:O,index:ee,member:"".concat(d,".").concat(ee),onRemoveField:K,onReorder:ve,record:re&&re[ee]||{},removeButton:o,reOrderButtons:i,resource:l,source:d,inline:y},s)})),!(p||f)&&!(h&&(b||g))&&c.createElement("div",{className:Mt.buttons},!h&&c.createElement("div",{className:Mt.add},c.cloneElement(r,{className:je("button-add","button-add-".concat(d)),onClick:ne(r.props.onClick)})),I.length>0&&!b&&!g&&c.createElement("div",{className:Mt.clear},c.createElement(jg,{isOpen:$,title:M("ra.action.clear_array_input"),content:M("ra.message.clear_array_input"),onConfirm:ie,onClose:function(){return k(!1)}}),c.createElement(vwe,{onClick:function(){return k(!0)}}))))):null};Od.propTypes={addButton:w.element,removeButton:w.element,children:w.node,className:w.string,field:w.object,fields:w.array,fieldState:w.object,formState:w.object,fullWidth:w.bool,inline:w.bool,record:w.object,source:w.string,resource:w.string,translate:w.func,readOnly:w.bool,disabled:w.bool,disableAdd:w.bool,disableRemove:w.oneOfType([w.func,w.bool]),TransitionProps:w.shape({})};var hwe=V("div",{name:oo,overridesResolver:function(e,t){return t.root}})(function(e){var t,r,n,o=e.theme;return t={"& > ul":{padding:0,marginTop:0,marginBottom:0},"& > ul > li:last-child":{borderBottom:"none"}},t["& .".concat(Mt.line)]=(r={display:"flex",listStyleType:"none",borderBottom:"solid 1px ".concat(o.palette.divider)},r[o.breakpoints.down("sm")]={display:"block"},r),t["& .".concat(Mt.index)]=(n={display:"flex",alignItems:"top",marginRight:o.spacing(1),marginTop:o.spacing(1)},n[o.breakpoints.down("md")]={display:"none"},n),t["& .".concat(Mt.form)]={alignItems:"flex-start",display:"flex",flexDirection:"column"},t["&.fullwidth > ul > li > .".concat(Mt.form)]={flex:2},t["& .".concat(Mt.inline)]={flexDirection:"row",columnGap:"1em",flexWrap:"wrap"},t["& .".concat(Mt.action)]={marginTop:o.spacing(.5),visibility:"hidden","@media(hover:none)":{visibility:"visible"}},t["& .".concat(Mt.buttons)]={display:"flex"},t["& .".concat(Mt.add)]={borderBottom:"none"},t["& .".concat(Mt.clear)]={borderBottom:"none"},t["& .".concat(Mt.line,":hover > .").concat(Mt.action)]={visibility:"visible"},t}),gwe=function(e,t,r,n){function o(a){return a instanceof r?a:new r(function(i){i(a)})}return new(r||(r=Promise))(function(a,i){function s(d){try{l(n.next(d))}catch(f){i(f)}}function u(d){try{l(n.throw(d))}catch(f){i(f)}}function l(d){d.done?a(d.value):o(d.value).then(s,u)}l((n=n.apply(e,t||[])).next())})},ywe=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(l){return function(d){return u([l,d])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(r=0)),r;)try{if(n=1,o&&(a=l[0]&2?o.return:l[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,l[1])).done)return a;switch(o=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=Jwe&&(a=Ywe,i=!1,t=new Hwe(t));e:for(;++o0&&C.length>0&&C.every(function(O){return h.includes(O)}),onChange:y,onClick:function(O){return O.stopPropagation()}})),c.Children.map(t,function(O,S){return c.isValidElement(O)?c.createElement(Bwe,{className:je(Ie.headerCell,"column-".concat(O.props.source)),sort:f,field:O,isSorting:f.field===(O.props.sortBy||O.props.source),key:O.props.source||S,resource:u,updateSort:m}):null})))};PO.propTypes={children:w.node,className:w.string,sort:w.exact({field:w.string,order:w.oneOf(["ASC","DESC"])}),data:w.arrayOf(w.any),hasExpand:w.bool,hasBulkActions:w.bool,isRowSelectable:w.func,isRowExpandable:w.func,onSelect:w.func,onToggleItem:w.func,resource:w.string,selectedIds:w.arrayOf(w.any),setSort:w.func};PO.displayName="DatagridHeader";var uSe=function(e){var t=e.children,r=e.value;return te.createElement(FD.Provider,{value:r},t)};const cSe=uSe;var $O={},dSe=Se;Object.defineProperty($O,"__esModule",{value:!0});var UD=$O.default=void 0,fSe=dSe(Re()),pSe=_;UD=$O.default=(0,fSe.default)((0,pSe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var p_=function(){return p_=Object.assign||function(e){for(var t,r=1,n=arguments.length;rE?$=fa(fa(fa(fa([],u.slice(0,E),!0),[u[P]],!1),u.slice(E,P),!0),u.slice(P+1),!0):$=fa(fa(fa(fa([],u.slice(0,P),!0),u.slice(P+1,E+1),!0),[u[P]],!1),u.slice(E+1),!0),l($),v(function(k){return $.filter(function(T){return k.includes(T.index)}).map(function(T){return T.index})})}};return c.createElement(c.Fragment,null,b?c.createElement(Yt,{title:x},c.createElement(yt,Em({"aria-label":x,color:"primary",onClick:g,size:"large"},KR(e)),c.createElement(v_,null))):c.createElement(PSe,Em({size:"small",onClick:g,startIcon:c.createElement(v_,null)},KR(e)),x),c.createElement(kS,{open:!!a,anchorEl:a,onClose:m,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},c.createElement(wr,{component:"ul",p:1,my:0},u.map(function(O){return c.createElement(ZL,{key:O.index,source:O.source,label:O.label,index:O.index,selected:p.includes(O.index),onToggle:y,onMove:C})}))))},PSe=V(Bt,{name:"RaSelectColumnsButton",overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),KR=function(e){e.resource,e.preferenceKey;var t=ESe(e,["resource","preferenceKey"]);return t};function $Se(e,t){for(var r=-1,n=e==null?0:e.length;++r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1] element instead.")})},[r]);var d=function(){var p=a.getValues();return r.filter(function(v){var h=De(p,v.props.source);return v.props.alwaysOn||u[v.props.source]||h!==""&&typeof h<"u"})},f=c.useCallback(function(p){return l(p.currentTarget.dataset.key)},[l]);return c.createElement(eF,{prefix:"resources.".concat(o,".fields"),concatenate:!1},c.createElement(nEe,Va({className:t},eEe(n),{onSubmit:ZCe}),d().map(function(p){return c.createElement(YD,{key:p.key||p.props.source,filterElement:p,handleHide:f,resource:o,className:$m.filterFormInput})}),c.createElement("div",{className:$m.clearFix})))},ZCe=function(e){return e.preventDefault(),!1};JD.propTypes={resource:w.string,filters:w.arrayOf(w.node).isRequired,displayedFilters:w.object,hideFilter:w.func,initialValues:w.object,className:w.string};var eEe=function(e){e.displayedFilters,e.filterValues,e.hasCreate,e.hideFilter,e.setFilters,e.resource;var t=TO(e,["displayedFilters","filterValues","hasCreate","hideFilter","setFilters","resource"]);return t},tEe=function(e,t){return Va(Va({},t.filter(function(r){return r.props.alwaysOn&&r.props.defaultValue}).reduce(function(r,n){return hh(Va({},r),n.props.source,n.props.defaultValue)},{})),e)},rEe=function(e){return e.preventDefault(),e.stopPropagation(),!1},h_="RaFilterForm",$m={clearFix:"".concat(h_,"-clearFix"),filterFormInput:"".concat(h_,"-filterFormInput")},nEe=V("form",{name:h_,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={display:"flex",flex:"0 1 auto"},t[r.breakpoints.down("sm")]={width:"100%"},t[r.breakpoints.up("sm")]={minHeight:r.spacing(8)},t[r.breakpoints.up("md")]={flex:"0 1 100%"},t.flexWrap="wrap",t.alignItems="flex-end",t.pointerEvents="none",t.padding="0 0 ".concat(r.spacing(.5)," 0"),t["& .MuiFormHelperText-root"]={display:"none"},t["& .".concat($m.clearFix)]={clear:"right"},t["& .".concat($m.filterFormInput," .MuiFormControl-root")]={marginTop:"".concat(r.spacing(1))},t}),oEe=function(e,t){var r;return Object.keys(e).reduce(function(n,o){return n[o]=ZD(e,o,t),n},(r=XD(t))!==null&&r!==void 0?r:{})},ZD=function(e,t,r){if(e[t]===void 0||e[t]===null)return"";if(Array.isArray(e[t])||e[t]instanceof Date)return De(r,t,"");if(typeof e[t]=="object"){var n=Object.keys(e[t]).reduce(function(o,a){var i,s=ZD(e[t],a,(i=(r||{})[t])!==null&&i!==void 0?i:{});return o[a]=s,o},{});return Object.keys(n).length?n:""}return De(r,t,"")},jO={},aEe=Se;Object.defineProperty(jO,"__esModule",{value:!0});var e3=jO.default=void 0,iEe=aEe(Re()),sEe=_;e3=jO.default=(0,iEe.default)((0,sEe.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList");var t3=c.forwardRef(function(e,t){var r=e.filter,n=e.onShow,o=e.autoFocus,a=Ke(e),i=c.useCallback(function(){n({source:r.props.source,defaultValue:r.props.defaultValue})},[r.props.defaultValue,r.props.source,n]);return c.createElement(Gr,{className:"new-filter-item","data-key":r.props.source,"data-default-value":r.props.defaultValue,key:r.props.source,onClick:i,autoFocus:o,ref:t,disabled:r.props.disabled},c.createElement(Sn,{label:r.props.label,source:r.props.source,resource:a}))});t3.propTypes={filter:w.element.isRequired,onShow:w.func.isRequired,resource:w.string,autoFocus:w.bool};var IO=function(e){return mr("".concat(e,".savedQueries"),[])},AO=function(e){return Array.isArray(e)?e.filter(function(t){return lEe(t)}):[]},lEe=function(e){var t,r;return!!(e.label&&typeof e.label=="string"&&e.value&&typeof Array.isArray(e.value.displayedFilters)&&typeof e.value.perPage=="number"&&typeof((t=e.value.sort)===null||t===void 0?void 0:t.field)=="string"&&typeof((r=e.value.sort)===null||r===void 0?void 0:r.order)=="string"&&typeof e.value.filter=="object")},uEe=function(e){var t=e.open,r=e.onClose,n=he(),o=yr(),a=o.resource,i=o.filterValues,s=o.displayedFilters,u=o.sort,l=o.perPage,d=IO(a),f=d[0],p=d[1],v=c.useState(""),h=v[0],b=v[1],x=function(y){b(y.target.value)},g=function(y){y.preventDefault(),m()},m=function(){var y={label:h,value:{filter:i,sort:u,perPage:l,displayedFilters:s}},C=AO(f);p(C.concat(y)),b(""),r()};return c.createElement(sf,{open:t,onClose:r,"aria-labelledby":"form-dialog-title"},c.createElement(uf,{id:"form-dialog-title"},n("ra.saved_queries.new_dialog_title",{_:"Save current query as"})),c.createElement(lf,null,c.createElement("form",{onSubmit:g},c.createElement(df,{autoFocus:!0,margin:"dense",id:"name",label:n("ra.saved_queries.query_name",{_:"Query name"}),fullWidth:!0,value:h,onChange:x}))),c.createElement(ES,null,c.createElement(Bt,{onClick:r},n("ra.action.cancel")),c.createElement(Bt,{onClick:m,color:"primary"},n("ra.action.save"))))},rk=function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n component requires the prop to be set");var T=s.filter(function(G){return!G.props.alwaysOn&&!h[G.props.source]&&typeof De(b,G.props.source)>"u"}),j=c.useCallback(function(G){G.preventDefault(),$(!0),k.current=G.currentTarget},[k,$]),I=c.useCallback(function(){$(!1)},[$]),A=c.useCallback(function(G){var ne=G.source,ve=G.defaultValue;m(ne,ve===""?void 0:ve),setTimeout(function(){var ie=document.querySelector("input[name='".concat(ne,"']"));ie&&ie.focus()},50),$(!1)},[m,$]),D=c.useState(!1),L=D[0],B=D[1],M=function(){B(!1)},N=function(){$(!1),B(!0)},q=c.useState(!1),K=q[0],W=q[1],le=function(){W(!1)},Y=function(){$(!1),W(!0)};return T.length===0&&O.length===0&&!C?null:c.createElement(pEe,g_({className:r},dEe(i)),c.createElement(nt,{className:"add-filter",label:"ra.action.add_filter","aria-haspopup":"true",onClick:j,variant:a,size:o},c.createElement(e3,null)),c.createElement(Rg,{open:E,anchorEl:k.current,onClose:I},T.map(function(G,ne){return c.createElement(t3,{key:G.props.source,filter:G,resource:u,onShow:A,autoFocus:ne===0})}),O.map(function(G,ne){return bn(G.value,{filter:b,sort:y,perPage:x,displayedFilters:h})?c.createElement(Gr,{onClick:Y,key:ne},l("ra.saved_queries.remove_label_with_name",{_:'Remove query "%{name}"',name:G.label})):c.createElement(Gr,{onClick:function(){f({search:Xi.stringify({filter:JSON.stringify(G.value.filter),sort:G.value.sort.field,order:G.value.sort.order,page:1,perPage:G.value.perPage,displayedFilters:JSON.stringify(G.value.displayedFilters)})}),$(!1)},key:ne},G.label)}),C&&!S&&!n&&c.createElement(Gr,{onClick:N},l("ra.saved_queries.new_label",{_:"Save current query..."})),C&&c.createElement(Gr,{onClick:function(){g({},{},!1),$(!1)}},l("ra.action.remove_all_filters",{_:"Remove all filters"}))),!n&&c.createElement(c.Fragment,null,c.createElement(uEe,{open:L,onClose:M}),c.createElement(cEe,{open:K,onClose:le})))},dEe=function(e){e.displayedFilters,e.filterValues,e.showFilter;var t=r3(e,["displayedFilters","filterValues","showFilter"]);return t};n3.propTypes={resource:w.string,filters:w.arrayOf(w.node),displayedFilters:w.object,filterValues:w.object,showFilter:w.func,className:w.string};var fEe="RaFilterButton",pEe=V("div",{name:fEe,overridesResolver:function(e,t){return t.root}})({display:"inline-block"}),MO={},vEe=Se;Object.defineProperty(MO,"__esModule",{value:!0});var o3=MO.default=void 0,mEe=vEe(Re()),hEe=_;o3=MO.default=(0,mEe.default)((0,hEe.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 19zm-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 14"}),"Search");var y_=function(){return y_=Object.assign||function(e){for(var t,r=1,n=arguments.length;rg-1)throw new Error(b("ra.navigation.page_out_of_boundaries",{page:E+1}));v(E+1)},[g,v,b]),y=c.useCallback(function(P){h(P.target.value)},[h]),C=c.useCallback(function(P){var E=P.from,$=P.to,k=P.count;return k===-1&&l?b("ra.navigation.partial_page_range_info",{offsetBegin:E,offsetEnd:$,_:"%{from}-%{to} of more than %{to}"}):b("ra.navigation.page_range_info",{offsetBegin:E,offsetEnd:$,total:k===-1?$:k,_:"%{from}-%{to} of %{count === -1 ? to : count}"})},[b,l]),O=c.useCallback(function(P){return b("ra.navigation.".concat(P),{_:"Go to ".concat(P," page")})},[b]);if(u)return c.createElement(Cu,{variant:"dense"});if(p===0||d<1||p!=null&&d>g)return a!=null,null;if(x)return c.createElement(RR,Rm({count:p??-1,rowsPerPage:f,page:d-1,onPageChange:m,rowsPerPageOptions:xEe,component:"span",labelDisplayedRows:C},Ji(i)));var S=n||(!u&&p!=null?i3:void 0);return c.createElement(RR,Rm({count:p??-1,rowsPerPage:f,page:d-1,onPageChange:m,onRowsPerPageChange:y,ActionsComponent:S,nextIconButtonProps:{disabled:!l},component:"span",labelRowsPerPage:b("ra.navigation.page_rows_per_page"),labelDisplayedRows:C,getItemAriaLabel:O,rowsPerPageOptions:r},Ji(i)))});ui.propTypes={actions:Mh,limit:w.element,rowsPerPageOptions:w.arrayOf(w.oneOfType([w.number,w.exact({label:w.string.isRequired,value:w.number.isRequired})]))};var _Ee=[5,10,25,50],xEe=[],km=function(){return km=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"||typeof oe.target.value>"u")){var Z=oe.target;W(Z.value);var ee=Z.valueAsNumber!==void 0&&Z.valueAsNumber!==null&&!isNaN(Z.valueAsNumber)?p?p(Z.valueAsNumber):Z.valueAsNumber:p?p(Z.value):FEe(Z.value);k.onChange(ee)}},G=function(oe){f&&f(oe),le.current=!0},ne=function(){M&&M(),le.current=!1;var oe=a(k.value);W(function(Z){return Z!==oe?oe:Z})},ve=i!==!1||(A||D)&&I,ie=k.ref,re=ik(k,["ref"]);return c.createElement(df,ga({id:L},re,{inputRef:ie,value:K,onChange:Y,onFocus:G,onBlur:ne,className:je("ra-input","ra-input-".concat(h),t),type:"number",size:"small",variant:C,error:(A||D)&&I,disabled:S||P,readOnly:P,helperText:ve?c.createElement(os,{touched:A||D,error:j==null?void 0:j.message,helperText:i}):null,label:c.createElement(Sn,{label:s,source:h,resource:v,isRequired:B}),margin:u,inputProps:ga(ga({},N),{readOnly:P})},Ru(E)))};Li.propTypes={label:w.oneOfType([w.string,w.bool,w.element]),resource:w.string,source:w.string,step:w.oneOfType([w.string,w.number])};var FEe=function(e){if(e==null||e==="")return null;var t=parseFloat(e);return isNaN(t)?0:t},NEe=function(e){return e==null||isNaN(e)?"":e.toString()},NO={},LEe=Se;Object.defineProperty(NO,"__esModule",{value:!0});var LO=NO.default=void 0,DEe=LEe(Re()),BEe=_;LO=NO.default=(0,DEe.default)((0,BEe.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.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility");var DO={},zEe=Se;Object.defineProperty(DO,"__esModule",{value:!0});var u3=DO.default=void 0,VEe=zEe(Re()),UEe=_;u3=DO.default=(0,VEe.default)((0,UEe.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 7M2 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 3zM7.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.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff");var jm=function(){return jm=Object.assign||function(e){for(var t,r=1,n=arguments.length;r isn't designed to be used with a label prop. Use if you need a label.");return c.createElement(KEe,__({hiddenLabel:!0,label:"",resettable:!0,placeholder:n("ra.action.search"),InputProps:{endAdornment:c.createElement(ml,{position:"end"},c.createElement(o3,{color:"disabled"}))},size:"small"},r))},GEe="RaSearchInput",KEe=V(Lt,{name:GEe,overridesResolver:function(e,t){return t.root}})({marginTop:0}),Ql=function(){return Ql=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]"u"||!f.message?"ra.auth.sign_in_error":f.message,{type:"error",messageArgs:{_:typeof f=="string"?f:f&&f.message?f.message:void 0}})})};return c.createElement(ePe,{onSubmit:l,mode:"onChange",noValidate:!0,className:r},c.createElement(dn,{className:bl.content},c.createElement(Lt,{autoFocus:!0,source:"username",label:s("ra.auth.username"),autoComplete:"username",validate:Qr(),fullWidth:!0}),c.createElement(Lt,{source:"password",label:s("ra.auth.password"),type:"password",autoComplete:"current-password",validate:Qr(),fullWidth:!0}),c.createElement(Bt,{variant:"contained",type:"submit",color:"primary",disabled:o,fullWidth:!0,className:bl.button},o?c.createElement(Su,{className:bl.icon,size:19,thickness:3}):s("ra.auth.sign_in"))))},zp="RaLoginForm",bl={content:"".concat(zp,"-content"),button:"".concat(zp,"-button"),icon:"".concat(zp,"-icon")},ePe=V(Fh,{name:zp,overridesResolver:function(e,t){return t.root}})(function(e){var t,r=e.theme;return t={},t["& .".concat(bl.content)]={width:300},t["& .".concat(bl.button)]={marginTop:r.spacing(2)},t["& .".concat(bl.icon)]={margin:r.spacing(.3)},t});d3.propTypes={redirectTo:w.string};var x_=function(){return x_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&d?c.createElement(h3,null):r;return o?c.createElement(uPe,C_({className:je("edit-page",a)},lPe(l)),c.createElement(si,{title:u,defaultTitle:v,preferenceKey:"".concat(p,".edit.title")}),b,c.createElement("div",{className:je(wl.main,(t={},t[wl.noActions]=!b,t))},c.createElement(s,{className:wl.card},h?o:c.createElement(dn,null," ")),n)):null};y3.propTypes={actions:w.oneOfType([w.element,w.bool]),aside:w.element,className:w.string,component:Mh,defaultTitle:w.any,hasList:w.bool,hasShow:w.bool,mutationMode:w.oneOf(["pessimistic","optimistic","undoable"]),mutationOptions:w.object,record:w.object,redirect:w.oneOfType([w.string,w.bool,w.func]),resource:w.string,save:w.func,title:w.node};var lPe=function(e){e.addMiddleware,e.defaultTitle,e.hasCreate,e.hasEdit,e.hasList,e.hasShow,e.history,e.id,e.isFetching,e.isLoading,e.location,e.match,e.options,e.queryOptions,e.mutationOptions,e.permissions,e.refetch,e.removeMiddleware,e.resource,e.save,e.saving,e.transform;var t=g3(e,["addMiddleware","defaultTitle","hasCreate","hasEdit","hasList","hasShow","history","id","isFetching","isLoading","location","match","options","queryOptions","mutationOptions","permissions","refetch","removeMiddleware","resource","save","saving","transform"]);return t},Wp="RaEdit",wl={main:"".concat(Wp,"-main"),noActions:"".concat(Wp,"-noActions"),card:"".concat(Wp,"-card")},uPe=V("div",{name:Wp,overridesResolver:function(e,t){return t.root}})((Zu={},Zu["& .".concat(wl.main)]={display:"flex",alignItems:"flex-start"},Zu["& .".concat(wl.noActions)]={marginTop:"1em"},Zu["& .".concat(wl.card)]={flex:"1 1 auto"},Zu)),E_=function(){return E_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?t.toString():""},R_=function(){return R_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r"u"&&x?RPe:r;return!o||!b&&l?null:c.createElement(TPe,k_({className:je("show-page",a)},kPe(f)),c.createElement(si,{title:d,defaultTitle:h,preferenceKey:"".concat(v,".show.title")}),g!==!1&&g,c.createElement("div",{className:je(Ol.main,(t={},t[Ol.noActions]=!g,t))},c.createElement(s,{className:Ol.card},o),n))};k3.propTypes={actions:w.oneOfType([w.element,w.bool]),children:w.node,className:w.string,emptyWhileLoading:w.bool,title:w.any};var kPe=function(e){e.defaultTitle,e.hasCreate,e.hasEdit,e.hasList,e.hasShow,e.history,e.id,e.isLoading,e.isFetching,e.location,e.match,e.options,e.refetch,e.permissions;var t=R3(e,["defaultTitle","hasCreate","hasEdit","hasList","hasShow","history","id","isLoading","isFetching","location","match","options","refetch","permissions"]);return t},Hp="RaShow",Ol={main:"".concat(Hp,"-main"),noActions:"".concat(Hp,"-noActions"),card:"".concat(Hp,"-card")},TPe=V("div",{name:Hp,overridesResolver:function(e,t){return t.root}})((ec={},ec["& .".concat(Ol.main)]={display:"flex"},ec["& .".concat(Ol.noActions)]={marginTop:"1em"},ec["& .".concat(Ol.card)]={flex:"1 1 auto"},ec)),T_=function(){return T_=Object.assign||function(e){for(var t,r=1,n=arguments.length;r cannot have showTime and showDate false at the same time");var h=Be(e);if(!h)return null;var b=De(h,l);if(b==null||b==="")return r?c.createElement(Ne,Bi({component:"span",variant:"body2",className:t},wo(p)),r&&v(r,{_:r})):null;var x=f(b),g="";if(i&&u)g=sb?x.toLocaleString(n,o):x.toLocaleString();else if(u){var m=o??(typeof b=="string"&&b.length<=10?{timeZone:"UTC"}:void 0);g=sb?x.toLocaleDateString(n,m):x.toLocaleDateString()}else i&&(g=sb?x.toLocaleTimeString(n,o):x.toLocaleTimeString());return c.createElement(Ne,Bi({component:"span",variant:"body2",className:t},wo(p)),g)};GO.propTypes=Bi(Bi(Bi({},Ne.propTypes),Yn),{locales:w.oneOfType([w.string,w.arrayOf(w.string)]),options:w.object,showTime:w.bool,showDate:w.bool});GO.displayName="DateFieldImpl";var vr=ms(GO),zPe=function(e){return e instanceof Date?e:typeof e=="string"||typeof e=="number"?new Date(e):void 0},sb=function(){try{new Date().toLocaleString("i")}catch(e){return e instanceof RangeError}return!1}(),Cl=function(){return Cl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r *":{color:r.palette.primary.main}},t}),Do=function(e){var t=e.children,r=e.debounce,n=e.filter,o=n===void 0?ZPe:n,a=e.page,i=a===void 0?1:a,s=e.pagination,u=s===void 0?null:s,l=e.perPage,d=l===void 0?25:l,f=e.reference,p=e.resource,v=e.sort,h=v===void 0?e$e:v,b=e.source,x=b===void 0?"id":b,g=e.target,m=Be(e),y=Hee({debounce:r,filter:o,page:i,perPage:d,record:m,reference:f,resource:p,sort:h,source:x,target:g});return te.createElement(cs,{value:f},te.createElement(Aw,{value:y},t,u))};Do.propTypes={children:w.node.isRequired,className:w.string,filter:w.object,label:Yn.label,perPage:w.number,record:w.any,reference:w.string.isRequired,resource:w.string,sortBy:w.string,sortByOrder:Yn.sortByOrder,source:w.string,sort:w.exact({field:w.string,order:w.oneOf(["ASC","DESC"])}),target:w.string.isRequired};w.element,w.string,w.exact({field:w.string,order:w.oneOf(["ASC","DESC"])}),w.any,w.bool,w.element,w.string,w.func;var ZPe={},e$e={field:"id",order:"DESC"},Vi=function(){return Vi=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?t:"")};L3.propTypes={children:w.node};var Bc=function(){return Bc=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0&&dk.call(t.callee)==="[object Function]"),n},ub,fk;function k$e(){if(fk)return ub;fk=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=X3,o=Object.prototype.propertyIsEnumerable,a=!o.call({toString:null},"toString"),i=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(p){var v=p.constructor;return v&&v.prototype===p},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!l["$"+p]&&t.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{u(window[p])}catch{return!0}}catch{return!0}return!1}(),f=function(p){if(typeof window>"u"||!d)return u(p);try{return u(p)}catch{return!1}};e=function(v){var h=v!==null&&typeof v=="object",b=r.call(v)==="[object Function]",x=n(v),g=h&&r.call(v)==="[object String]",m=[];if(!h&&!b&&!x)throw new TypeError("Object.keys called on a non-object");var y=i&&b;if(g&&v.length>0&&!t.call(v,0))for(var C=0;C0)for(var O=0;O"u"||!Gt?Ue:Gt(Uint8Array),Wi={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Ue:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ue:ArrayBuffer,"%ArrayIteratorPrototype%":Rs&&Gt?Gt([][Symbol.iterator]()):Ue,"%AsyncFromSyncIteratorPrototype%":Ue,"%AsyncFunction%":Fs,"%AsyncGenerator%":Fs,"%AsyncGeneratorFunction%":Fs,"%AsyncIteratorPrototype%":Fs,"%Atomics%":typeof Atomics>"u"?Ue:Atomics,"%BigInt%":typeof BigInt>"u"?Ue:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Ue:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Ue:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ue:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":e2e,"%eval%":eval,"%EvalError%":t2e,"%Float32Array%":typeof Float32Array>"u"?Ue:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ue:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ue:FinalizationRegistry,"%Function%":e4,"%GeneratorFunction%":Fs,"%Int8Array%":typeof Int8Array>"u"?Ue:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ue:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ue:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Rs&&Gt?Gt(Gt([][Symbol.iterator]())):Ue,"%JSON%":typeof JSON=="object"?JSON:Ue,"%Map%":typeof Map>"u"?Ue:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Rs||!Gt?Ue:Gt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ue:Promise,"%Proxy%":typeof Proxy>"u"?Ue:Proxy,"%RangeError%":r2e,"%ReferenceError%":n2e,"%Reflect%":typeof Reflect>"u"?Ue:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ue:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Rs||!Gt?Ue:Gt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ue:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Rs&&Gt?Gt(""[Symbol.iterator]()):Ue,"%Symbol%":Rs?Symbol:Ue,"%SyntaxError%":Xl,"%ThrowTypeError%":a2e,"%TypedArray%":s2e,"%TypeError%":Pl,"%Uint8Array%":typeof Uint8Array>"u"?Ue:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ue:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ue:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ue:Uint32Array,"%URIError%":o2e,"%WeakMap%":typeof WeakMap>"u"?Ue:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ue:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ue:WeakSet};if(Gt)try{null.error}catch(e){var l2e=Gt(Gt(e));Wi["%Error.prototype%"]=l2e}var u2e=function e(t){var r;if(t==="%AsyncFunction%")r=db("async function () {}");else if(t==="%GeneratorFunction%")r=db("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=db("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Gt&&(r=Gt(o.prototype))}return Wi[t]=r,r},gk={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bf=YO,Lm=Z$e,c2e=bf.call(Function.call,Array.prototype.concat),d2e=bf.call(Function.apply,Array.prototype.splice),yk=bf.call(Function.call,String.prototype.replace),Dm=bf.call(Function.call,String.prototype.slice),f2e=bf.call(Function.call,RegExp.prototype.exec),p2e=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,v2e=/\\(\\)?/g,m2e=function(t){var r=Dm(t,0,1),n=Dm(t,-1);if(r==="%"&&n!=="%")throw new Xl("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Xl("invalid intrinsic syntax, expected opening `%`");var o=[];return yk(t,p2e,function(a,i,s,u){o[o.length]=s?yk(u,v2e,"$1"):i||a}),o},h2e=function(t,r){var n=t,o;if(Lm(gk,n)&&(o=gk[n],n="%"+o[0]+"%"),Lm(Wi,n)){var a=Wi[n];if(a===Fs&&(a=u2e(n)),typeof a>"u"&&!r)throw new Pl("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new Xl("intrinsic "+t+" does not exist!")},$o=function(t,r){if(typeof t!="string"||t.length===0)throw new Pl("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Pl('"allowMissing" argument must be a boolean');if(f2e(/^%?[^%]*%?$/,t)===null)throw new Xl("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=m2e(t),o=n.length>0?n[0]:"",a=h2e("%"+o+"%",r),i=a.name,s=a.value,u=!1,l=a.alias;l&&(o=l[0],d2e(n,c2e([0,1],l)));for(var d=1,f=!0;d=n.length){var b=Ui(s,p);f=!!b,f&&"get"in b&&!("originalValue"in b.get)?s=b.get:s=s[p]}else f=Lm(s,p),s=s[p];f&&!u&&(Wi[i]=s)}}return s},g2e=$o,Qp=g2e("%Object.defineProperty%",!0)||!1;if(Qp)try{Qp({},"a",{value:1})}catch{Qp=!1}var JO=Qp,y2e=$o,Xp=y2e("%Object.getOwnPropertyDescriptor%",!0);if(Xp)try{Xp([],"length")}catch{Xp=null}var t4=Xp,bk=JO,b2e=Y3,ks=Rr,_k=t4,r4=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ks("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new ks("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ks("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ks("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ks("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ks("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,i=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,u=!!_k&&_k(t,r);if(bk)bk(t,r,{configurable:i===null&&u?u.configurable:!i,enumerable:o===null&&u?u.enumerable:!o,value:n,writable:a===null&&u?u.writable:!a});else if(s||!o&&!a&&!i)t[r]=n;else throw new b2e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},V_=JO,n4=function(){return!!V_};n4.hasArrayLengthDefineBug=function(){if(!V_)return null;try{return V_([],"length",{value:1}).length!==1}catch{return!0}};var o4=n4,_2e=I$e,x2e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",w2e=Object.prototype.toString,S2e=Array.prototype.concat,xk=r4,O2e=function(e){return typeof e=="function"&&w2e.call(e)==="[object Function]"},a4=o4(),C2e=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!O2e(n)||!n())return}a4?xk(e,t,r,!0):xk(e,t,r)},i4=function(e,t){var r=arguments.length>2?arguments[2]:{},n=_2e(t);x2e&&(n=S2e.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o4294967295||$2e(r)!==r)throw new Ok("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in t&&Sk){var i=Sk(t,"length");i&&!i.configurable&&(o=!1),i&&!i.writable&&(a=!1)}return(o||a||!n)&&(P2e?wk(t,"length",r,!0,!0):wk(t,"length",r)),t};(function(e){var t=YO,r=$o,n=R2e,o=Rr,a=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(i,a),u=JO,l=r("%Math.max%");e.exports=function(p){if(typeof p!="function")throw new o("a function is required");var v=s(t,i,arguments);return n(v,1+l(0,p.length-(arguments.length-1)),!0)};var d=function(){return s(t,a,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d})(s4);var Ug=s4.exports,l4=$o,u4=Ug,k2e=u4(l4("String.prototype.indexOf")),oa=function(t,r){var n=l4(t,!!r);return typeof n=="function"&&k2e(t,".prototype.")>-1?u4(n):n},T2e=Rr,_f=function(t){if(t==null)throw new T2e(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t},j2e=$o,c4=j2e("%Array%"),I2e=!c4.isArray&&oa("Object.prototype.toString"),A2e=c4.isArray||function(t){return I2e(t)==="[object Array]"},M2e=A2e,F2e=$o,N2e=oa,L2e=Rr,D2e=M2e,B2e=F2e("%Reflect.apply%",!0)||N2e("Function.prototype.apply"),z2e=function(t,r){var n=arguments.length>2?arguments[2]:[];if(!D2e(n))throw new L2e("Assertion failed: optional `argumentsList`, if provided, must be a List");return B2e(t,r,n)};const V2e={},U2e=Object.freeze(Object.defineProperty({__proto__:null,default:V2e},Symbol.toStringTag,{value:"Module"})),W2e=So(U2e);var ZO=typeof Map=="function"&&Map.prototype,pb=Object.getOwnPropertyDescriptor&&ZO?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Bm=ZO&&pb&&typeof pb.get=="function"?pb.get:null,Ck=ZO&&Map.prototype.forEach,eC=typeof Set=="function"&&Set.prototype,vb=Object.getOwnPropertyDescriptor&&eC?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,zm=eC&&vb&&typeof vb.get=="function"?vb.get:null,Ek=eC&&Set.prototype.forEach,q2e=typeof WeakMap=="function"&&WeakMap.prototype,Vc=q2e?WeakMap.prototype.has:null,H2e=typeof WeakSet=="function"&&WeakSet.prototype,Uc=H2e?WeakSet.prototype.has:null,G2e=typeof WeakRef=="function"&&WeakRef.prototype,Pk=G2e?WeakRef.prototype.deref:null,K2e=Boolean.prototype.valueOf,Q2e=Object.prototype.toString,X2e=Function.prototype.toString,Y2e=String.prototype.match,tC=String.prototype.slice,Ra=String.prototype.replace,J2e=String.prototype.toUpperCase,$k=String.prototype.toLowerCase,d4=RegExp.prototype.test,Rk=Array.prototype.concat,co=Array.prototype.join,Z2e=Array.prototype.slice,kk=Math.floor,U_=typeof BigInt=="function"?BigInt.prototype.valueOf:null,mb=Object.getOwnPropertySymbols,W_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Yl=typeof Symbol=="function"&&typeof Symbol.iterator=="object",gr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Yl||!0)?Symbol.toStringTag:null,f4=Object.prototype.propertyIsEnumerable,Tk=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function jk(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||d4.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-kk(-e):kk(e);if(n!==e){var o=String(n),a=tC.call(t,o.length+1);return Ra.call(o,r,"$&_")+"."+Ra.call(Ra.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ra.call(t,r,"$&_")}var q_=W2e,Ik=q_.custom,Ak=v4(Ik)?Ik:null,eRe=function e(t,r,n,o){var a=r||{};if(ya(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ya(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=ya(a,"customInspect")?a.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ya(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ya(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return h4(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var u=String(t);return s?jk(t,u):u}if(typeof t=="bigint"){var l=String(t)+"n";return s?jk(t,l):l}var d=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=d&&d>0&&typeof t=="object")return H_(t)?"[Array]":"[Object]";var f=yRe(a,n);if(typeof o>"u")o=[];else if(m4(o,t)>=0)return"[Circular]";function p(I,A,D){if(A&&(o=Z2e.call(o),o.push(A)),D){var L={depth:a.depth};return ya(a,"quoteStyle")&&(L.quoteStyle=a.quoteStyle),e(I,L,n+1,o)}return e(I,a,n+1,o)}if(typeof t=="function"&&!Mk(t)){var v=uRe(t),h=ap(t,p);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(h.length>0?" { "+co.call(h,", ")+" }":"")}if(v4(t)){var b=Yl?Ra.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):W_.call(t);return typeof t=="object"&&!Yl?tc(b):b}if(mRe(t)){for(var x="<"+$k.call(String(t.nodeName)),g=t.attributes||[],m=0;m",x}if(H_(t)){if(t.length===0)return"[]";var y=ap(t,p);return f&&!gRe(y)?"["+G_(y,f)+"]":"[ "+co.call(y,", ")+" ]"}if(nRe(t)){var C=ap(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!f4.call(t,"cause")?"{ ["+String(t)+"] "+co.call(Rk.call("[cause]: "+p(t.cause),C),", ")+" }":C.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+co.call(C,", ")+" }"}if(typeof t=="object"&&i){if(Ak&&typeof t[Ak]=="function"&&q_)return q_(t,{depth:d-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(cRe(t)){var O=[];return Ck&&Ck.call(t,function(I,A){O.push(p(A,t,!0)+" => "+p(I,t))}),Fk("Map",Bm.call(t),O,f)}if(pRe(t)){var S=[];return Ek&&Ek.call(t,function(I){S.push(p(I,t))}),Fk("Set",zm.call(t),S,f)}if(dRe(t))return hb("WeakMap");if(vRe(t))return hb("WeakSet");if(fRe(t))return hb("WeakRef");if(aRe(t))return tc(p(Number(t)));if(sRe(t))return tc(p(U_.call(t)));if(iRe(t))return tc(K2e.call(t));if(oRe(t))return tc(p(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===wa)return"{ [object globalThis] }";if(!rRe(t)&&!Mk(t)){var P=ap(t,p),E=Tk?Tk(t)===Object.prototype:t instanceof Object||t.constructor===Object,$=t instanceof Object?"":"null prototype",k=!E&&gr&&Object(t)===t&&gr in t?tC.call(di(t),8,-1):$?"Object":"",T=E||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",j=T+(k||$?"["+co.call(Rk.call([],k||[],$||[]),": ")+"] ":"");return P.length===0?j+"{}":f?j+"{"+G_(P,f)+"}":j+"{ "+co.call(P,", ")+" }"}return String(t)};function p4(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function tRe(e){return Ra.call(String(e),/"/g,""")}function H_(e){return di(e)==="[object Array]"&&(!gr||!(typeof e=="object"&&gr in e))}function rRe(e){return di(e)==="[object Date]"&&(!gr||!(typeof e=="object"&&gr in e))}function Mk(e){return di(e)==="[object RegExp]"&&(!gr||!(typeof e=="object"&&gr in e))}function nRe(e){return di(e)==="[object Error]"&&(!gr||!(typeof e=="object"&&gr in e))}function oRe(e){return di(e)==="[object String]"&&(!gr||!(typeof e=="object"&&gr in e))}function aRe(e){return di(e)==="[object Number]"&&(!gr||!(typeof e=="object"&&gr in e))}function iRe(e){return di(e)==="[object Boolean]"&&(!gr||!(typeof e=="object"&&gr in e))}function v4(e){if(Yl)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!W_)return!1;try{return W_.call(e),!0}catch{}return!1}function sRe(e){if(!e||typeof e!="object"||!U_)return!1;try{return U_.call(e),!0}catch{}return!1}var lRe=Object.prototype.hasOwnProperty||function(e){return e in this};function ya(e,t){return lRe.call(e,t)}function di(e){return Q2e.call(e)}function uRe(e){if(e.name)return e.name;var t=Y2e.call(X2e.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function m4(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return h4(tC.call(e,0,t.maxStringLength),t)+n}var o=Ra.call(Ra.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,hRe);return p4(o,"single",t)}function hRe(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+J2e.call(t.toString(16))}function tc(e){return"Object("+e+")"}function hb(e){return e+" { ? }"}function Fk(e,t,r,n){var o=n?G_(r,n):co.call(r,", ");return e+" ("+t+") {"+o+"}"}function gRe(e){for(var t=0;t=0)return!1;return!0}function yRe(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=co.call(Array(e.indent+1)," ");else return null;return{base:r,prev:co.call(Array(t+1),r)}}function G_(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+co.call(e,","+r)+` +`+t.prev}function ap(e,t){var r=H_(e),n=[];if(r){n.length=e.length;for(var o=0;o"u")return"Undefined";if(typeof t=="function"||typeof t=="object")return"Object";if(typeof t=="number")return"Number";if(typeof t=="boolean")return"Boolean";if(typeof t=="string")return"String"},_Re=bRe,rC=function(t){return typeof t=="symbol"?"Symbol":typeof t=="bigint"?"BigInt":_Re(t)},Nk=Rr,xRe=eRe,wRe=g4,SRe=rC,y4=function(t,r){if(SRe(t)!=="Object")throw new Nk("Assertion failed: Type(O) is not Object");if(!wRe(r))throw new Nk("Assertion failed: IsPropertyKey(P) is not true, got "+xRe(r));return t[r]},Lk=Rr,ORe=g4,CRe=rC,ERe=function(t,r){if(CRe(t)!=="Object")throw new Lk("Assertion failed: `O` must be an Object");if(!ORe(r))throw new Lk("Assertion failed: `P` must be a Property Key");return r in t},b4=Function.prototype.toString,ol=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,K_,Yp;if(typeof ol=="function"&&typeof Object.defineProperty=="function")try{K_=Object.defineProperty({},"length",{get:function(){throw Yp}}),Yp={},ol(function(){throw 42},null,K_)}catch(e){e!==Yp&&(ol=null)}else ol=null;var PRe=/^\s*class\b/,Q_=function(t){try{var r=b4.call(t);return PRe.test(r)}catch{return!1}},gb=function(t){try{return Q_(t)?!1:(b4.call(t),!0)}catch{return!1}},Jp=Object.prototype.toString,$Re="[object Object]",RRe="[object Function]",kRe="[object GeneratorFunction]",TRe="[object HTMLAllCollection]",jRe="[object HTML document.all class]",IRe="[object HTMLCollection]",ARe=typeof Symbol=="function"&&!!Symbol.toStringTag,MRe=!(0 in[,]),X_=function(){return!1};if(typeof document=="object"){var FRe=document.all;Jp.call(FRe)===Jp.call(document.all)&&(X_=function(t){if((MRe||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=Jp.call(t);return(r===TRe||r===jRe||r===IRe||r===$Re)&&t("")==null}catch{}return!1})}var _4=ol?function(t){if(X_(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{ol(t,null,K_)}catch(r){if(r!==Yp)return!1}return!Q_(t)&&gb(t)}:function(t){if(X_(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(ARe)return gb(t);if(Q_(t))return!1;var r=Jp.call(t);return r!==RRe&&r!==kRe&&!/^\[object HTML/.test(r)?!1:gb(t)},NRe=_4,LRe=Number.MAX_SAFE_INTEGER||9007199254740991,yb,Dk;function DRe(){return Dk||(Dk=1,yb=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),yb}var bb,Bk;function BRe(){return Bk||(Bk=1,bb=function(t){return t===null||typeof t!="function"&&typeof t!="object"}),bb}var zRe=J3,nC=function(){return zRe()&&!!Symbol.toStringTag},_b,zk;function VRe(){if(zk)return _b;zk=1;var e=Date.prototype.getDay,t=function(i){try{return e.call(i),!0}catch{return!1}},r=Object.prototype.toString,n="[object Date]",o=nC();return _b=function(i){return typeof i!="object"||i===null?!1:o?t(i):r.call(i)===n},_b}var ip={exports:{}},Vk;function URe(){if(Vk)return ip.exports;Vk=1;var e=Object.prototype.toString,t=Z3();if(t){var r=Symbol.prototype.toString,n=/^Symbol\(.*\)$/,o=function(i){return typeof i.valueOf()!="symbol"?!1:n.test(r.call(i))};ip.exports=function(i){if(typeof i=="symbol")return!0;if(e.call(i)!=="[object Symbol]")return!1;try{return o(i)}catch{return!1}}}else ip.exports=function(i){return!1};return ip.exports}var xb,Uk;function WRe(){if(Uk)return xb;Uk=1;var e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",t=BRe(),r=_4,n=VRe(),o=URe(),a=function(u,l){if(typeof u>"u"||u===null)throw new TypeError("Cannot call method on "+u);if(typeof l!="string"||l!=="number"&&l!=="string")throw new TypeError('hint must be "string" or "number"');var d=l==="string"?["toString","valueOf"]:["valueOf","toString"],f,p,v;for(v=0;v1&&(arguments[1]===String?l="string":arguments[1]===Number&&(l="number"));var d;if(e&&(Symbol.toPrimitive?d=i(u,Symbol.toPrimitive):o(u)&&(d=Symbol.prototype.valueOf)),typeof d<"u"){var f=d.call(u,l);if(t(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return l==="default"&&(n(u)||o(u))&&(l="string"),a(u,l==="default"?"number":l)},xb}var wb,Wk;function qRe(){if(Wk)return wb;Wk=1;var e=WRe();return wb=function(r){return arguments.length>1?e(r,arguments[1]):e(r)},wb}var Sb,qk;function HRe(){if(qk)return Sb;qk=1;var e=oa,t=nC(),r,n,o,a;if(t){r=e("Object.prototype.hasOwnProperty"),n=e("RegExp.prototype.exec"),o={};var i=function(){throw o};a={toString:i,valueOf:i},typeof Symbol.toPrimitive=="symbol"&&(a[Symbol.toPrimitive]=i)}var s=e("Object.prototype.toString"),u=Object.getOwnPropertyDescriptor,l="[object RegExp]";return Sb=t?function(f){if(!f||typeof f!="object")return!1;var p=u(f,"lastIndex"),v=p&&r(p,"value");if(!v)return!1;try{n(f,a)}catch(h){return h===o}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:s(f)===l},Sb}var Ob,Hk;function GRe(){if(Hk)return Ob;Hk=1;var e=oa,t=HRe(),r=e("RegExp.prototype.exec"),n=Rr;return Ob=function(a){if(!t(a))throw new n("`regex` must be a RegExp");return function(s){return r(a,s)!==null}},Ob}var KRe=$o,QRe=KRe("%String%"),XRe=Rr,x4=function(t){if(typeof t=="symbol")throw new XRe("Cannot convert a Symbol value to a string");return QRe(t)},YRe=_f,JRe=x4,ZRe=oa,Gk=ZRe("String.prototype.replace"),w4=/^\s$/.test("᠎"),eke=w4?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,tke=w4?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/,S4=function(){var t=JRe(YRe(this));return Gk(Gk(t,eke,""),tke,"")},rke=S4,Kk="​",Ts="᠎",O4=function(){return String.prototype.trim&&Kk.trim()===Kk&&Ts.trim()===Ts&&("_"+Ts).trim()==="_"+Ts&&(Ts+"_").trim()===Ts+"_"?String.prototype.trim:rke},nke=Tu,oke=O4,ake=function(){var t=oke();return nke(String.prototype,{trim:t},{trim:function(){return String.prototype.trim!==t}}),t},ike=Ug,ske=Tu,lke=_f,uke=S4,C4=O4,cke=ake,dke=ike(C4()),E4=function(t){return lke(t),dke(t)};ske(E4,{getPolyfill:C4,implementation:uke,shim:cke});var P4=E4,Cb,Qk;function fke(){if(Qk)return Cb;Qk=1;var e=$o,t=e("%Number%"),r=e("%RegExp%"),n=Rr,o=e("%parseInt%"),a=oa,i=GRe(),s=a("String.prototype.slice"),u=i(/^0b[01]+$/i),l=i(/^0o[0-7]+$/i),d=i(/^[-+]0x[0-9a-f]+$/i),f=["…","​","￾"].join(""),p=new r("["+f+"]","g"),v=i(p),h=P4;return Cb=function b(x){if(typeof x!="string")throw new n("Assertion failed: `argument` is not a String");if(u(x))return t(o(s(x,2),2));if(l(x))return t(o(s(x,2),8));if(v(x)||d(x))return NaN;var g=h(x);return g!==x?b(g):t(x)},Cb}var pke=$o,Xk=Rr,Yk=pke("%Number%"),vke=DRe(),mke=qRe(),hke=fke(),gke=function(t){var r=vke(t)?t:mke(t,Yk);if(typeof r=="symbol")throw new Xk("Cannot convert a Symbol value to a number");if(typeof r=="bigint")throw new Xk("Conversion from 'BigInt' to 'number' is not allowed.");return typeof r=="string"?hke(r):Yk(r)},yke=Math.floor,bke=function(t){return typeof t=="bigint"?t:yke(t)},Jk=bke,_ke=Rr,xke=function(t){if(typeof t!="number"&&typeof t!="bigint")throw new _ke("argument must be a Number or a BigInt");var r=t<0?-Jk(-t):Jk(t);return r===0?0:r},$4=Number.isNaN||function(t){return t!==t},wke=$4,Ske=function(e){return(typeof e=="number"||typeof e=="bigint")&&!wke(e)&&e!==1/0&&e!==-1/0},Oke=gke,Cke=xke,Eke=$4,Pke=Ske,$ke=function(t){var r=Oke(t);return Eke(r)||r===0?0:Pke(r)?Cke(r):r},Zk=LRe,Rke=$ke,kke=function(t){var r=Rke(t);return r<=0?0:r>Zk?Zk:r},Tke=Rr,jke=y4,Ike=kke,Ake=rC,Mke=function(t){if(Ake(t)!=="Object")throw new Tke("Assertion failed: `obj` must be an Object");return Ike(jke(t,"length"))},Fke=Object,Nke=Fke,Lke=_f,Dke=function(t){return Lke(t),Nke(t)},Bke=String.prototype.valueOf,zke=function(t){try{return Bke.call(t),!0}catch{return!1}},Vke=Object.prototype.toString,Uke="[object String]",Wke=nC(),qke=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:Wke?zke(t):Vke.call(t)===Uke},Hke=oa,Gke=Rr,Kke=z2e,Qke=y4,Xke=ERe,Yke=NRe,Jke=Mke,Zke=Dke,eTe=x4,tTe=qke,rTe=Hke("String.prototype.split"),eT=Object("a"),nTe=eT[0]!=="a"||!(0 in eT),R4=function(t){var r=Zke(this),n=nTe&&tTe(this)?rTe(this,""):r,o=Jke(n);if(!Yke(t))throw new Gke("Array.prototype.forEach callback must be a function");var a;arguments.length>1&&(a=arguments[1]);for(var i=0;i=12&&t<=14)?1:2},z4={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:$b,chinese:function(){return 0},croatian:$b,french:function(e){return e>=2?1:0},german:function(e){return e!==1?1:0},russian:$b,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return e===1?0:e>=2&&e<=4?1:2},polish:function(e){if(e===1)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return t===1?0:t===2?1:t===3||t===4?2:3},romanian:function(e){if(e===1)return 0;var t=e%100;return e===0||t>=2&&t<=19?1:2}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"]}};function ITe(e){var t={};return Vm(oC(e),function(r){var n=r[0],o=r[1];Vm(o,function(a){t[a]=n})}),t}function ATe(e,t){var r=ITe(e.pluralTypeToLanguages);return r[t]||r[B4.call(t,/-/,1)[0]]||r.en}function MTe(e,t,r){return e.pluralTypes[t](r)}function FTe(){var e={};return function(t,r){var n=e[r];return n&&!t.pluralTypes[n]&&(n=null,e[r]=n),n||(n=ATe(t,r),n&&(e[r]=n)),n}}function nT(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function NTe(e){var t=e&&e.prefix||"%{",r=e&&e.suffix||"}";if(t===Zp||r===Zp)throw new RangeError('"'+Zp+'" token is reserved for pluralization');return new RegExp(nT(t)+"(.*?)"+nT(r),"g")}var LTe=FTe(),DTe=/%\{(.*?)\}/g;function aC(e,t,r,n,o,a){if(typeof e!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(t==null)return e;var i=e,s=n||DTe,u=a||D4,l=typeof t=="number"?{smart_count:t}:t;if(l.smart_count!=null&&e){var d=o||z4,f=B4.call(e,Zp),p=r||"en",v=LTe(d,p),h=MTe(d,v,l.smart_count);i=TTe(f[h]||f[0])}return i=u.call(i,s,function(b,x){return!L4(l,x)||l[x]==null?b:l[x]}),i}function aa(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var r=t.allowMissing?aC:null;this.onMissingKey=typeof t.onMissingKey=="function"?t.onMissingKey:r,this.warn=t.warn||jTe,this.replaceImplementation=t.replace||D4,this.tokenRegex=NTe(t.interpolation),this.pluralRules=t.pluralRules||z4}aa.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale};aa.prototype.extend=function(e,t){Vm(oC(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.extend(o,a):this.phrases[a]=o},this)};aa.prototype.unset=function(e,t){typeof e=="string"?delete this.phrases[e]:Vm(oC(e||{}),function(r){var n=r[0],o=r[1],a=t?t+"."+n:n;typeof o=="object"?this.unset(o,a):delete this.phrases[a]},this)};aa.prototype.clear=function(){this.phrases={}};aa.prototype.replace=function(e){this.clear(),this.extend(e)};aa.prototype.t=function(e,t){var r,n,o=t??{};if(typeof this.phrases[e]=="string")r=this.phrases[e];else if(typeof o._=="string")r=o._;else if(this.onMissingKey){var a=this.onMissingKey;n=a(e,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)}else this.warn('Missing translation for key: "'+e+'"'),n=e;return typeof r=="string"&&(n=aC(r,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)),n};aa.prototype.has=function(e){return L4(this.phrases,e)};aa.transformPhrase=function(t,r,n){return aC(t,r,n)};var BTe=aa;const oT=Rt(BTe);var al=function(){return al=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{console.log("login ");const o={method:"POST",body:JSON.stringify(Object.assign({device_id:localStorage.getItem("device_id"),initial_device_display_name:"Synapse Admin"},n?{type:"m.login.token",token:n}:{type:"m.login.password",user:t,password:r}))};e=e.replace(/\/+$/g,""),localStorage.setItem("base_url",e);const i=window.decodeURIComponent(e)+"/_matrix/client/r0/login",{json:s}=await Yi(i,o);localStorage.setItem("home_server",s.home_server),localStorage.setItem("user_id",s.user_id),localStorage.setItem("access_token",s.access_token),localStorage.setItem("device_id",s.device_id)},logout:async()=>{console.log("logout");const e=localStorage.getItem("base_url")+"/_matrix/client/r0/logout",t=localStorage.getItem("access_token"),r={method:"POST",user:{authenticated:!0,token:`Bearer ${t}`}};typeof t=="string"&&(await Yi(e,r),localStorage.removeItem("access_token"))},checkError:({status:e})=>(console.log("checkError "+e),e===401||e===403?Promise.reject():Promise.resolve()),checkAuth:()=>{const e=localStorage.getItem("access_token");return console.log("checkAuth "+e),typeof e=="string"?Promise.resolve():Promise.reject()},getPermissions:()=>Promise.resolve()},sn=(e,t={})=>{const r=localStorage.getItem("access_token");return console.log("httpClient "+e),r!=null&&(t.user={authenticated:!0,token:`Bearer ${r}`}),Yi(e,t)},aT=e=>{const t=localStorage.getItem("base_url");var n=/^mxc:\/\/([^/]+)\/(\w+)/.exec(e);if(console.log("mxcClient "+n),n==null)return null;const o=n[1],a=n[2];return`${t}/_matrix/media/r0/thumbnail/${o}/${a}?width=24&height=24&method=scale`},jt={users:{path:"/_synapse/admin/v2/users",map:e=>({...e,id:e.name,avatar_src:aT(e.avatar_url),is_guest:!!e.is_guest,admin:!!e.admin,deactivated:!!e.deactivated,creation_ts_ms:e.creation_ts*1e3}),data:"users",total:e=>e.total,create:e=>({endpoint:`/_synapse/admin/v2/users/@${encodeURIComponent(e.id)}:${localStorage.getItem("home_server")}`,body:e,method:"PUT"}),delete:e=>({endpoint:`/_synapse/admin/v1/deactivate/${encodeURIComponent(e.id)}`,body:{erase:!0},method:"POST"})},rooms:{path:"/_synapse/admin/v1/rooms",map:e=>({...e,id:e.room_id,alias:e.canonical_alias,members:e.joined_members,is_encrypted:!!e.encryption,federatable:!!e.federatable,public:!!e.public}),data:"rooms",total:e=>e.total_rooms,delete:e=>({endpoint:`/_synapse/admin/v2/rooms/${e.id}`,body:{block:!1}})},reports:{path:"/_synapse/admin/v1/event_reports",map:e=>({...e,id:e.id}),data:"event_reports",total:e=>e.total},devices:{map:e=>({...e,id:e.device_id}),data:"devices",total:e=>e.total,reference:e=>({endpoint:`/_synapse/admin/v2/users/${encodeURIComponent(e)}/devices`}),delete:e=>({endpoint:`/_synapse/admin/v2/users/${encodeURIComponent(e.previousData.user_id)}/devices/${e.id}`})},connections:{path:"/_synapse/admin/v1/whois",map:e=>({...e,id:e.user_id}),data:"connections"},room_members:{map:e=>({id:e}),reference:e=>({endpoint:`/_synapse/admin/v1/rooms/${e}/members`}),data:"members",total:e=>e.total},room_state:{map:e=>({...e,id:e.event_id}),reference:e=>({endpoint:`/_synapse/admin/v1/rooms/${e}/state`}),data:"state",total:e=>e.state.length},pushers:{map:e=>({...e,id:e.pushkey}),reference:e=>({endpoint:`/_synapse/admin/v1/users/${encodeURIComponent(e)}/pushers`}),data:"pushers",total:e=>e.total},joined_rooms:{map:e=>({id:e}),reference:e=>({endpoint:`/_synapse/admin/v1/users/${encodeURIComponent(e)}/joined_rooms`}),data:"joined_rooms",total:e=>e.total},users_media:{map:e=>({...e,id:e.media_id}),reference:e=>({endpoint:`/_synapse/admin/v1/users/${encodeURIComponent(e)}/media`}),data:"media",total:e=>e.total,delete:e=>({endpoint:`/_synapse/admin/v1/media/${localStorage.getItem("home_server")}/${e.id}`})},delete_media:{delete:e=>({endpoint:`/_synapse/admin/v1/media/${localStorage.getItem("home_server")}/delete?before_ts=${e.meta.before_ts}&size_gt=${e.meta.size_gt}&keep_profiles=${e.meta.keep_profiles}`,method:"POST"})},protect_media:{map:e=>({id:e.media_id}),create:e=>({endpoint:`/_synapse/admin/v1/media/protect/${e.media_id}`,method:"POST"}),delete:e=>({endpoint:`/_synapse/admin/v1/media/unprotect/${e.id}`,method:"POST"})},quarantine_media:{map:e=>({id:e.media_id}),create:e=>({endpoint:`/_synapse/admin/v1/media/quarantine/${localStorage.getItem("home_server")}/${e.media_id}`,method:"POST"}),delete:e=>({endpoint:`/_synapse/admin/v1/media/unquarantine/${localStorage.getItem("home_server")}/${e.id}`,method:"POST"})},servernotices:{map:e=>({id:e.event_id}),create:e=>({endpoint:"/_synapse/admin/v1/send_server_notice",body:{user_id:e.id,content:{msgtype:"m.text",body:e.body}},method:"POST"})},user_media_statistics:{path:"/_synapse/admin/v1/statistics/users/media",map:e=>({...e,id:e.user_id}),data:"users",total:e=>e.total},forward_extremities:{map:e=>({...e,id:e.event_id}),reference:e=>({endpoint:`/_synapse/admin/v1/rooms/${e}/forward_extremities`}),data:"results",total:e=>e.count,delete:e=>({endpoint:`/_synapse/admin/v1/rooms/${e.id}/forward_extremities`})},room_directory:{path:"/_matrix/client/r0/publicRooms",map:e=>({...e,id:e.room_id,public:!!e.public,guest_access:!!e.guest_access,avatar_src:aT(e.avatar_url)}),data:"chunk",total:e=>e.total_room_count_estimate,create:e=>({endpoint:`/_matrix/client/r0/directory/list/room/${e.id}`,body:{visibility:"public"},method:"PUT"}),delete:e=>({endpoint:`/_matrix/client/r0/directory/list/room/${e.id}`,body:{visibility:"private"},method:"PUT"})},destinations:{path:"/_synapse/admin/v1/federation/destinations",map:e=>({...e,id:e.destination}),data:"destinations",total:e=>e.total,delete:e=>({endpoint:`/_synapse/admin/v1/federation/destinations/${e.id}/reset_connection`,method:"POST"})},destination_rooms:{map:e=>({...e,id:e.room_id}),reference:e=>({endpoint:`/_synapse/admin/v1/federation/destinations/${e}/rooms`}),data:"rooms",total:e=>e.total},registration_tokens:{path:"/_synapse/admin/v1/registration_tokens",map:e=>({...e,id:e.token}),data:"registration_tokens",total:e=>e.registration_tokens.length,create:e=>({endpoint:"/_synapse/admin/v1/registration_tokens/new",body:e,method:"POST"}),delete:e=>({endpoint:`/_synapse/admin/v1/registration_tokens/${e.id}`})}};function js(e,t){if(!(t===null&&e!=="user_type"))return t}function iT(e){return e==="DESC"?"b":"f"}const qTe={getList:async(e,t)=>{console.log("getList "+e);const{user_id:r,name:n,guests:o,deactivated:a,search_term:i,destination:s,valid:u}=t.filter,{page:l,perPage:d}=t.pagination,{field:f,order:p}=t.sort,v=(l-1)*d,h={from:v,limit:d,user_id:r,search_term:i,name:n,destination:s,guests:o,deactivated:a,valid:u,order_by:f,dir:iT(p)},b=localStorage.getItem("base_url");if(!b||!(e in jt))return Promise.reject();const x=jt[e],m=`${b+x.path}?${Xi.stringify(h)}`,{json:y}=await sn(m);return{data:y[x.data].map(x.map),total:x.total(y,v,d)}},getOne:async(e,t)=>{console.log("getOne "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e],o=r+n.path,{json:a}=await sn(`${o}/${encodeURIComponent(t.id)}`);return{data:n.map(a)}},getMany:async(e,t)=>{console.log("getMany "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e],o=r+n.path,a=await Promise.all(t.ids.map(i=>sn(`${o}/${encodeURIComponent(i)}`)));return{data:a.map(({json:i})=>n.map(i)),total:a.length}},getManyReference:async(e,t)=>{console.log("getManyReference "+e);const{page:r,perPage:n}=t.pagination,{field:o,order:a}=t.sort,i=(r-1)*n,s={from:i,limit:n,order_by:o,dir:iT(a)},u=localStorage.getItem("base_url");if(!u||!(e in jt))return Promise.reject();const l=jt[e],d=l.reference(t.id),f=`${u}${d.endpoint}?${Xi.stringify(s)}`,{json:p}=await sn(f);return{data:p[l.data].map(l.map),total:l.total(p,i,n)}},update:async(e,t)=>{console.log("update "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e],o=r+n.path,{json:a}=await sn(`${o}/${encodeURIComponent(t.id)}`,{method:"PUT",body:JSON.stringify(t.data,js)});return{data:n.map(a)}},updateMany:async(e,t)=>{console.log("updateMany "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e],o=r+n.path;return{data:(await Promise.all(t.ids.map(i=>sn(`${o}/${encodeURIComponent(i)}`),{method:"PUT",body:JSON.stringify(t.data,js)}))).map(({json:i})=>i)}},create:async(e,t)=>{console.log("create "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e];if(!("create"in n))return Promise.reject();const o=n.create(t.data),a=r+o.endpoint,{json:i}=await sn(a,{method:o.method,body:JSON.stringify(o.body,js)});return{data:n.map(i)}},createMany:async(e,t)=>{console.log("createMany "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e];return"create"in n?{data:(await Promise.all(t.ids.map(a=>{t.data.id=a;const i=n.create(t.data),s=r+i.endpoint;return sn(s,{method:i.method,body:JSON.stringify(i.body,js)})}))).map(({json:a})=>a)}:Promise.reject()},delete:async(e,t)=>{console.log("delete "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e];if("delete"in n){const o=n.delete(t),a=r+o.endpoint,{json:i}=await sn(a,{method:"method"in o?o.method:"DELETE",body:"body"in o?JSON.stringify(o.body):null});return{data:i}}else{const o=r+n.path,{json:a}=await sn(`${o}/${t.id}`,{method:"DELETE",body:JSON.stringify(t.previousData,js)});return{data:a}}},deleteMany:async(e,t)=>{console.log("deleteMany "+e);const r=localStorage.getItem("base_url");if(!r||!(e in jt))return Promise.reject();const n=jt[e];if("delete"in n)return{data:(await Promise.all(t.ids.map(a=>{const i=n.delete({...t,id:a}),s=r+i.endpoint;return sn(s,{method:"method"in i?i.method:"DELETE",body:"body"in i?JSON.stringify(i.body):null})}))).map(({json:a})=>a)};{const o=r+n.path;return{data:(await Promise.all(t.ids.map(i=>sn(`${o}/${i}`,{method:"DELETE",body:JSON.stringify(t.data,js)})))).map(({json:i})=>i)}}}};var iC={},HTe=Se;Object.defineProperty(iC,"__esModule",{value:!0});var U4=iC.default=void 0,GTe=HTe(Re()),KTe=_;U4=iC.default=(0,GTe.default)((0,KTe.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 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-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1z"}),"AssignmentInd");var sC={},QTe=Se;Object.defineProperty(sC,"__esModule",{value:!0});var W4=sC.default=void 0,XTe=QTe(Re()),YTe=_;W4=sC.default=(0,XTe.default)((0,YTe.jsx)("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail");var lC={},JTe=Se;Object.defineProperty(lC,"__esModule",{value:!0});var q4=lC.default=void 0,ZTe=JTe(Re()),eje=_;q4=lC.default=(0,ZTe.default)((0,eje.jsx)("path",{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1m-1 9h-4v-7h4z"}),"Devices");var uC={},tje=Se;Object.defineProperty(uC,"__esModule",{value:!0});var H4=uC.default=void 0,rje=tje(Re()),nje=_;H4=uC.default=(0,rje.default)((0,nje.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications");var cC={},oje=Se;Object.defineProperty(cC,"__esModule",{value:!0});var G4=cC.default=void 0,aje=oje(Re()),ije=_;G4=cC.default=(0,aje.default)((0,ije.jsx)("path",{d:"M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M7 15l4.5-6 3.5 4.51 2.5-3.01L21 15z"}),"PermMedia");var dC={},sje=Se;Object.defineProperty(dC,"__esModule",{value:!0});var K4=dC.default=void 0,lje=sje(Re()),uje=_;K4=dC.default=(0,lje.default)((0,uje.jsx)("path",{d:"M12 2c-4.97 0-9 4.03-9 9 0 4.17 2.84 7.67 6.69 8.69L12 22l2.31-2.31C18.16 18.67 21 15.17 21 11c0-4.97-4.03-9-9-9m0 2c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m0 14.3c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22"}),"PersonPin");var fC={},cje=Se;Object.defineProperty(fC,"__esModule",{value:!0});var Q4=fC.default=void 0,dje=cje(Re()),fje=_;Q4=fC.default=(0,dje.default)((0,fje.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6z"}),"SettingsInputComponent");var pC={},pje=Se;Object.defineProperty(pC,"__esModule",{value:!0});var vC=pC.default=void 0,vje=pje(Re()),mje=_;vC=pC.default=(0,vje.default)((0,mje.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group");const mC=({source:e,...t})=>{var l;const r=Be(t),n=(l=De(r,e))==null?void 0:l.toString(),{alt:o,classes:a,sizes:i,sx:s,variant:u}=t;return _.jsx(bd,{alt:o,classes:a,sizes:i,src:n,sx:s,variant:u})};var hC={},hje=Se;Object.defineProperty(hC,"__esModule",{value:!0});var gC=hC.default=void 0,gje=hje(Re()),yje=_;gC=hC.default=(0,gje.default)((0,yje.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 12H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Message");var yC={},bje=Se;Object.defineProperty(yC,"__esModule",{value:!0});var bC=yC.default=void 0,_je=bje(Re()),xje=_;bC=yC.default=(0,_je.default)((0,xje.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 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 12z"}),"Cancel");const X4=({open:e,loading:t,onClose:r,onSubmit:n})=>{const o=he(),a=i=>_.jsxs(vs,{...i,children:[_.jsx($u,{label:"resources.servernotices.action.send",disabled:i.pristine}),_.jsx(nt,{label:"ra.action.cancel",onClick:r,children:_.jsx(bC,{})})]});return _.jsxs(sf,{open:e,onClose:r,loading:t,children:[_.jsx(uf,{children:o("resources.servernotices.action.send")}),_.jsxs(lf,{children:[_.jsx($g,{children:o("resources.servernotices.helper.send")}),_.jsx(ku,{toolbar:_.jsx(a,{}),onSubmit:n,children:_.jsx(Lt,{source:"body",label:"resources.servernotices.fields.body",fullWidth:!0,multiline:!0,rows:"4",resettable:!0,validate:Qr()})})]})]})},wje=()=>{const e=Be(),[t,r]=c.useState(!1),n=at(),[o,{isloading:a}]=Dd(),i=()=>r(!0),s=()=>r(!1),u=l=>{o("servernotices",{data:{id:e.id,...l}},{onSuccess:()=>{n("resources.servernotices.action.send_success"),s()},onError:()=>n("resources.servernotices.action.send_failure",{type:"error"})})};return _.jsxs(_.Fragment,{children:[_.jsx(nt,{label:"resources.servernotices.send",onClick:i,disabled:a,children:_.jsx(gC,{})}),_.jsx(X4,{open:t,onClose:s,onSubmit:u})]})},Sje=()=>{const{selectedIds:e}=yr(),[t,r]=c.useState(!1),n=()=>r(!0),o=()=>r(!1),a=at(),i=mM("users"),s=Tn(),{mutate:u,isLoading:l}=ru(d=>s.createMany("servernotices",{ids:e,data:d}),{onSuccess:()=>{a("resources.servernotices.action.send_success"),i(),o()},onError:()=>a("resources.servernotices.action.send_failure",{type:"error"})});return _.jsxs(_.Fragment,{children:[_.jsx(nt,{label:"resources.servernotices.send",onClick:n,disabled:l,children:_.jsx(gC,{})}),_.jsx(X4,{open:t,onClose:o,onSubmit:u})]})},Oje=e=>{const t=Be(),r=eo(),n=at(),[o]=us();if(!t)return null;const a=()=>{o("devices",{id:t.id,previousData:t},{onSuccess:()=>{n("resources.devices.action.erase.success"),r()},onError:()=>{n("resources.devices.action.erase.failure",{type:"error"})}})};return _.jsx(li,{...e,label:"ra.action.remove",confirmTitle:"resources.devices.action.erase.title",confirmContent:"resources.devices.action.erase.content",onConfirm:a,mutationMode:"pessimistic",redirect:!1,translateOptions:{id:t.id,name:t.display_name?t.display_name:t.id}})};var _C={},Cje=Se;Object.defineProperty(_C,"__esModule",{value:!0});var Y_=_C.default=void 0,Eje=Cje(Re()),Pje=_;Y_=_C.default=(0,Eje.default)((0,Pje.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"Block");var xC={},$je=Se;Object.defineProperty(xC,"__esModule",{value:!0});var wC=xC.default=void 0,Rje=$je(Re()),kje=_;wC=xC.default=(0,Rje.default)((0,kje.jsx)("path",{d:"M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3zM14 5h-3l-1-1H6L5 5H2v2h12z"}),"DeleteSweep");var SC={},Tje=Se;Object.defineProperty(SC,"__esModule",{value:!0});var Y4=SC.default=void 0,jje=Tje(Re()),Ije=_;Y4=SC.default=(0,jje.default)((0,Ije.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen");var OC={},Aje=Se;Object.defineProperty(OC,"__esModule",{value:!0});var J4=OC.default=void 0,Mje=Aje(Re()),Fje=_;J4=OC.default=(0,Mje.default)((0,Fje.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen");const Nje=e=>{var r;return(r=/^@(?[a-zA-Z0-9._=\-/]+):(?[a-zA-Z0-9\-.]+\.[a-zA-Z]+)$/.exec(e))==null?void 0:r.groups},Lje=e=>/^(http|https):\/\/[a-zA-Z0-9\-.]+(:\d{1,5})?$/.test(e),Dje=async e=>{const t=`https://${e}/.well-known/matrix/client`;try{return(await Yi(t,{method:"GET"}))["m.homeserver"].base_url}catch{return`https://${e}`}},Bje=async e=>{const t=`${e}/_synapse/admin/v1/server_version`;return(await Yi(t,{method:"GET"})).json.server_version},zje=async e=>{const t=`${e}/_matrix/client/versions`;return(await Yi(t,{method:"GET"})).json},Vje=async e=>{const t=`${e}/_matrix/client/r0/login`;return(await Yi(t,{method:"GET"})).json.flows},Uje=e=>`${localStorage.getItem("base_url")}/_matrix/media/v1/download/${e}?allow_redirect=true`,Wje=({open:e,loading:t,onClose:r,onSubmit:n})=>{const o=he(),a=s=>{const u=new Date(s);return isNaN(u)?0:u.getTime()},i=s=>_.jsxs(vs,{...s,children:[_.jsx($u,{label:"resources.delete_media.action.send",icon:_.jsx(wC,{})}),_.jsx(nt,{label:"ra.action.cancel",onClick:r,children:_.jsx(bC,{})})]});return _.jsxs(sf,{open:e,onClose:r,loading:t,children:[_.jsx(uf,{children:o("resources.delete_media.action.send")}),_.jsxs(lf,{children:[_.jsx($g,{children:o("resources.delete_media.helper.send")}),_.jsxs(ku,{toolbar:_.jsx(i,{}),onSubmit:n,children:[_.jsx(Dg,{fullWidth:!0,source:"before_ts",label:"resources.delete_media.fields.before_ts",defaultValue:0,parse:a}),_.jsx(Li,{fullWidth:!0,source:"size_gt",label:"resources.delete_media.fields.size_gt",defaultValue:0,min:0,step:1024}),_.jsx(Ga,{fullWidth:!0,source:"keep_profiles",label:"resources.delete_media.fields.keep_profiles",defaultValue:!0})]})]})]})},qje=e=>{const t=Mn(),[r,n]=c.useState(!1),o=at(),[a,{isLoading:i}]=us(),s=()=>n(!0),u=()=>n(!1),l=d=>{a("delete_media",{meta:d},{onSuccess:()=>{o("resources.delete_media.action.send_success"),u()},onError:()=>o("resources.delete_media.action.send_failure",{type:"error"})})};return _.jsxs(_.Fragment,{children:[_.jsx(nt,{...e,label:"resources.delete_media.action.send",onClick:s,disabled:i,sx:{color:t.palette.error.main,"&:hover":{backgroundColor:Ll(t.palette.error.main,.12),"@media (hover: none)":{backgroundColor:"transparent"}}},children:_.jsx(wC,{})}),_.jsx(Wje,{open:r,onClose:u,onSubmit:l})]})},Hje=()=>{const e=Be(),t=he(),r=eo(),n=at(),[o,{isLoading:a}]=Dd(),[i]=us();if(!e)return null;const s=()=>{o("protect_media",{data:e},{onSuccess:()=>{n("resources.protect_media.action.send_success"),r()},onError:()=>n("resources.protect_media.action.send_failure",{type:"error"})})},u=()=>{i("protect_media",{id:e.id},{onSuccess:()=>{n("resources.protect_media.action.send_success"),r()},onError:()=>n("resources.protect_media.action.send_failure",{type:"error"})})};return _.jsxs(_.Fragment,{children:[e.quarantined_by&&_.jsx(Yt,{title:t("resources.protect_media.action.none",{_:"resources.protect_media.action.none"}),children:_.jsx("div",{children:_.jsx(nt,{disabled:!0,children:_.jsx(Kl,{})})})}),e.safe_from_quarantine&&_.jsx(Yt,{title:t("resources.protect_media.action.delete",{_:"resources.protect_media.action.delete"}),arrow:!0,children:_.jsx("div",{children:_.jsx(nt,{onClick:u,disabled:a,children:_.jsx(ff,{})})})}),!e.safe_from_quarantine&&!e.quarantined_by&&_.jsx(Yt,{title:t("resources.protect_media.action.create",{_:"resources.protect_media.action.create"}),children:_.jsx("div",{children:_.jsx(nt,{onClick:s,disabled:a,children:_.jsx(Y4,{})})})})]})},Gje=e=>{const t=Be(),r=he(),n=eo(),o=at(),[a,{isLoading:i}]=Dd(),[s]=us();if(!t)return null;const u=()=>{a("quarantine_media",{data:t},{onSuccess:()=>{o("resources.quarantine_media.action.send_success"),n()},onError:()=>o("resources.quarantine_media.action.send_failure",{type:"error"})})},l=()=>{s("quarantine_media",{id:t.id,previousData:t},{onSuccess:()=>{o("resources.quarantine_media.action.send_success"),n()},onError:()=>o("resources.quarantine_media.action.send_failure",{type:"error"})})};return _.jsxs(_.Fragment,{children:[t.safe_from_quarantine&&_.jsx(Yt,{title:r("resources.quarantine_media.action.none",{_:"resources.quarantine_media.action.none"}),children:_.jsx("div",{children:_.jsx(nt,{...e,disabled:!0,children:_.jsx(Kl,{})})})}),t.quarantined_by&&_.jsx(Yt,{title:r("resources.quarantine_media.action.delete",{_:"resources.quarantine_media.action.delete"}),children:_.jsx("div",{children:_.jsx(nt,{...e,onClick:l,disabled:i,children:_.jsx(Y_,{color:"error"})})})}),!t.safe_from_quarantine&&!t.quarantined_by&&_.jsx(Yt,{title:r("resources.quarantine_media.action.create",{_:"resources.quarantine_media.action.create"}),children:_.jsx("div",{children:_.jsx(nt,{onClick:u,disabled:i,children:_.jsx(Y_,{})})})})]})},Z4=({media_id:e,label:t})=>{const r=he(),n=Uje(e);return _.jsxs(wr,{style:{whiteSpace:"pre"},children:[_.jsx(Yt,{title:r("resources.users_media.action.open"),children:_.jsx("span",{children:_.jsx(nt,{component:Qn,to:n,target:"_blank",rel:"noopener",style:{minWidth:0,paddingLeft:0,paddingRight:0},children:_.jsx(J4,{})})})}),t]})},Kje=({source:e})=>{var o;const t=localStorage.getItem("home_server"),r=Be();if(!r)return null;const n=(o=De(r,e))==null?void 0:o.toString();return n?_.jsx(Z4,{media_id:`${t}/${n}`,label:n}):null},Qje=({source:e})=>{var o;const t=Be();if(!t)return null;const r=(o=De(t,e))==null?void 0:o.toString();if(!r)return null;const n=r.replace("mxc://","");return _.jsx(Z4,{media_id:n,label:r})},e5=[{id:"email",name:"resources.users.email"},{id:"msisdn",name:"resources.users.msisdn"}],t5=[{id:"bot",name:"bot"},{id:"support",name:"support"}],Ns={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},r5=({sort:e,className:t,resource:r,filters:n,displayedFilters:o,exporter:a,filterValues:i,permanentFilter:s,hasCreate:u,selectedIds:l,onUnselectItems:d,showFilter:f,maxResults:p,total:v,...h})=>_.jsxs(on,{className:t,...Ji(h),children:[n&&c.cloneElement(n,{resource:r,showFilter:f,displayedFilters:o,filterValues:i,context:"button"}),_.jsx(NS,{}),_.jsx(Pu,{disabled:v===0,resource:r,sort:e,filter:{...i,...s},exporter:a,maxResults:p}),_.jsx(nt,{component:Qn,to:"/import_users",label:"CSV Import",children:_.jsx(fO,{sx:{transform:"rotate(180deg)",fontSize:"20px"}})})]});r5.defaultProps={selectedIds:[],onUnselectItems:()=>null};const n5=()=>_.jsx(ui,{rowsPerPageOptions:[10,25,50,100,500,1e3]}),Xje=[_.jsx(Bg,{source:"name",alwaysOn:!0}),_.jsx(Ga,{source:"guests",alwaysOn:!0}),_.jsx(Ga,{label:"resources.users.fields.show_deactivated",source:"deactivated",alwaysOn:!0})],Yje=()=>_.jsxs(_.Fragment,{children:[_.jsx(Sje,{}),_.jsx(hf,{label:"resources.users.action.erase",confirmTitle:"resources.users.helper.erase",mutationMode:"pessimistic"})]}),Jje=e=>_.jsx(ci,{...e,filters:Xje,filterDefaultValues:{guests:!0,deactivated:!1},sort:{field:"name",order:"ASC"},actions:_.jsx(r5,{maxResults:1e4}),pagination:_.jsx(n5,{}),children:_.jsxs(Qt,{rowClick:"edit",bulkActionButtons:_.jsx(Yje,{}),children:[_.jsx(mC,{source:"avatar_src",sx:{height:"40px",width:"40px"},sortBy:"avatar_url"}),_.jsx(be,{source:"id",sortBy:"name"}),_.jsx(be,{source:"displayname"}),_.jsx(bo,{source:"is_guest"}),_.jsx(bo,{source:"admin"}),_.jsx(bo,{source:"deactivated"}),_.jsx(vr,{source:"creation_ts",label:"resources.users.fields.creation_ts_ms",showTime:!0,options:Ns})]})}),Zje=[Qr(),Qv(253),Uw(/^[a-z0-9._=\-/]+$/,"synapseadmin.users.invalid_user_id")],eIe=[Qr(),Qv(255)];function sT(){const e=localStorage.getItem("home_server"),t="@"+Array(8).fill("0123456789abcdefghijklmnopqrstuvwxyz").map(n=>n[Math.floor(crypto.getRandomValues(new Uint32Array(1))[0]/4294967296*n.length)]).join("")+":"+e,r=Array(20).fill("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~!@-#$").map(n=>n[Math.floor(crypto.getRandomValues(new Uint32Array(1))[0]/4294967296*n.length)]).join("");return{id:t,password:r}}const tIe=e=>_.jsx(vs,{...e,children:_.jsx($u,{disabled:e.pristine})}),rIe=({data:e})=>{const t=he();var r="";return e&&(r=e.deactivated),_.jsxs(on,{children:[!r&&_.jsx(wje,{record:e}),_.jsx(li,{record:e,label:"resources.users.action.erase",confirmTitle:t("resources.users.helper.erase",{smart_count:1}),mutationMode:"pessimistic"})]})},nIe=e=>_.jsx(zO,{...e,children:_.jsxs(ku,{children:[_.jsx(Lt,{source:"id",autoComplete:"off",validate:Zje}),_.jsx(Lt,{source:"displayname",validate:Qv(256)}),_.jsx(BO,{source:"password",autoComplete:"new-password",validate:Qv(512)}),_.jsx(Ed,{source:"user_type",choices:t5,translateChoice:!1,resettable:!0}),_.jsx(Ga,{source:"admin"}),_.jsx(wm,{source:"threepids",children:_.jsxs(Od,{disableReordering:!0,children:[_.jsx(Ed,{source:"medium",choices:e5,validate:Qr()}),_.jsx(Lt,{source:"address",validate:eIe})]})}),_.jsx(wm,{source:"external_ids",label:"synapseadmin.users.tabs.sso",children:_.jsxs(Od,{disableReordering:!0,children:[_.jsx(Lt,{source:"auth_provider",validate:Qr()}),_.jsx(Lt,{source:"external_id",label:"resources.users.fields.id",validate:Qr()})]})})]})}),oIe=()=>{const e=Be(),t=he();return _.jsxs("span",{children:[t("resources.users.name",{smart_count:1})," ",e?`"${e.displayname}"`:""]})},aIe=e=>{const t=he();return _.jsx(VO,{...e,title:_.jsx(oIe,{}),actions:_.jsx(rIe,{}),children:_.jsxs(UO,{toolbar:_.jsx(tIe,{}),children:[_.jsxs(Bn,{label:t("resources.users.name",{smart_count:1}),icon:_.jsx(K4,{}),children:[_.jsx(mC,{source:"avatar_src",sortable:!1,sx:{height:"120px",width:"120px",float:"right"}}),_.jsx(Lt,{source:"id",disabled:!0}),_.jsx(Lt,{source:"displayname"}),_.jsx(BO,{source:"password",autoComplete:"new-password",helperText:"resources.users.helper.password"}),_.jsx(Ed,{source:"user_type",choices:t5,translateChoice:!1,resettable:!0}),_.jsx(Ga,{source:"admin"}),_.jsx(Ga,{source:"deactivated",helperText:"resources.users.helper.deactivate"}),_.jsx(vr,{source:"creation_ts_ms",showTime:!0,options:Ns}),_.jsx(be,{source:"consent_version"})]}),_.jsx(Bn,{label:"resources.users.threepid",icon:_.jsx(W4,{}),path:"threepid",children:_.jsx(wm,{source:"threepids",children:_.jsxs(Od,{disableReordering:!0,children:[_.jsx(Ed,{source:"medium",choices:e5}),_.jsx(Lt,{source:"address"})]})})}),_.jsx(Bn,{label:"synapseadmin.users.tabs.sso",icon:_.jsx(U4,{}),path:"sso",children:_.jsx(wm,{source:"external_ids",label:!1,children:_.jsxs(Od,{disableReordering:!0,children:[_.jsx(Lt,{source:"auth_provider",validate:Qr()}),_.jsx(Lt,{source:"external_id",label:"resources.users.fields.id",validate:Qr()})]})})}),_.jsx(Bn,{label:t("resources.devices.name",{smart_count:2}),icon:_.jsx(q4,{}),path:"devices",children:_.jsx(Do,{reference:"devices",target:"user_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},children:[_.jsx(be,{source:"device_id",sortable:!1}),_.jsx(be,{source:"display_name",sortable:!1}),_.jsx(be,{source:"last_seen_ip",sortable:!1}),_.jsx(vr,{source:"last_seen_ts",showTime:!0,options:Ns,sortable:!1}),_.jsx(Oje,{})]})})}),_.jsx(Bn,{label:"resources.connections.name",icon:_.jsx(Q4,{}),path:"connections",children:_.jsx(_o,{reference:"connections",source:"id",addLabel:!1,link:!1,children:_.jsx(IPe,{source:"devices[].sessions[0].connections",label:"resources.connections.name",children:_.jsxs(Qt,{style:{width:"100%"},bulkActionButtons:!1,children:[_.jsx(be,{source:"ip",sortable:!1}),_.jsx(vr,{source:"last_seen",showTime:!0,options:Ns,sortable:!1}),_.jsx(be,{source:"user_agent",sortable:!1,style:{width:"100%"}})]})})})}),_.jsx(Bn,{label:t("resources.users_media.name",{smart_count:2}),icon:_.jsx(G4,{}),path:"media",children:_.jsx(Do,{reference:"users_media",target:"user_id",addLabel:!1,pagination:_.jsx(n5,{}),perPage:50,sort:{field:"created_ts",order:"DESC"},children:_.jsxs(Qt,{style:{width:"100%"},children:[_.jsx(Kje,{source:"media_id"}),_.jsx(vr,{source:"created_ts",showTime:!0,options:Ns}),_.jsx(vr,{source:"last_access_ts",showTime:!0,options:Ns}),_.jsx(zo,{source:"media_length"}),_.jsx(be,{source:"media_type"}),_.jsx(be,{source:"upload_name"}),_.jsx(be,{source:"quarantined_by"}),_.jsx(Gje,{label:"resources.quarantine_media.action.name"}),_.jsx(Hje,{label:"resources.users_media.fields.safe_from_quarantine"}),_.jsx(li,{mutationMode:"pessimistic",redirect:!1})]})})}),_.jsx(Bn,{label:t("resources.rooms.name",{smart_count:2}),icon:_.jsx(ps,{}),path:"rooms",children:_.jsx(Do,{reference:"joined_rooms",target:"user_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},rowClick:(r,n,o)=>"/rooms/"+r+"/show",bulkActionButtons:!1,children:[_.jsx(be,{source:"id",sortable:!1,label:"resources.rooms.fields.room_id"}),_.jsx(_o,{label:"resources.rooms.fields.name",source:"id",reference:"rooms",sortable:!1,link:"",children:_.jsx(be,{source:"name",sortable:!1})})]})})}),_.jsx(Bn,{label:t("resources.pushers.name",{smart_count:2}),icon:_.jsx(H4,{}),path:"pushers",children:_.jsx(Do,{reference:"pushers",target:"user_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},bulkActionButtons:!1,children:[_.jsx(be,{source:"kind",sortable:!1}),_.jsx(be,{source:"app_display_name",sortable:!1}),_.jsx(be,{source:"app_id",sortable:!1}),_.jsx(be,{source:"data.url",sortable:!1}),_.jsx(be,{source:"device_display_name",sortable:!1}),_.jsx(be,{source:"lang",sortable:!1}),_.jsx(be,{source:"profile_tag",sortable:!1}),_.jsx(be,{source:"pushkey",sortable:!1})]})})})]})})},iIe={name:"users",icon:vC,list:Jje,edit:aIe,create:nIe};var CC={},sIe=Se;Object.defineProperty(CC,"__esModule",{value:!0});var o5=CC.default=void 0,lIe=sIe(Re()),uIe=_;o5=CC.default=(0,lIe.default)((0,uIe.jsx)("path",{d:"m4 18 8.5-6L4 6zm9-12v12l8.5-6z"}),"FastForward");var EC={},cIe=Se;Object.defineProperty(EC,"__esModule",{value:!0});var J_=EC.default=void 0,dIe=cIe(Re()),fIe=_;J_=EC.default=(0,dIe.default)((0,fIe.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Https");var PC={},pIe=Se;Object.defineProperty(PC,"__esModule",{value:!0});var a5=PC.default=void 0,vIe=pIe(Re()),mIe=_;a5=PC.default=(0,vIe.default)((0,mIe.jsx)("path",{d:"M21 21.78 4.22 5 3 6.22l2.04 2.04C4.42 8.6 4 9.25 4 10v10c0 1.1.9 2 2 2h12c.23 0 .45-.05.66-.12L19.78 23zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H9.66L20 18.34V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5-2.56 0-4.64 1.93-4.94 4.4L8.9 7.24z"}),"NoEncryption");var $C={},hIe=Se;Object.defineProperty($C,"__esModule",{value:!0});var RC=$C.default=void 0,gIe=hIe(Re()),yIe=_;RC=$C.default=(0,gIe.default)((0,yIe.jsx)("path",{d:"M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-3.21 14.21-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9z"}),"Pageview");var kC={},bIe=Se;Object.defineProperty(kC,"__esModule",{value:!0});var i5=kC.default=void 0,_Ie=bIe(Re()),xIe=_;i5=kC.default=(0,_Ie.default)((0,xIe.jsx)("path",{d:"M17 12h-5v5h5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1zm3 18H5V8h14z"}),"Event");var TC={},wIe=Se;Object.defineProperty(TC,"__esModule",{value:!0});var hs=TC.default=void 0,SIe=wIe(Re()),OIe=_;hs=TC.default=(0,SIe.default)((0,OIe.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2z"}),"FolderShared");const CIe=()=>_.jsx(ui,{rowsPerPageOptions:[100,500,1e3,2e3]}),EIe=e=>{const t=he();return _.jsx(li,{...e,label:"resources.room_directory.action.erase",redirect:!1,mutationMode:"pessimistic",confirmTitle:t("resources.room_directory.action.title",{smart_count:1}),confirmContent:t("resources.room_directory.action.content",{smart_count:1}),resource:"room_directory",icon:_.jsx(hs,{})})},s5=e=>_.jsx(hf,{...e,label:"resources.room_directory.action.erase",mutationMode:"pessimistic",confirmTitle:"resources.room_directory.action.title",confirmContent:"resources.room_directory.action.content",resource:"room_directory",icon:_.jsx(hs,{})}),PIe=e=>{const{selectedIds:t}=yr(),r=at(),n=eo(),o=mM("rooms"),a=Tn(),{mutate:i,isLoading:s}=ru(()=>a.createMany("room_directory",{ids:t,data:{}}),{onSuccess:()=>{r("resources.room_directory.action.send_success"),o(),n()},onError:()=>r("resources.room_directory.action.send_failure",{type:"error"})});return _.jsx(nt,{...e,label:"resources.room_directory.action.create",onClick:i,disabled:s,children:_.jsx(hs,{})})},$Ie=e=>{const t=Be(),r=at(),n=eo(),[o,{isLoading:a}]=Dd(),i=()=>{o("room_directory",{data:{id:t.id}},{onSuccess:()=>{r("resources.room_directory.action.send_success"),n()},onError:()=>r("resources.room_directory.action.send_failure",{type:"error"})})};return _.jsx(nt,{...e,label:"resources.room_directory.action.create",onClick:i,disabled:a,children:_.jsx(hs,{})})},RIe=()=>_.jsxs(on,{children:[_.jsx(HD,{}),_.jsx(Pu,{})]}),kIe=()=>_.jsx(ci,{pagination:_.jsx(CIe,{}),perPage:100,actions:_.jsx(RIe,{}),children:_.jsxs(RO,{rowClick:(e,t,r)=>"/rooms/"+e+"/show",bulkActionButtons:_.jsx(s5,{}),omit:["room_id","canonical_alias","topic"],children:[_.jsx(mC,{source:"avatar_src",sortable:!1,sx:{height:"40px",width:"40px"},label:"resources.rooms.fields.avatar"}),_.jsx(be,{source:"name",sortable:!1,label:"resources.rooms.fields.name"}),_.jsx(be,{source:"room_id",sortable:!1,label:"resources.rooms.fields.room_id"}),_.jsx(be,{source:"canonical_alias",sortable:!1,label:"resources.rooms.fields.canonical_alias"}),_.jsx(be,{source:"topic",sortable:!1,label:"resources.rooms.fields.topic"}),_.jsx(zo,{source:"num_joined_members",sortable:!1,label:"resources.rooms.fields.joined_members"}),_.jsx(bo,{source:"world_readable",sortable:!1,label:"resources.room_directory.fields.world_readable"}),_.jsx(bo,{source:"guest_can_join",sortable:!1,label:"resources.room_directory.fields.guest_can_join"})]})}),TIe={name:"room_directory",icon:hs,list:kIe},lT={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},jIe=()=>_.jsx(ui,{rowsPerPageOptions:[10,25,50,100,500,1e3]}),IIe=()=>{const e=Be(),t=he();var r="";return e&&(r=e.name!==""?e.name:e.id),_.jsxs("span",{children:[t("resources.rooms.name",1)," ",r]})},AIe=()=>{const e=Be();var t="";return e&&(t=e.public),_.jsxs(on,{children:[t===!1&&_.jsx($Ie,{}),t===!0&&_.jsx(EIe,{}),_.jsx(li,{mutationMode:"pessimistic",confirmTitle:"resources.rooms.action.erase.title",confirmContent:"resources.rooms.action.erase.content"})]})},MIe=e=>{const t=he();return _.jsx(zg,{...e,actions:_.jsx(AIe,{}),title:_.jsx(IIe,{}),children:_.jsxs(yf,{children:[_.jsxs(mn,{label:"synapseadmin.rooms.tabs.basic",icon:_.jsx(ps,{}),children:[_.jsx(be,{source:"room_id"}),_.jsx(be,{source:"name"}),_.jsx(be,{source:"topic"}),_.jsx(be,{source:"canonical_alias"}),_.jsx(_o,{source:"creator",reference:"users",children:_.jsx(be,{source:"id"})})]}),_.jsxs(mn,{label:"synapseadmin.rooms.tabs.detail",icon:_.jsx(RC,{}),path:"detail",children:[_.jsx(be,{source:"joined_members"}),_.jsx(be,{source:"joined_local_members"}),_.jsx(be,{source:"joined_local_devices"}),_.jsx(be,{source:"state_events"}),_.jsx(be,{source:"version"}),_.jsx(be,{source:"encryption",emptyText:t("resources.rooms.enums.unencrypted")})]}),_.jsx(mn,{label:"synapseadmin.rooms.tabs.members",icon:_.jsx(vC,{}),path:"members",children:_.jsx(Do,{reference:"room_members",target:"room_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},rowClick:(r,n,o)=>"/users/"+r,bulkActionButtons:!1,children:[_.jsx(be,{source:"id",sortable:!1,label:"resources.users.fields.id"}),_.jsx(_o,{label:"resources.users.fields.displayname",source:"id",reference:"users",sortable:!1,link:"",children:_.jsx(be,{source:"displayname",sortable:!1})})]})})}),_.jsxs(mn,{label:"synapseadmin.rooms.tabs.permission",icon:_.jsx(LO,{}),path:"permission",children:[_.jsx(bo,{source:"federatable"}),_.jsx(bo,{source:"public"}),_.jsx(lb,{source:"join_rules",choices:[{id:"public",name:"resources.rooms.enums.join_rules.public"},{id:"knock",name:"resources.rooms.enums.join_rules.knock"},{id:"invite",name:"resources.rooms.enums.join_rules.invite"},{id:"private",name:"resources.rooms.enums.join_rules.private"}]}),_.jsx(lb,{source:"guest_access",choices:[{id:"can_join",name:"resources.rooms.enums.guest_access.can_join"},{id:"forbidden",name:"resources.rooms.enums.guest_access.forbidden"}]}),_.jsx(lb,{source:"history_visibility",choices:[{id:"invited",name:"resources.rooms.enums.history_visibility.invited"},{id:"joined",name:"resources.rooms.enums.history_visibility.joined"},{id:"shared",name:"resources.rooms.enums.history_visibility.shared"},{id:"world_readable",name:"resources.rooms.enums.history_visibility.world_readable"}]})]}),_.jsx(mn,{label:t("resources.room_state.name",{smart_count:2}),icon:_.jsx(i5,{}),path:"state",children:_.jsx(Do,{reference:"room_state",target:"room_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},bulkActionButtons:!1,children:[_.jsx(be,{source:"type",sortable:!1}),_.jsx(vr,{source:"origin_server_ts",showTime:!0,options:lT,sortable:!1}),_.jsx(be,{source:"content",sortable:!1}),_.jsx(_o,{source:"sender",reference:"users",sortable:!1,children:_.jsx(be,{source:"id"})})]})})}),_.jsxs(mn,{label:"resources.forward_extremities.name",icon:_.jsx(o5,{}),path:"forward_extremities",children:[_.jsx(wr,{sx:{fontFamily:"Roboto, Helvetica, Arial, sans-serif",margin:"0.5em"},children:t("resources.rooms.helper.forward_extremities")}),_.jsx(Do,{reference:"forward_extremities",target:"room_id",addLabel:!1,children:_.jsxs(Qt,{style:{width:"100%"},bulkActionButtons:!1,children:[_.jsx(be,{source:"id",sortable:!1}),_.jsx(vr,{source:"received_ts",showTime:!0,options:lT,sortable:!1}),_.jsx(zo,{source:"depth",sortable:!1}),_.jsx(be,{source:"state_group",sortable:!1})]})})]})]})})},FIe=()=>_.jsxs(_.Fragment,{children:[_.jsx(PIe,{}),_.jsx(s5,{}),_.jsx(hf,{confirmTitle:"resources.rooms.action.erase.title",confirmContent:"resources.rooms.action.erase.content",mutationMode:"pessimistic"})]}),NIe=[_.jsx(Bg,{source:"search_term",alwaysOn:!0})],LIe=()=>_.jsxs(on,{children:[_.jsx(HD,{}),_.jsx(Pu,{})]}),DIe=e=>{const t=Mn();return _.jsx(ci,{...e,pagination:_.jsx(jIe,{}),sort:{field:"name",order:"ASC"},filters:NIe,actions:_.jsx(LIe,{}),children:_.jsxs(RO,{rowClick:"show",bulkActionButtons:_.jsx(FIe,{}),omit:["joined_local_members","state_events","version","federatable"],children:[_.jsx(bo,{source:"is_encrypted",sortBy:"encryption",TrueIcon:J_,FalseIcon:a5,label:_.jsx(J_,{}),sx:{'& [data-testid="true"]':{color:t.palette.success.main},'& [data-testid="false"]':{color:t.palette.error.main}}}),_.jsx(j3,{source:"name",render:r=>r.name||r.canonical_alias||r.id}),_.jsx(be,{source:"joined_members"}),_.jsx(be,{source:"joined_local_members"}),_.jsx(be,{source:"state_events"}),_.jsx(be,{source:"version"}),_.jsx(bo,{source:"federatable"}),_.jsx(bo,{source:"public"})]})})},BIe={name:"rooms",icon:ps,list:DIe,show:MIe};var jC={},zIe=Se;Object.defineProperty(jC,"__esModule",{value:!0});var l5=jC.default=void 0,VIe=zIe(Re()),UIe=_;l5=jC.default=(0,VIe.default)((0,UIe.jsx)("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"}),"Equalizer");const WIe=e=>{const{className:t,exporter:r,filters:n,maxResults:o,...a}=e,{sort:i,resource:s,displayedFilters:u,filterValues:l,showFilter:d,total:f}=yr();return _.jsxs(on,{className:t,...Ji(a),children:[n&&c.cloneElement(n,{resource:s,showFilter:d,displayedFilters:u,filterValues:l,context:"button"}),_.jsx(qje,{}),_.jsx(Pu,{disabled:f===0,resource:s,sort:i,filterValues:l,maxResults:o})]})},qIe=()=>_.jsx(ui,{rowsPerPageOptions:[10,25,50,100,500,1e3]}),HIe=[_.jsx(Bg,{source:"search_term",alwaysOn:!0})],GIe=e=>_.jsx(ci,{...e,actions:_.jsx(WIe,{}),filters:HIe,pagination:_.jsx(qIe,{}),sort:{field:"media_length",order:"DESC"},children:_.jsxs(Qt,{rowClick:(t,r,n)=>"/users/"+t+"/media",bulkActionButtons:!1,children:[_.jsx(be,{source:"user_id",label:"resources.users.fields.id"}),_.jsx(be,{source:"displayname",label:"resources.users.fields.displayname"}),_.jsx(zo,{source:"media_count"}),_.jsx(zo,{source:"media_length"})]})}),KIe={name:"user_media_statistics",icon:l5,list:GIe};var IC={},QIe=Se;Object.defineProperty(IC,"__esModule",{value:!0});var u5=IC.default=void 0,XIe=QIe(Re()),YIe=_;u5=IC.default=(0,XIe.default)((0,YIe.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning");const Z_={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},JIe=()=>_.jsx(ui,{rowsPerPageOptions:[10,25,50,100,500,1e3]}),ZIe=e=>{const t=he();return _.jsx(zg,{...e,actions:_.jsx(eAe,{}),children:_.jsxs(yf,{children:[_.jsxs(mn,{label:t("synapseadmin.reports.tabs.basic",{smart_count:1}),icon:_.jsx(ps,{}),children:[_.jsx(vr,{source:"received_ts",showTime:!0,options:Z_,sortable:!0}),_.jsx(_o,{source:"user_id",reference:"users",children:_.jsx(be,{source:"id"})}),_.jsx(zo,{source:"score"}),_.jsx(be,{source:"reason"}),_.jsx(be,{source:"name"}),_.jsx(be,{source:"canonical_alias",label:"resources.rooms.fields.canonical_alias"}),_.jsx(_o,{source:"room_id",reference:"rooms",link:"show",label:"resources.rooms.fields.room_id",children:_.jsx(be,{source:"id"})})]}),_.jsxs(mn,{label:"synapseadmin.reports.tabs.detail",icon:_.jsx(RC,{}),path:"detail",children:[_.jsx(vr,{source:"event_json.origin_server_ts",showTime:!0,options:Z_,sortable:!0}),_.jsx(_o,{source:"sender",reference:"users",children:_.jsx(be,{source:"id"})}),_.jsx(be,{source:"sender",label:"Sender (raw user ID)"}),_.jsx(be,{source:"event_id"}),_.jsx(be,{source:"event_json.origin"}),_.jsx(be,{source:"event_json.type"}),_.jsx(be,{source:"event_json.content.msgtype"}),_.jsx(be,{source:"event_json.content.body"}),_.jsx(be,{source:"event_json.content.info.mimetype"}),_.jsx(Qje,{source:"event_json.content.url"}),_.jsx(be,{source:"event_json.content.format"}),_.jsx(be,{source:"event_json.content.formatted_body"}),_.jsx(be,{source:"event_json.content.algorithm"}),_.jsx(be,{source:"event_json.content.device_id",label:"resources.devices.fields.device_id"})]})]})})},eAe=()=>{const e=Be();return _.jsx(on,{children:_.jsx(li,{record:e,mutationMode:"pessimistic",confirmTitle:"resources.reports.action.erase.title",confirmContent:"resources.reports.action.erase.content"})})},tAe=e=>_.jsx(ci,{...e,pagination:_.jsx(JIe,{}),sort:{field:"received_ts",order:"DESC"},children:_.jsxs(Qt,{rowClick:"show",bulkActionButtons:!1,children:[_.jsx(be,{source:"id",sortable:!1}),_.jsx(vr,{source:"received_ts",showTime:!0,options:Z_,sortable:!0}),_.jsx(be,{sortable:!1,source:"user_id"}),_.jsx(be,{sortable:!1,source:"name"}),_.jsx(be,{sortable:!1,source:"score"})]})}),rAe={name:"reports",icon:u5,list:tAe,show:ZIe};var AC={},nAe=Se;Object.defineProperty(AC,"__esModule",{value:!0});var c5=AC.default=void 0,oAe=nAe(Re()),aAe=_;c5=AC.default=(0,oAe.default)((0,aAe.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew");var MC={},iAe=Se;Object.defineProperty(MC,"__esModule",{value:!0});var d5=MC.default=void 0,sAe=iAe(Re()),lAe=_;d5=MC.default=(0,sAe.default)((0,lAe.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"}),"CloudQueue");const f5=()=>_.jsx(ui,{rowsPerPageOptions:[10,25,50,100,500,1e3]}),Um={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},uAe=(e,t)=>({backgroundColor:e.retry_last_ts>0?"#ffcccc":"white"}),cAe=[_.jsx(Bg,{source:"destination",alwaysOn:!0})],p5=()=>{const e=Be(),t=eo(),r=at(),[n,{isLoading:o}]=us();if(!e||!e.failure_ts)return null;const a=i=>{i.stopPropagation(),n("destinations",{id:e.id},{onSuccess:()=>{r("ra.notification.updated",{messageArgs:{smart_count:1}}),t()},onError:()=>{r("ra.message.error",{type:"error"})}})};return _.jsx(nt,{label:"resources.destinations.action.reconnect",onClick:a,disabled:o,children:_.jsx(c5,{})})},dAe=()=>_.jsx(on,{children:_.jsx(p5,{})}),fAe=()=>{const e=Be(),t=he();return _.jsxs("span",{children:[t("resources.destinations.name",1)," ",e.destination]})},pAe=e=>_.jsx(ci,{...e,filters:cAe,pagination:_.jsx(f5,{}),sort:{field:"destination",order:"ASC"},children:_.jsxs(Qt,{rowSx:uAe,rowClick:(t,r,n)=>`${t}/show/rooms`,bulkActionButtons:!1,children:[_.jsx(be,{source:"destination"}),_.jsx(vr,{source:"failure_ts",showTime:!0,options:Um}),_.jsx(vr,{source:"retry_last_ts",showTime:!0,options:Um}),_.jsx(be,{source:"retry_interval"}),_.jsx(be,{source:"last_successful_stream_ordering"}),_.jsx(p5,{})]})}),vAe=e=>{const t=he();return _.jsx(zg,{actions:_.jsx(dAe,{}),title:_.jsx(fAe,{}),...e,children:_.jsxs(yf,{children:[_.jsxs(mn,{label:"status",icon:_.jsx(ps,{}),children:[_.jsx(be,{source:"destination"}),_.jsx(vr,{source:"failure_ts",showTime:!0,options:Um}),_.jsx(vr,{source:"retry_last_ts",showTime:!0,options:Um}),_.jsx(be,{source:"retry_interval"}),_.jsx(be,{source:"last_successful_stream_ordering"})]}),_.jsx(mn,{label:t("resources.rooms.name",{smart_count:2}),icon:_.jsx(hs,{}),path:"rooms",children:_.jsx(Do,{reference:"destination_rooms",target:"destination",addLabel:!1,pagination:_.jsx(f5,{}),perPage:50,children:_.jsxs(Qt,{style:{width:"100%"},rowClick:(r,n,o)=>`/rooms/${r}/show`,children:[_.jsx(be,{source:"room_id",label:"resources.rooms.fields.room_id"}),_.jsx(be,{source:"stream_ordering",sortable:!1}),_.jsx(_o,{label:"resources.rooms.fields.name",source:"id",reference:"rooms",sortable:!1,link:"",children:_.jsx(be,{source:"name",sortable:!1})})]})})})]})})},mAe={name:"destinations",icon:d5,list:pAe,show:vAe};var FC={},hAe=Se;Object.defineProperty(FC,"__esModule",{value:!0});var v5=FC.default=void 0,gAe=hAe(Re()),yAe=_;v5=FC.default=(0,gAe.default)((0,yAe.jsx)("path",{d:"M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2m-9 7.5h-2v-2h2zm0-4.5h-2v-2h2zm0-4.5h-2v-2h2z"}),"ConfirmationNumber");const bAe={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},_Ae=[Uw(/^[A-Za-z0-9._~-]{0,64}$/)],m5=[pF()],xAe=[pF(),one(64)],h5=e=>{const t=new Date(e);return isNaN(t)?0:t.getTime()},wAe=e=>{if(e==null)return;const t=new Date(e),r="00",n=t.getFullYear().toString(),o=(r+(t.getMonth()+1).toString()).slice(-2),a=(r+t.getDate().toString()).slice(-2),i=(r+t.getHours().toString()).slice(-2),s=(r+t.getMinutes().toString()).slice(-2);return`${n}-${o}-${a}T${i}:${s}`},SAe=[_.jsx(Ga,{source:"valid",alwaysOn:!0})],OAe=e=>_.jsx(ci,{...e,filters:SAe,filterDefaultValues:{valid:!0},pagination:!1,perPage:500,children:_.jsxs(Qt,{rowClick:"edit",children:[_.jsx(be,{source:"token",sortable:!1}),_.jsx(zo,{source:"uses_allowed",sortable:!1}),_.jsx(zo,{source:"pending",sortable:!1}),_.jsx(zo,{source:"completed",sortable:!1}),_.jsx(vr,{source:"expiry_time",showTime:!0,options:bAe,sortable:!1})]})}),CAe=e=>_.jsx(zO,{...e,redirect:"list",children:_.jsxs(ku,{toolbar:_.jsx(vs,{children:_.jsx($u,{alwaysEnable:!0})}),children:[_.jsx(Lt,{source:"token",autoComplete:"off",validate:_Ae,resettable:!0}),_.jsx(Li,{source:"length",validate:xAe,helperText:"resources.registration_tokens.helper.length",step:1}),_.jsx(Li,{source:"uses_allowed",validate:m5,step:1}),_.jsx(Dg,{source:"expiry_time",parse:h5})]})}),EAe=e=>_.jsx(VO,{...e,children:_.jsxs(ku,{children:[_.jsx(Lt,{source:"token",disabled:!0}),_.jsx(Li,{source:"pending",disabled:!0}),_.jsx(Li,{source:"completed",disabled:!0}),_.jsx(Li,{source:"uses_allowed",validate:m5,step:1}),_.jsx(Dg,{source:"expiry_time",parse:h5,format:wAe})]})}),PAe={name:"registration_tokens",icon:v5,list:OAe,edit:EAe,create:CAe},g5=c.createContext({}),$Ae=()=>c.useContext(g5),RAe=V(wr)(({theme:e})=>({display:"flex",flexDirection:"column",minHeight:"calc(100vh - 1rem)",alignItems:"center",justifyContent:"flex-start",background:"url(./images/floating-cogs.svg)",backgroundColor:"#f9f9f9",backgroundRepeat:"no-repeat",backgroundSize:"cover","& .card":{width:"30rem",marginTop:"6rem",marginBottom:"6rem"},"& .avatar":{margin:"1rem",display:"flex",justifyContent:"center"},"& .icon":{backgroundColor:e.palette.grey[500]},"& .hint":{marginTop:"1em",marginBottom:"1em",display:"flex",justifyContent:"center",color:e.palette.grey[600]},"& .form":{padding:"0 1rem 1rem 1rem"},"& .select":{marginBottom:"2rem"},"& .actions":{padding:"0 1rem 1rem 1rem"},"& .serverVersion":{color:e.palette.grey[500],fontFamily:"Roboto, Helvetica, Arial, sans-serif",marginLeft:"0.5rem"},"& .matrixVersions":{color:e.palette.grey[500],fontFamily:"Roboto, Helvetica, Arial, sans-serif",fontSize:"0.8rem",marginBottom:"1rem",marginLeft:"0.5rem"}})),kAe=()=>{const e=nF(),t=at(),{restrictBaseUrl:r}=$Ae(),n=typeof r=="string",o=Array.isArray(r),a=!(n||o),[i,s]=c.useState(!1),[u,l]=c.useState(!0),[d,f]=Cw(),p=Ew(),v=he(),h=n?r:localStorage.getItem("base_url"),[b,x]=c.useState(""),g=/\?loginToken=([a-zA-Z0-9_-]+)/.exec(window.location.href);if(g){const S=g[1];console.log("SSO token is",S),window.history.replaceState({},"",window.location.href.replace(g[0],"#").split("#")[0]);const P=localStorage.getItem("sso_base_url");if(localStorage.removeItem("sso_base_url"),P){const E={base_url:P,username:null,password:null,loginToken:S};console.log("Base URL is:",P),console.log("SSO Token is:",S),console.log("Let's try token login..."),e(E).catch($=>{alert(typeof $=="string"?$:typeof $>"u"||!$.message?"ra.auth.sign_in_error":$.message),console.error($)})}}const m=S=>S.match(/^(http|https):\/\//)?S.match(/^(http|https):\/\/[a-zA-Z0-9\-.]+(:\d{1,5})?[^?&\s]*$/)?void 0:v("synapseadmin.auth.url_error"):v("synapseadmin.auth.protocol_error"),y=S=>{s(!0),e(S).catch(P=>{s(!1),t(typeof P=="string"?P:typeof P>"u"||!P.message?"ra.auth.sign_in_error":P.message,{type:"warning"})})},C=()=>{localStorage.setItem("sso_base_url",b);const S=`${b}/_matrix/client/r0/login/sso/redirect?redirectUrl=${encodeURIComponent(window.location.href)}`;window.location.href=S},O=({formData:S})=>{const P=jn(),[E,$]=c.useState(""),[k,T]=c.useState(""),j=I=>{var D;if(S.base_url||n)return;const A=(D=Nje(S.username))==null?void 0:D.domain;A&&Dje(A).then(L=>{(a||o&&r.includes(L))&&P.setValue("base_url",L)})};return c.useEffect(()=>{S.base_url===""&&o&&P.setValue("base_url",r[0]),Lje(S.base_url)&&(Bje(S.base_url).then(I=>$(`${v("synapseadmin.auth.server_version")} ${I}`)).catch(()=>$("")),zje(S.base_url).then(I=>T(`${v("synapseadmin.auth.supports_specs")} ${I.versions.join(", ")}`)).catch(()=>T("")),Vje(S.base_url).then(I=>{const A=I.find(L=>L.type==="m.login.password")!==void 0,D=I.find(L=>L.type==="m.login.sso")!==void 0;l(A),x(D?S.base_url:"")}).catch(()=>x("")))},[S.base_url,P]),_.jsxs(_.Fragment,{children:[_.jsx(wr,{children:_.jsx(Lt,{autoFocus:!0,name:"username",label:"ra.auth.username",autoComplete:"username",disabled:i||!u,onBlur:j,resettable:!0,fullWidth:!0,validate:Qr()})}),_.jsx(wr,{children:_.jsx(BO,{name:"password",label:"ra.auth.password",type:"password",autoComplete:"current-password",disabled:i||!u,resettable:!0,fullWidth:!0,validate:Qr()})}),_.jsx(wr,{children:_.jsx(Lt,{name:"base_url",label:"synapseadmin.auth.base_url",select:o,autoComplete:"url",disabled:i,readOnly:n,resettable:a,fullWidth:!0,validate:[Qr(),m],children:o&&r.map(I=>_.jsx(Gr,{value:I,children:I},I))})}),_.jsx(Ne,{className:"serverVersion",children:E}),_.jsx(Ne,{className:"matrixVersions",children:k})]})};return _.jsxs(Fh,{defaultValues:{base_url:h},onSubmit:y,mode:"onTouched",children:[_.jsx(RAe,{children:_.jsxs(fs,{className:"card",children:[_.jsx(wr,{className:"avatar",children:i?_.jsx(Su,{size:25,thickness:2}):_.jsx(bd,{className:"icon",children:_.jsx(ff,{})})}),_.jsx(wr,{className:"hint",children:v("synapseadmin.auth.welcome")}),_.jsxs(wr,{className:"form",children:[_.jsx(IS,{value:d,onChange:S=>f(S.target.value),fullWidth:!0,disabled:i,className:"select",children:p.map(S=>_.jsx(Gr,{value:S.locale,children:S.name},S.locale))}),_.jsx(J0,{children:S=>_.jsx(O,{...S})}),_.jsxs(GN,{className:"actions",children:[_.jsx(Bt,{variant:"contained",type:"submit",color:"primary",disabled:i||!u,fullWidth:!0,children:v("ra.auth.sign_in")}),_.jsx(Bt,{variant:"contained",color:"secondary",onClick:C,disabled:i||b==="",fullWidth:!0,children:v("synapseadmin.auth.sso_sign_in")})]})]})]})}),_.jsx(cO,{})]})};var y5={exports:{}};/* @license +Papa Parse +v5.4.1 +https://github.com/mholt/PapaParse +License: MIT +*/(function(e,t){(function(r,n){e.exports=n()})(wa,function r(){var n=typeof self<"u"?self:typeof window<"u"?window:n!==void 0?n:{},o=!n.document&&!!n.postMessage,a=n.IS_PAPA_WORKER||!1,i={},s=0,u={parse:function(E,$){var k=($=$||{}).dynamicTyping||!1;if(P(k)&&($.dynamicTypingFunction=k,k={}),$.dynamicTyping=k,$.transform=!!P($.transform)&&$.transform,$.worker&&u.WORKERS_SUPPORTED){var T=function(){if(!u.WORKERS_SUPPORTED)return!1;var I=(D=n.URL||n.webkitURL||null,L=r.toString(),u.BLOB_URL||(u.BLOB_URL=D.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",L,")();"],{type:"text/javascript"})))),A=new n.Worker(I),D,L;return A.onmessage=m,A.id=s++,i[A.id]=A}();return T.userStep=$.step,T.userChunk=$.chunk,T.userComplete=$.complete,T.userError=$.error,$.step=P($.step),$.chunk=P($.chunk),$.complete=P($.complete),$.error=P($.error),delete $.worker,void T.postMessage({input:E,config:$,workerId:T.id})}var j=null;return u.NODE_STREAM_INPUT,typeof E=="string"?(E=function(I){return I.charCodeAt(0)===65279?I.slice(1):I}(E),j=$.download?new f($):new v($)):E.readable===!0&&P(E.read)&&P(E.on)?j=new h($):(n.File&&E instanceof File||E instanceof Object)&&(j=new p($)),j.stream(E)},unparse:function(E,$){var k=!1,T=!0,j=",",I=`\r +`,A='"',D=A+A,L=!1,B=null,M=!1;(function(){if(typeof $=="object"){if(typeof $.delimiter!="string"||u.BAD_DELIMITERS.filter(function(W){return $.delimiter.indexOf(W)!==-1}).length||(j=$.delimiter),(typeof $.quotes=="boolean"||typeof $.quotes=="function"||Array.isArray($.quotes))&&(k=$.quotes),typeof $.skipEmptyLines!="boolean"&&typeof $.skipEmptyLines!="string"||(L=$.skipEmptyLines),typeof $.newline=="string"&&(I=$.newline),typeof $.quoteChar=="string"&&(A=$.quoteChar),typeof $.header=="boolean"&&(T=$.header),Array.isArray($.columns)){if($.columns.length===0)throw new Error("Option columns is empty");B=$.columns}$.escapeChar!==void 0&&(D=$.escapeChar+A),(typeof $.escapeFormulae=="boolean"||$.escapeFormulae instanceof RegExp)&&(M=$.escapeFormulae instanceof RegExp?$.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var N=new RegExp(x(A),"g");if(typeof E=="string"&&(E=JSON.parse(E)),Array.isArray(E)){if(!E.length||Array.isArray(E[0]))return q(null,E,L);if(typeof E[0]=="object")return q(B||Object.keys(E[0]),E,L)}else if(typeof E=="object")return typeof E.data=="string"&&(E.data=JSON.parse(E.data)),Array.isArray(E.data)&&(E.fields||(E.fields=E.meta&&E.meta.fields||B),E.fields||(E.fields=Array.isArray(E.data[0])?E.fields:typeof E.data[0]=="object"?Object.keys(E.data[0]):[]),Array.isArray(E.data[0])||typeof E.data[0]=="object"||(E.data=[E.data])),q(E.fields||[],E.data||[],L);throw new Error("Unable to serialize unrecognized input");function q(W,le,Y){var G="";typeof W=="string"&&(W=JSON.parse(W)),typeof le=="string"&&(le=JSON.parse(le));var ne=Array.isArray(W)&&0=this._config.preview;if(a)n.postMessage({results:I,workerId:u.WORKER_ID,finished:D});else if(P(this._config.chunk)&&!k){if(this._config.chunk(I,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);I=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(I.data),this._completeResults.errors=this._completeResults.errors.concat(I.errors),this._completeResults.meta=I.meta),this._completed||!D||!P(this._config.complete)||I&&I.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),D||I&&I.meta.paused||this._nextChunk(),I}this._halted=!0},this._sendError=function($){P(this._config.error)?this._config.error($):a&&this._config.error&&n.postMessage({workerId:u.WORKER_ID,error:$,finished:!1})}}function f(E){var $;(E=E||{}).chunkSize||(E.chunkSize=u.RemoteChunkSize),d.call(this,E),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(k){this._input=k,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if($=new XMLHttpRequest,this._config.withCredentials&&($.withCredentials=this._config.withCredentials),o||($.onload=S(this._chunkLoaded,this),$.onerror=S(this._chunkError,this)),$.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var k=this._config.downloadRequestHeaders;for(var T in k)$.setRequestHeader(T,k[T])}if(this._config.chunkSize){var j=this._start+this._config.chunkSize-1;$.setRequestHeader("Range","bytes="+this._start+"-"+j)}try{$.send(this._config.downloadRequestBody)}catch(I){this._chunkError(I.message)}o&&$.status===0&&this._chunkError()}},this._chunkLoaded=function(){$.readyState===4&&($.status<200||400<=$.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:$.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(k){var T=k.getResponseHeader("Content-Range");return T===null?-1:parseInt(T.substring(T.lastIndexOf("/")+1))}($),this.parseChunk($.responseText)))},this._chunkError=function(k){var T=$.statusText||k;this._sendError(new Error(T))}}function p(E){var $,k;(E=E||{}).chunkSize||(E.chunkSize=u.LocalChunkSize),d.call(this,E);var T=typeof FileReader<"u";this.stream=function(j){this._input=j,k=j.slice||j.webkitSlice||j.mozSlice,T?(($=new FileReader).onload=S(this._chunkLoaded,this),$.onerror=S(this._chunkError,this)):$=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(j.target.result)},this._chunkError=function(){this._sendError($.error)}}function v(E){var $;d.call(this,E=E||{}),this.stream=function(k){return $=k,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var k,T=this._config.chunkSize;return T?(k=$.substring(0,T),$=$.substring(T)):(k=$,$=""),this._finished=!$,this.parseChunk(k)}}}function h(E){d.call(this,E=E||{});var $=[],k=!0,T=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(j){this._input=j,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){T&&$.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),$.length?this.parseChunk($.shift()):k=!0},this._streamData=S(function(j){try{$.push(typeof j=="string"?j:j.toString(this._config.encoding)),k&&(k=!1,this._checkIsFinished(),this.parseChunk($.shift()))}catch(I){this._streamError(I)}},this),this._streamError=S(function(j){this._streamCleanUp(),this._sendError(j)},this),this._streamEnd=S(function(){this._streamCleanUp(),T=!0,this._streamData("")},this),this._streamCleanUp=S(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function b(E){var $,k,T,j=Math.pow(2,53),I=-j,A=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,D=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,L=this,B=0,M=0,N=!1,q=!1,K=[],W={data:[],errors:[],meta:{}};if(P(E.step)){var le=E.step;E.step=function(re){if(W=re,ne())G();else{if(G(),W.data.length===0)return;B+=re.data.length,E.preview&&B>E.preview?k.abort():(W.data=W.data[0],le(W,L))}}}function Y(re){return E.skipEmptyLines==="greedy"?re.join("").trim()==="":re.length===1&&re[0].length===0}function G(){return W&&T&&(ie("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+u.DefaultDelimiter+"'"),T=!1),E.skipEmptyLines&&(W.data=W.data.filter(function(re){return!Y(re)})),ne()&&function(){if(!W)return;function re(Z,ee){P(E.transformHeader)&&(Z=E.transformHeader(Z,ee)),K.push(Z)}if(Array.isArray(W.data[0])){for(var oe=0;ne()&&oe=K.length?"__parsed_extra":K[H]),E.transform&&(Oe=E.transform(Oe,de)),Oe=ve(de,Oe),de==="__parsed_extra"?(fe[de]=fe[de]||[],fe[de].push(Oe)):fe[de]=Oe}return E.header&&(H>K.length?ie("FieldMismatch","TooManyFields","Too many fields: expected "+K.length+" fields but parsed "+H,M+ee):H=F.length/2?`\r +`:"\r"}(re,ee)),T=!1,E.delimiter)P(E.delimiter)&&(E.delimiter=E.delimiter(re),W.meta.delimiter=E.delimiter);else{var H=function(de,Oe,Ae,F,z){var U,X,J,Q;z=z||[","," ","|",";",u.RECORD_SEP,u.UNIT_SEP];for(var ue=0;ue=A)return tt(!0)}else for(ge=B,B++;;){if((ge=N.indexOf($,ge+1))===-1)return K||ie.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:ve.length,index:B}),qe();if(ge===W-1)return qe(N.substring(B,ge).replace(ue,$));if($!==L||N[ge+1]!==L){if($===L||ge===0||N[ge-1]!==L){J!==-1&&J=A)return tt(!0);break}ie.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:ve.length,index:B}),ge++}}else ge++}return qe();function Pe(Fe){ve.push(Fe),oe=B}function xe(Fe){var me=0;if(Fe!==-1){var ke=N.substring(ge+1,Fe);ke&&ke.trim()===""&&(me=ke.length)}return me}function qe(Fe){return K||(Fe===void 0&&(Fe=N.substring(B)),re.push(Fe),B=W,Pe(re),ne&&Te()),tt()}function ot(Fe){B=Fe,Pe(re),re=[],Q=N.indexOf(T,B)}function tt(Fe){return{data:ve,errors:ie,meta:{delimiter:k,linebreak:T,aborted:M,truncated:!!Fe,cursor:oe+(q||0)}}}function Te(){I(tt()),ve=[],ie=[]}},this.abort=function(){M=!0},this.getCharIndex=function(){return B}}function m(E){var $=E.data,k=i[$.workerId],T=!1;if($.error)k.userError($.error,$.file);else if($.results&&$.results.data){var j={abort:function(){T=!0,y($.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(P(k.userStep)){for(var I=0;I<$.results.data.length&&(k.userStep({data:$.results.data[I],errors:$.results.errors,meta:$.results.meta},j),!T);I++);delete $.results}else P(k.userChunk)&&(k.userChunk($.results,j,$.file),delete $.results)}$.finished&&!T&&y($.workerId,$.results)}function y(E,$){var k=i[E];P(k.userComplete)&&k.userComplete($),k.terminate(),delete i[E]}function C(){throw new Error("Not implemented.")}function O(E){if(typeof E!="object"||E===null)return E;var $=Array.isArray(E)?[]:{};for(var k in E)$[k]=O(E[k]);return $}function S(E,$){return function(){E.apply($,arguments)}}function P(E){return typeof E=="function"}return a&&(n.onmessage=function(E){var $=E.data;if(u.WORKER_ID===void 0&&$&&(u.WORKER_ID=$.workerId),typeof $.input=="string")n.postMessage({workerId:u.WORKER_ID,results:u.parse($.input,$.config),finished:!0});else if(n.File&&$.input instanceof File||$.input instanceof Object){var k=u.parse($.input,$.config);k&&n.postMessage({workerId:u.WORKER_ID,results:k,finished:!0})}}),(f.prototype=Object.create(d.prototype)).constructor=f,(p.prototype=Object.create(d.prototype)).constructor=p,(v.prototype=Object.create(v.prototype)).constructor=v,(h.prototype=Object.create(d.prototype)).constructor=h,u})})(y5);var uT=y5.exports;const Rb=!0,TAe=["id","displayname"].sort(),jAe=["user_type","guest","admin","deactivated","avatar_url","password"].sort();function sp({value:e,text:t}){const r=he();return _.jsx("option",{value:e,children:r(t)})}const IAe=()=>{const[e,t]=c.useState(null),[r,n]=c.useState(null),[o,a]=c.useState(null),[i,s]=c.useState(!0),[u,l]=c.useState(null),[d,f]=c.useState(null),[p,v]=c.useState(null),[h,b]=c.useState("stop"),[x,g]=c.useState(!0),[m,y]=c.useState("ignore"),C=he(),O=at(),S=Tn(),P=async Y=>{if(u!==null)return;t(null),n(null),a(null),f(null);const G=Y.target.files?Y.target.files[0]:null;if(G.size>1e8){const ne=C("import_users.errors.unreasonably_big",{size:(G.size/1048576).toFixed(2)});O(ne),n(ne);return}try{uT.parse(G,{header:!0,skipEmptyLines:!0,complete:ne=>{ne.error&&n(ne.error),E(ne,{setValues:t,setStats:a,setError:n})}})}catch{return n(!0),null}},E=({data:Y,meta:G,errors:ne},{setValues:ve,setStats:ie,setError:re})=>{let oe=Array.from(TAe),Z=Array.from(jAe);if(G.fields.forEach(H=>{oe.includes(H)&&(oe=oe.filter(fe=>fe!==H)),Z.includes(H)&&(Z=Z.filter(fe=>fe!==H))}),oe.length!==0)return re(C("import_users.error.required_field",{field:oe[0]})),!1;let ee={user_types:{default:0},is_guest:0,admin:0,deactivated:0,password:0,avatar_url:0,id:0,total:Y.length};return Y.forEach((H,fe)=>{H.user_type===void 0||H.user_type===""?ee.user_types.default++:ee.user_types[H.user_type]+=1,G.fields.includes("name")&&delete H.name,G.fields.includes("user_type")&&delete H.user_type,G.fields.includes("is_admin")&&(H.admin=H.is_admin,delete H.is_admin),["is_guest","admin","deactivated"].forEach(de=>{H[de]==="true"?(ee[de]++,H[de]=!0):(H[de]!=="false"&&H[de]!==""&&ne.push(C("import_users.error.invalid_value",{field:de,row:fe})),H[de]=!1)}),H.password!==void 0&&H.password!==""&&ee.password++,H.avatar_url!==void 0&&H.avatar_url!==""&&ee.avatar_url++,H.id!==void 0&&H.id!==""&&ee.id++}),ne.length>0&&re(ne),ie(ee),ve(Y),!0},$=async Y=>{if(u!==null){O("import_users.errors.already_in_progress");return}const G=await k(S,e,h,x,m,i,l,n);f(G),v(uT.unparse(G.skippedRecords)),console.log("Skipped records:"),console.log(p)},k=async(Y,G,ne,ve,ie,re,oe,Z)=>{let ee=[],H=[],fe=[],de={toAdmin:0,toGuest:0,toRegular:0,replacedPassword:0},Oe=0,Ae=G.length;try{oe({done:Oe,limit:Ae});for(const F of G){let z={},U={};(ie==="ignore"||F.id===void 0||F.password===void 0||ve===!1)&&(U=sT(),ie==="ignore"||F.id===void 0||delete U.id,ve===!1||F.password===void 0||F.password===""||delete U.password),Object.assign(z,F),Object.assign(z,U),Rb&&console.log("will check for existence of record "+JSON.stringify(z));let X=0;const J=Q=>Y.getOne("users",{id:Q.id}).then(async ue=>{if(Rb&&console.log("already existed"),ie==="update"||ne==="skip")ee.push(Q);else{if(ne==="stop")throw new Error(C("import_users.error.id_exits",{id:Q.id}));{const ge=sT(),Me=Object.assign({},Q,{id:ge.id});X++,X>512?(console.warn("retry loop got stuck? pathological situation?"),ee.push(Q)):await J(Me)}}},async ue=>{Rb&&console.log("OK to create record "+Q.id+" ("+Q.displayname+")."),re||await Y.create("users",{data:Q}),fe.push(Q)});await J(z),Oe++,oe({done:Oe,limit:G.length})}oe(null)}catch(F){Z(C("import_users.error.at_entry",{entry:Oe+1,message:F.message})),oe(null)}return{skippedRecords:ee,erroredRecords:H,succeededRecords:fe,totalRecordCount:Ae,changeStats:de,wasDryRun:re}},T=()=>{const Y=document.createElement("a");console.log(p);const G=new Blob([p],{type:"text/comma-separated-values"});Y.href=URL.createObjectURL(G),Y.download="skippedRecords.csv",document.body.appendChild(Y),Y.click()},j=async Y=>{if(u!==null)return;const G=Y.target.value;b(G)},I=Y=>{u===null&&g(Y.target.checked)},A=async Y=>{if(u!==null)return;const G=Y.target.value;y(G)},D=Y=>{u===null&&s(Y.target.checked)},L=o&&!d&&[_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.cards.importstats.header")}),_.jsxs(dn,{children:[_.jsx("div",{children:C("import_users.cards.importstats.users_total",o.total)}),_.jsx("div",{children:C("import_users.cards.importstats.guest_count",o.is_guest)}),_.jsx("div",{children:C("import_users.cards.importstats.admin_count",o.admin)})]})]}),_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.cards.ids.header")}),_.jsxs(dn,{children:[_.jsx("div",{children:o.id===o.total?C("import_users.cards.ids.all_ids_present"):C("import_users.cards.ids.count_ids_present",o.id)}),o.id>0?_.jsx("div",{children:_.jsxs(gR,{onChange:A,value:m,enabled:(u!==null).toString(),children:[_.jsx(sp,{value:"ignore",text:"import_users.cards.ids.mode.ignore"}),_.jsx(sp,{value:"update",text:"import_users.cards.ids.mode.update"})]})}):""]})]}),_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.cards.passwords.header")}),_.jsxs(dn,{children:[_.jsx("div",{children:o.password===o.total?C("import_users.cards.passwords.all_passwords_present"):C("import_users.cards.passwords.count_passwords_present",o.password)}),o.password>0?_.jsx("div",{children:_.jsx(y1,{control:_.jsx(Hl,{checked:x,enabled:(u!==null).toString(),onChange:I}),label:C("import_users.cards.passwords.use_passwords")})}):""]})]})];let B=o&&!d&&_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.cards.conflicts.header")}),_.jsx(dn,{children:_.jsx("div",{children:_.jsxs(gR,{onChange:j,value:h,enabled:(u!==null).toString(),children:[_.jsx(sp,{value:"stop",text:"import_users.cards.conflicts.mode.stop"}),_.jsx(sp,{value:"skip",text:"import_users.cards.conflicts.mode.skip"})]})})})]}),M=r&&_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.error.error")}),_.jsx(dn,{children:(Array.isArray(r)?r:[r]).map(Y=>_.jsx("div",{children:Y}))})]}),N=!d&&_.jsxs($s,{children:[_.jsx(pi,{title:C("import_users.cards.upload.header")}),_.jsxs(dn,{children:[C("import_users.cards.upload.explanation"),_.jsx("a",{href:"./data/example.csv",children:"example.csv"}),_.jsx("br",{}),_.jsx("br",{}),_.jsx("input",{type:"file",onChange:P,enabled:(u!==null).toString()})]})]}),q=d&&_.jsxs(dn,{children:[_.jsx(pi,{title:C("import_users.cards.results.header")}),_.jsxs("div",{children:[C("import_users.cards.results.total",d.totalRecordCount),_.jsx("br",{}),C("import_users.cards.results.successful",d.succeededRecords.length),_.jsx("br",{}),d.skippedRecords.length?[C("import_users.cards.results.skipped",d.skippedRecords.length),_.jsx("div",{children:_.jsx("button",{onClick:T,children:C("import_users.cards.results.download_skipped")})}),_.jsx("br",{})]:"",d.erroredRecords.length?[C("import_users.cards.results.skipped",d.erroredRecords.length),_.jsx("br",{})]:"",_.jsx("br",{}),d.wasDryRun&&[C("import_users.cards.results.simulated_only"),_.jsx("br",{})]]})]}),K=!e||e.length===0||d?void 0:_.jsxs(GN,{children:[_.jsx(y1,{control:_.jsx(Hl,{checked:i,onChange:D,enabled:(u!==null).toString()}),label:C("import_users.cards.startImport.simulate_only")}),_.jsx(Bt,{size:"large",onClick:$,enabled:(u!==null).toString(),children:C("import_users.cards.startImport.run_import")}),u!==null?_.jsxs("div",{children:[u.done," of ",u.limit," done"]}):null]}),W=[];N&&W.push(N),M&&W.push(M),B&&W.push(B),L&&W.push(...L),K&&W.push(K),q&&W.push(q);let le=_.jsx(fs,{children:W});return[_.jsx(si,{defaultTitle:C("import_users.title")}),le]},AAe=IAe,b5={ra:{action:{add_filter:"Filter hinzufügen",add:"Neu",back:"Zurück",bulk_actions:"Ein Element ausgewählt |||| %{smart_count} Elemente ausgewählt",cancel:"Abbrechen",clear_array_input:"Liste löschen",clear_input_value:"Eingabe löschen",clone:"Klonen",confirm:"Bestätigen",create:"Erstellen",create_item:"%{item} erstellen",delete:"Löschen",edit:"Bearbeiten",export:"Exportieren",list:"Liste",refresh:"Neu laden",remove_filter:"Filter entfernen",remove_all_filters:"Alle Filter entfernen",remove:"Entfernen",save:"Speichern",search:"Suchen",select_all:"Alles auswählen",select_row:"Reihe auswählen",show:"Anzeigen",sort:"Sortieren",undo:"Rückgängig machen",unselect:"Abwählen",expand:"Erweitern",close:"Schließen",open_menu:"Menü öffnen",close_menu:"Menü schließen",update:"Aktualisieren",move_up:"Nach oben",move_down:"Nach unten",open:"Öffnen",toggle_theme:"Theme wechseln",select_columns:"Spalten"},boolean:{true:"Ja",false:"Nein",null:" "},page:{create:"%{name} erstellen",dashboard:"Dashboard",edit:"%{name} %{recordRepresentation}",error:"Etwas ist schiefgelaufen",list:"%{name}",loading:"Laden",not_found:"Nicht gefunden",show:"%{name} %{recordRepresentation}",empty:"Noch kein %{name}.",invite:"Neu erstellen?"},input:{file:{upload_several:"Dateien hier ablegen, oder zum Auswählen klicken.",upload_single:"Dateien hier ablegen, oder zum Auswählen klicken."},image:{upload_several:"Bilder hier ablegen, oder zum Auswählen klicken.",upload_single:"Bild hier ablegen, oder zum Auswählen klicken."},references:{all_missing:"Die Daten der Referenz können nicht gefunden werden.",many_missing:"Mindestens eine Referenz scheint nicht mehr verfügbar zu sein.",single_missing:"Die Referenz scheint nicht mehr verfügbar zu sein."},password:{toggle_visible:"Passwort verbergen",toggle_hidden:"Passwort einblenden"}},message:{about:"Über",are_you_sure:"Sind Sie sicher?",auth_error:"Bei der Validierung des Authentifizierungstokens ist ein Fehler aufgetreten.",bulk_delete_content:"Sicher, dass Sie %{name} löschen wollen? |||| Sicher, dass Sie diese %{smart_count} Elemente löschen wollen?",bulk_delete_title:"%{name} löschen |||| %{smart_count} %{name} löschen",bulk_update_content:"Sicher, dass Sie %{name} aktualisieren wollen? |||| Sicher, dass Sie %{smart_count} Elemente aktualisieren wollen?",bulk_update_title:"%{name} aktualisieren |||| %{smart_count} %{name} aktualisieren",clear_array_input:"Sicher, dass Sie die ganze Liste löschen wollen?",delete_content:"Sicher, dass Sie dieses Element löschen wollen?",delete_title:"%{name} #%{id} löschen",details:"Details",error:"Ein Fehler trat auf, Ihre Anfrage konnte nicht verarbeitet werden.",invalid_form:"Das Formular ist ungültig. Bitte überprüfen Sie Ihre Eingaben.",loading:"Die Seite wird geladen, noch einen Moment.",no:"Nein",not_found:"Sie eine falsche URL aufgerufen oder eingegeben.",yes:"Ja",unsaved_changes:"Einige Änderungen wurden nicht gespeichert. Sicher, dass Sie diese nicht übernehmen wollen?"},navigation:{no_results:"Keine Ergebnisse gefunden.",no_more_results:"Es gibt keine Seite %{page}. Versuche eine vorherige.",page_out_of_boundaries:"Es gibt keine Seite %{page}.",page_out_from_end:"Es gibt keine Seite mehr nach dieser.",page_out_from_begin:"Es gibt keine Seite vor Seite 1.",page_range_info:"%{offsetBegin}-%{offsetEnd} von %{total}",partial_page_range_info:"%{offsetBegin}-%{offsetEnd} von mehr als %{offsetEnd}",current_page:"Seite %{page}",page:"Gehe zu Seite %{page}",first:"Gehe zur ersten Seite",last:"Gehe zur letzten Seite",next:"Gehe zur nächsten Seite",previous:"Gehe zur vorherigen Seite",page_rows_per_page:"Reihen pro Seite:",skip_nav:"Zum Inhalt springen"},sort:{sort_by:"Nach %{field} %{order} sortieren",ASC:"Aufsteigend",DESC:"Absteigend"},auth:{auth_check_error:"Bitte anmelden um fortzufahren",user_menu:"Profil",username:"Nutzername",password:"Passwort",sign_in:"Anmelden",sign_in_error:"Anmeldung fehlgeschlagen, bitte erneut versuchen.",logout:"Abmelden"},notification:{updated:"Element aktualisiert |||| %{smart_count} Elemente aktualisiert",created:"Element erstellt",deleted:"Element gelöscht |||| %{smart_count} Elemente gelöscht",bad_item:"Fehlerhaftes Element",item_doesnt_exist:"Element existiert nicht",http_error:"Kommunikation mit Server fehlgeschlagen",data_provider_error:"DataProvider-Fehler. Mehr Details in der Konsole.",i18n_error:"Die Übersetzungen für die ausgewählte Sprache können nicht geladen werden",canceled:"Aktion abgebrochen",logged_out:"Ihre Sitzung ist abgelaufen, bitte erneut verbinden.",not_authorized:"Sie sind nicht berechtigt, auf diese Ressource zuzugreifen."},validation:{required:"Erforderlich",minLength:"Muss mindestens %{min} Zeichen betragen",maxLength:"Darf %{max} Zeichen oder weniger betragen",minValue:"Muss mindestens %{min} betragen",maxValue:"Darf %{max} oder weniger betragen",number:"Muss eine Nummer sein",email:"Muss eine gültige E-Mail sein",oneOf:"Muss eine der folgenden Optionen sein: %{options}",regex:"Muss einem gewissen Format entsprechen (regexp): %{pattern}"},saved_queries:{label:"Gespeicherte Anfragen",query_name:"Name der Anfrage",new_label:"Speichere aktuelle Anfrage...",new_dialog_title:"Speichere aktuelle Anfrage als",remove_label:"Gespeicherte Anfrage löschen",remove_label_with_name:'Anfrage "%{name}" löschen',remove_dialog_title:"Gespeicherte Anfrage löschen?",remove_message:"Sicher, dass Sie diese Anfrage aus der Liste der gespeicherten löschen wollen?",help:"Liste filtern und diese Anfrage für später speichern"},configurable:{customize:"Anpassen",configureMode:"Diese Seite anpassen",inspector:{title:"Inspektor",content:"Bewegen Sie den Mauszeigen über die UI-Elemente, um sie zu konfigurieren",reset:"Einstellungen zurücksetzen",hideAll:"Alles verbergen",showAll:"Alles anzeigen"},Datagrid:{title:"Datagrid",unlabeled:"Unbekannte Spalte #%{column}"},SimpleForm:{title:"Formular",unlabeled:"Unbenannter Input #%{input}"},SimpleList:{title:"Liste",primaryText:"Primärtext",secondaryText:"Sekundärtext",tertiaryText:"Tertiärtext"}}}},MAe={ra:{message:{are_you_sure:"Bist du sicher?",bulk_delete_content:"Sicher, dass du %{name} löschen willst? |||| Sicher, dass du diese %{smart_count} Elemente löschen willst?",bulk_update_content:"Sicher, dass du %{name} aktualisieren willst? |||| Sicher, dass du %{smart_count} Elemente aktualisieren willst?",clear_array_input:"Sicher, dass du die ganze Liste löschen willst?",delete_content:"Sicher, dass du dieses Element löschen willst?",error:"Ein Fehler trat auf, Deine Anfrage konnte nicht verarbeitet werden.",invalid_form:"Das Formular ist ungültig. Bitte überprüfe Deine Eingaben.",not_found:"Du hast eine falsche URL aufgerufen oder eingegeben.",unsaved_changes:"Einige Änderungen wurden nicht gespeichert. Sicher, dass du diese nicht übernehmen willst?"},notification:{logged_out:"Deine Sitzung ist abgelaufen, bitte erneut verbinden.",not_authorized:"Du bist nicht berechtigt, auf diese Ressource zuzugreifen."},saved_queries:{remove_message:"Sicher, dass du diese Anfrage aus der Liste der gespeicherten löschen willst?"},configurable:{inspector:{content:"Bewege den Mauszeigen über die UI-Elemente, um sie zu konfigurieren"}}}};Ph(b5,MAe);const FAe={...b5,synapseadmin:{auth:{base_url:"Heimserver URL",welcome:"Willkommen bei Synapse-admin",server_version:"Synapse Version",supports_specs:"unterstützt Matrix-Specs",username_error:"Bitte vollständigen Nutzernamen angeben: '@user:domain'",protocol_error:"Die URL muss mit 'http://' oder 'https://' beginnen",url_error:"Keine gültige Matrix Server URL",sso_sign_in:"Anmeldung mit SSO"},users:{invalid_user_id:"Lokaler Anteil der Matrix Benutzer-ID ohne Homeserver.",tabs:{sso:"SSO"}},rooms:{details:"Raumdetails",tabs:{basic:"Allgemein",members:"Mitglieder",detail:"Details",permission:"Berechtigungen"}},reports:{tabs:{basic:"Allgemein",detail:"Details"}}},import_users:{error:{at_entry:"Bei Eintrag %{entry}: %{message}",error:"Fehler",required_field:"Pflichtfeld '%{field}' fehlt",invalid_value:"Ungültiger Wert in Zeile %{row}. Feld '%{field}' darf nur die Werte 'true' oder 'false' enthalten",unreasonably_big:"Datei ist zu groß für den Import (%{size} Megabytes)",already_in_progress:"Es läuft bereits ein Import",id_exits:"ID %{id} existiert bereits"},title:"Benutzer aus CSV importieren",goToPdf:"Gehe zum PDF",cards:{importstats:{header:"Benutzer importieren",users_total:"%{smart_count} Benutzer in der CSV Datei |||| %{smart_count} Benutzer in der CSV Datei",guest_count:"%{smart_count} Gast |||| %{smart_count} Gäste",admin_count:"%{smart_count} Server Administrator |||| %{smart_count} Server Administratoren"},conflicts:{header:"Konfliktstrategie",mode:{stop:"Stoppe bei Fehlern",skip:"Zeige Fehler und überspringe fehlerhafte Einträge"}},ids:{header:"IDs",all_ids_present:"IDs in jedem Eintrag vorhanden",count_ids_present:"%{smart_count} Eintrag mit ID |||| %{smart_count} Einträge mit IDs",mode:{ignore:"Ignoriere IDs der CSV-Datei und erstelle neue",update:"Aktualisiere existierende Benutzer"}},passwords:{header:"Passwörter",all_passwords_present:"Passwörter in jedem Eintrag vorhanden",count_passwords_present:"%{smart_count} Eintrag mit Passwort |||| %{smart_count} Einträge mit Passwörtern",use_passwords:"Verwende Passwörter aus der CSV Datei"},upload:{header:"CSV Datei importieren",explanation:"Hier können Sie eine Datei mit kommagetrennten Daten hochladen, die verwendet werden um Benutzer anzulegen oder zu ändern. Die Datei muss mindestens die Felder 'id' und 'displayname' enthalten. Hier können Sie eine Beispieldatei herunterladen und anpassen: "},startImport:{simulate_only:"Nur simulieren",run_import:"Importieren"},results:{header:"Ergebnis",total:"%{smart_count} Eintrag insgesamt |||| %{smart_count} Einträge insgesamt",successful:"%{smart_count} Einträge erfolgreich importiert",skipped:"%{smart_count} Einträge übersprungen",download_skipped:"Übersprungene Einträge herunterladen",with_error:"%{smart_count} Eintrag mit Fehlern ||| %{smart_count} Einträge mit Fehlern",simulated_only:"Import-Vorgang war nur simuliert"}}},resources:{users:{name:"Benutzer",email:"E-Mail",msisdn:"Telefon",threepid:"E-Mail / Telefon",fields:{avatar:"Avatar",id:"Benutzer-ID",name:"Name",is_guest:"Gast",admin:"Server Administrator",deactivated:"Deaktiviert",guests:"Zeige Gäste",show_deactivated:"Zeige deaktivierte Benutzer",user_id:"Suche Benutzer",displayname:"Anzeigename",password:"Passwort",avatar_url:"Avatar URL",avatar_src:"Avatar",medium:"Medium",threepids:"3PIDs",address:"Adresse",creation_ts_ms:"Zeitpunkt der Erstellung",consent_version:"Zugestimmte Geschäftsbedingungen",auth_provider:"Provider",user_type:"Benutzertyp"},helper:{password:"Durch die Änderung des Passworts wird der Benutzer von allen Sitzungen abgemeldet.",deactivate:"Sie müssen ein Passwort angeben, um ein Konto wieder zu aktivieren.",erase:"DSGVO konformes Löschen der Benutzerdaten"},action:{erase:"Lösche Benutzerdaten"}},rooms:{name:"Raum |||| Räume",fields:{room_id:"Raum-ID",name:"Name",canonical_alias:"Alias",joined_members:"Mitglieder",joined_local_members:"Lokale Mitglieder",joined_local_devices:"Lokale Endgeräte",state_events:"Zustandsereignisse / Komplexität",version:"Version",is_encrypted:"Verschlüsselt",encryption:"Verschlüsselungs-Algorithmus",federatable:"Fö­de­rierbar",public:"Sichtbar im Raumverzeichnis",creator:"Ersteller",join_rules:"Beitrittsregeln",guest_access:"Gastzugriff",history_visibility:"Historie-Sichtbarkeit",topic:"Thema",avatar:"Avatar"},helper:{forward_extremities:"Forward extremities are the leaf events at the end of a Directed acyclic graph (DAG) in a room, aka events that have no children. The more exist in a room, the more state resolution that Synapse needs to perform (hint: it's an expensive operation). While Synapse has code to prevent too many of these existing at one time in a room, bugs can sometimes make them crop up again. If a room has >10 forward extremities, it's worth checking which room is the culprit and potentially removing them using the SQL queries mentioned in #1760."},enums:{join_rules:{public:"Öffentlich",knock:"Auf Anfrage",invite:"Nur auf Einladung",private:"Privat"},guest_access:{can_join:"Gäste können beitreten",forbidden:"Gäste können nicht beitreten"},history_visibility:{invited:"Ab Einladung",joined:"Ab Beitritt",shared:"Ab Setzen der Einstellung",world_readable:"Jeder"},unencrypted:"Nicht verschlüsselt"},action:{erase:{title:"Raum löschen",content:"Sind Sie sicher dass Sie den Raum löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden. Alle Nachrichten und Medien, die der Raum beinhaltet werden vom Server gelöscht!"}}},reports:{name:"Gemeldetes Ereignis |||| Gemeldete Ereignisse",fields:{id:"ID",received_ts:"Meldezeit",user_id:"Meldender",name:"Raumname",score:"Wert",reason:"Grund",event_id:"Event-ID",event_json:{origin:"Ursprungsserver",origin_server_ts:"Sendezeit",type:"Eventtyp",content:{msgtype:"Inhaltstyp",body:"Nachrichteninhalt",format:"Nachrichtenformat",formatted_body:"Formatierter Nachrichteninhalt",algorithm:"Verschlüsselungsalgorithmus",info:{mimetype:"Typ"}}}},action:{erase:{title:"Gemeldetes Event löschen",content:"Sind Sie sicher dass Sie das gemeldete Event löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden."}}},connections:{name:"Verbindungen",fields:{last_seen:"Datum",ip:"IP-Adresse",user_agent:"User Agent"}},devices:{name:"Gerät |||| Geräte",fields:{device_id:"Geräte-ID",display_name:"Gerätename",last_seen_ts:"Zeitstempel",last_seen_ip:"IP-Adresse"},action:{erase:{title:"Entferne %{id}",content:'Möchten Sie das Gerät "%{name}" wirklich entfernen?',success:"Gerät erfolgreich entfernt.",failure:"Beim Entfernen ist ein Fehler aufgetreten."}}},users_media:{name:"Medien",fields:{media_id:"Medien ID",media_length:"Größe",media_type:"Typ",upload_name:"Dateiname",quarantined_by:"Zur Quarantäne hinzugefügt",safe_from_quarantine:"Schutz vor Quarantäne",created_ts:"Erstellt",last_access_ts:"Letzter Zugriff"},action:{open:"Mediendatei in neuem Fenster öffnen"}},delete_media:{name:"Medien",fields:{before_ts:"Letzter Zugriff vor",size_gt:"Größer als (in Bytes)",keep_profiles:"Behalte Profilbilder"},action:{send:"Medien löschen",send_success:"Anfrage erfolgreich versendet.",send_failure:"Beim Versenden ist ein Fehler aufgetreten."},helper:{send:"Diese API löscht die lokalen Medien von der Festplatte des eigenen Servers. Dies umfasst alle lokalen Miniaturbilder und Kopien von Medien. Diese API wirkt sich nicht auf Medien aus, die sich in externen Medien-Repositories befinden."}},protect_media:{action:{create:"Ungeschützt, Schutz erstellen",delete:"Geschützt, Schutz aufheben",none:"In Quarantäne",send_success:"Erfolgreich den Schutz-Status geändert.",send_failure:"Beim Versenden ist ein Fehler aufgetreten."}},quarantine_media:{action:{name:"Quarantäne",create:"Zur Quarantäne hinzufügen",delete:"In Quarantäne, Quarantäne aufheben",none:"Geschützt vor Quarantäne",send_success:"Erfolgreich den Quarantäne-Status geändert.",send_failure:"Beim Versenden ist ein Fehler aufgetreten."}},pushers:{name:"Pusher |||| Pushers",fields:{app:"App",app_display_name:"App-Anzeigename",app_id:"App ID",device_display_name:"Geräte-Anzeigename",kind:"Art",lang:"Sprache",profile_tag:"Profil-Tag",pushkey:"Pushkey",data:{url:"URL"}}},servernotices:{name:"Serverbenachrichtigungen",send:"Servernachricht versenden",fields:{body:"Nachricht"},action:{send:"Sende Nachricht",send_success:"Nachricht erfolgreich versendet.",send_failure:"Beim Versenden ist ein Fehler aufgetreten."},helper:{send:'Sendet eine Serverbenachrichtigung an die ausgewählten Nutzer. Hierfür muss das Feature "Server Notices" auf dem Server aktiviert sein.'}},user_media_statistics:{name:"Dateien je Benutzer",fields:{media_count:"Anzahl der Dateien",media_length:"Größe der Dateien"}},forward_extremities:{name:"Vorderextremitäten",fields:{id:"Event-ID",received_ts:"Zeitstempel",depth:"Tiefe",state_group:"Zustandsgruppe"}},room_state:{name:"Zustandsereignisse",fields:{type:"Typ",content:"Inhalt",origin_server_ts:"Sendezeit",sender:"Absender"}},room_directory:{name:"Raumverzeichnis",fields:{world_readable:"Gastbenutzer dürfen ohne Beitritt lesen",guest_can_join:"Gastbenutzer dürfen beitreten"},action:{title:"Raum aus Verzeichnis löschen |||| %{smart_count} Räume aus Verzeichnis löschen",content:"Möchten Sie den Raum wirklich aus dem Raumverzeichnis löschen? |||| Möchten Sie die %{smart_count} Räume wirklich aus dem Raumverzeichnis löschen?",erase:"Lösche aus Verzeichnis",create:"Eintragen ins Verzeichnis",send_success:"Raum erfolgreich eingetragen.",send_failure:"Beim Entfernen ist ein Fehler aufgetreten."}},destinations:{name:"Föderation",fields:{destination:"Ziel",failure_ts:"Fehlerzeitpunkt",retry_last_ts:"Letzter Wiederholungsversuch",retry_interval:"Wiederholungsintervall",last_successful_stream_ordering:"letzte erfogreicher Stream",stream_ordering:"Stream"},action:{reconnect:"Neu verbinden"}},registration_tokens:{name:"Registrierungstoken",fields:{token:"Token",valid:"Gültige Token",uses_allowed:"Anzahl",pending:"Ausstehend",completed:"Abgeschlossen",expiry_time:"Ablaufzeit",length:"Länge"},helper:{length:"Länge des Tokens, wenn kein Token vorgegeben wird."}}}},NAe={...Q3,synapseadmin:{auth:{base_url:"Homeserver URL",welcome:"Welcome to Synapse-admin",server_version:"Synapse version",supports_specs:"supports Matrix specs",username_error:"Please enter fully qualified user ID: '@user:domain'",protocol_error:"URL has to start with 'http://' or 'https://'",url_error:"Not a valid Matrix server URL",sso_sign_in:"Sign in with SSO"},users:{invalid_user_id:"Localpart of a Matrix user-id without homeserver.",tabs:{sso:"SSO"}},rooms:{tabs:{basic:"Basic",members:"Members",detail:"Details",permission:"Permissions"}},reports:{tabs:{basic:"Basic",detail:"Details"}}},import_users:{error:{at_entry:"At entry %{entry}: %{message}",error:"Error",required_field:"Required field '%{field}' is not present",invalid_value:"Invalid value on line %{row}. '%{field}' field may only be 'true' or 'false'",unreasonably_big:"Refused to load unreasonably big file of %{size} megabytes",already_in_progress:"An import run is already in progress",id_exits:"ID %{id} already present"},title:"Import users via CSV",goToPdf:"Go to PDF",cards:{importstats:{header:"Import users",users_total:"%{smart_count} user in CSV file |||| %{smart_count} users in CSV file",guest_count:"%{smart_count} guest |||| %{smart_count} guests",admin_count:"%{smart_count} admin |||| %{smart_count} admins"},conflicts:{header:"Conflict strategy",mode:{stop:"Stop on conflict",skip:"Show error and skip on conflict"}},ids:{header:"IDs",all_ids_present:"IDs present on every entry",count_ids_present:"%{smart_count} entry with ID |||| %{smart_count} entries with IDs",mode:{ignore:"Ignore IDs in CSV and create new ones",update:"Update existing records"}},passwords:{header:"Passwords",all_passwords_present:"Passwords present on every entry",count_passwords_present:"%{smart_count} entry with password |||| %{smart_count} entries with passwords",use_passwords:"Use passwords from CSV"},upload:{header:"Input CSV file",explanation:"Here you can upload a file with comma separated values that is processed to create or update users. The file must include the fields 'id' and 'displayname'. You can download and adapt an example file here: "},startImport:{simulate_only:"Simulate only",run_import:"Import"},results:{header:"Import results",total:"%{smart_count} entry in total |||| %{smart_count} entries in total",successful:"%{smart_count} entries successfully imported",skipped:"%{smart_count} entries skipped",download_skipped:"Download skipped records",with_error:"%{smart_count} entry with errors ||| %{smart_count} entries with errors",simulated_only:"Run was only simulated"}}},resources:{users:{name:"User |||| Users",email:"Email",msisdn:"Phone",threepid:"Email / Phone",fields:{avatar:"Avatar",id:"User-ID",name:"Name",is_guest:"Guest",admin:"Server Administrator",deactivated:"Deactivated",guests:"Show guests",show_deactivated:"Show deactivated users",user_id:"Search user",displayname:"Displayname",password:"Password",avatar_url:"Avatar URL",avatar_src:"Avatar",medium:"Medium",threepids:"3PIDs",address:"Address",creation_ts_ms:"Creation timestamp",consent_version:"Consent version",auth_provider:"Provider",user_type:"User type"},helper:{password:"Changing password will log user out of all sessions.",deactivate:"You must provide a password to re-activate an account.",erase:"Mark the user as GDPR-erased"},action:{erase:"Erase user data"}},rooms:{name:"Room |||| Rooms",fields:{room_id:"Room-ID",name:"Name",canonical_alias:"Alias",joined_members:"Members",joined_local_members:"Local members",joined_local_devices:"Local devices",state_events:"State events / Complexity",version:"Version",is_encrypted:"Encrypted",encryption:"Encryption",federatable:"Federatable",public:"Visible in room directory",creator:"Creator",join_rules:"Join rules",guest_access:"Guest access",history_visibility:"History visibility",topic:"Topic",avatar:"Avatar"},helper:{forward_extremities:"Forward extremities are the leaf events at the end of a Directed acyclic graph (DAG) in a room, aka events that have no children. The more exist in a room, the more state resolution that Synapse needs to perform (hint: it's an expensive operation). While Synapse has code to prevent too many of these existing at one time in a room, bugs can sometimes make them crop up again. If a room has >10 forward extremities, it's worth checking which room is the culprit and potentially removing them using the SQL queries mentioned in #1760."},enums:{join_rules:{public:"Public",knock:"Knock",invite:"Invite",private:"Private"},guest_access:{can_join:"Guests can join",forbidden:"Guests can not join"},history_visibility:{invited:"Since invited",joined:"Since joined",shared:"Since shared",world_readable:"Anyone"},unencrypted:"Unencrypted"},action:{erase:{title:"Delete room",content:"Are you sure you want to delete the room? This cannot be undone. All messages and shared media in the room will be deleted from the server!"}}},reports:{name:"Reported event |||| Reported events",fields:{id:"ID",received_ts:"report time",user_id:"announcer",name:"name of the room",score:"score",reason:"reason",event_id:"event ID",event_json:{origin:"origin server",origin_server_ts:"time of send",type:"event type",content:{msgtype:"content type",body:"content",format:"format",formatted_body:"formatted content",algorithm:"algorithm",url:"URL",info:{mimetype:"Type"}}}},action:{erase:{title:"Delete reported event",content:"Are you sure you want to delete the reported event? This cannot be undone."}}},connections:{name:"Connections",fields:{last_seen:"Date",ip:"IP address",user_agent:"User agent"}},devices:{name:"Device |||| Devices",fields:{device_id:"Device-ID",display_name:"Device name",last_seen_ts:"Timestamp",last_seen_ip:"IP address"},action:{erase:{title:"Removing %{id}",content:'Are you sure you want to remove the device "%{name}"?',success:"Device successfully removed.",failure:"An error has occurred."}}},users_media:{name:"Media",fields:{media_id:"Media ID",media_length:"File Size (in Bytes)",media_type:"Type",upload_name:"File name",quarantined_by:"Quarantined by",safe_from_quarantine:"Safe from quarantine",created_ts:"Created",last_access_ts:"Last access"},action:{open:"Open media file in new window"}},delete_media:{name:"Media",fields:{before_ts:"last access before",size_gt:"Larger then (in bytes)",keep_profiles:"Keep profile images"},action:{send:"Delete media",send_success:"Request successfully sent.",send_failure:"An error has occurred."},helper:{send:"This API deletes the local media from the disk of your own server. This includes any local thumbnails and copies of media downloaded. This API will not affect media that has been uploaded to external media repositories."}},protect_media:{action:{create:"Unprotected, create protection",delete:"Protected, remove protection",none:"In quarantine",send_success:"Successfully changed the protection status.",send_failure:"An error has occurred."}},quarantine_media:{action:{name:"Quarantine",create:"Add to quarantine",delete:"In quarantine, unquarantine",none:"Protected from quarantine",send_success:"Successfully changed the quarantine status.",send_failure:"An error has occurred."}},pushers:{name:"Pusher |||| Pushers",fields:{app:"App",app_display_name:"App display name",app_id:"App ID",device_display_name:"Device display name",kind:"Kind",lang:"Language",profile_tag:"Profile tag",pushkey:"Pushkey",data:{url:"URL"}}},servernotices:{name:"Server Notices",send:"Send server notices",fields:{body:"Message"},action:{send:"Send note",send_success:"Server notice successfully sent.",send_failure:"An error has occurred."},helper:{send:'Sends a server notice to the selected users. The feature "Server Notices" has to be activated at the server.'}},user_media_statistics:{name:"Users' media",fields:{media_count:"Media count",media_length:"Media length"}},forward_extremities:{name:"Forward Extremities",fields:{id:"Event ID",received_ts:"Timestamp",depth:"Depth",state_group:"State group"}},room_state:{name:"State events",fields:{type:"Type",content:"Content",origin_server_ts:"time of send",sender:"Sender"}},room_directory:{name:"Room directory",fields:{world_readable:"guest users may view without joining",guest_can_join:"guest users may join"},action:{title:"Delete room from directory |||| Delete %{smart_count} rooms from directory",content:"Are you sure you want to remove this room from directory? |||| Are you sure you want to remove these %{smart_count} rooms from directory?",erase:"Delete from room directory",create:"Publish in room directory",send_success:"Room successfully published.",send_failure:"An error has occurred."}},destinations:{name:"Federation",fields:{destination:"Destination",failure_ts:"Failure timestamp",retry_last_ts:"Last retry timestamp",retry_interval:"Retry interval",last_successful_stream_ordering:"Last successful stream",stream_ordering:"Stream"},action:{reconnect:"Reconnect"}},registration_tokens:{name:"Registration tokens",fields:{token:"Token",valid:"Valid token",uses_allowed:"Uses allowed",pending:"Pending",completed:"Completed",expiry_time:"Expiry time",length:"Length"},helper:{length:"Length of the token if no token is given."}}}};var LAe={ra:{action:{add_filter:"Ajouter un filtre",add:"Ajouter",back:"Retour",bulk_actions:"%{smart_count} sélectionné |||| %{smart_count} sélectionnés",cancel:"Annuler",clear_array_input:"Vider la liste",clear_input_value:"Vider le champ",clone:"Dupliquer",confirm:"Confirmer",create:"Créer",create_item:"Créer %{item}",delete:"Supprimer",edit:"Éditer",export:"Exporter",list:"Liste",refresh:"Actualiser",remove_filter:"Supprimer ce filtre",remove_all_filters:"Supprimer tous les filtres",remove:"Supprimer",save:"Enregistrer",select_all:"Tout sélectionner",select_row:"Sélectionner cette ligne",search:"Rechercher",show:"Afficher",sort:"Trier",undo:"Annuler",unselect:"Désélectionner",expand:"Étendre",close:"Fermer",open_menu:"Ouvrir le menu",close_menu:"Fermer le menu",update:"Modifier",move_up:"Déplacer vers le haut",move_down:"Déplacer vers le bas",open:"Ouvrir",toggle_theme:"Thème clair/sombre",select_columns:"Colonnes",update_application:"Recharger l'application"},boolean:{true:"Oui",false:"Non",null:" "},page:{create:"Créer %{name}",dashboard:"Tableau de bord",edit:"%{name} %{recordRepresentation}",error:"Un problème est survenu",list:"%{name}",loading:"Chargement",not_found:"Page manquante",show:"%{name} %{recordRepresentation}",empty:"Pas encore de %{name}.",invite:"Voulez-vous en créer un ?"},input:{file:{upload_several:"Déposez les fichiers à uploader, ou cliquez pour en sélectionner.",upload_single:"Déposez le fichier à uploader, ou cliquez pour le sélectionner."},image:{upload_several:"Déposez les images à uploader, ou cliquez pour en sélectionner.",upload_single:"Déposez l'image à uploader, ou cliquez pour la sélectionner."},references:{all_missing:"Impossible de trouver des données de références.",many_missing:"Au moins une des références associées semble ne plus être disponible.",single_missing:"La référence associée ne semble plus disponible."},password:{toggle_visible:"Cacher le mot de passe",toggle_hidden:"Montrer le mot de passe"}},message:{about:"Au sujet de",are_you_sure:"Êtes-vous sûr ?",auth_error:"Une erreur est survenue lors de la validation de votre jeton d'authentification.",bulk_delete_content:"Êtes-vous sûr(e) de vouloir supprimer cet élément ? |||| Êtes-vous sûr(e) de vouloir supprimer ces %{smart_count} éléments ?",bulk_delete_title:"Supprimer %{name} |||| Supprimer %{smart_count} %{name}",bulk_update_content:"Êtes-vous sûr(e) de vouloir modifier cet élément ? |||| Êtes-vous sûr(e) de vouloir modifier ces %{smart_count} éléments ?",bulk_update_title:"Modifier %{name} |||| Modifier %{smart_count} %{name}",clear_array_input:"Êtes-vous sûr(e) de vouloir supprimer tous les éléments de la liste ?",delete_content:"Êtes-vous sûr(e) de vouloir supprimer cet élément ?",delete_title:"Supprimer %{name} #%{id}",details:"Détails",error:"En raison d'une erreur côté navigateur, votre requête n'a pas pu aboutir.",invalid_form:"Le formulaire n'est pas valide.",loading:"La page est en cours de chargement, merci de bien vouloir patienter.",no:"Non",not_found:"L'URL saisie est incorrecte, ou vous avez suivi un mauvais lien.",yes:"Oui",unsaved_changes:"Certains changements n'ont pas été enregistrés. Êtes-vous sûr(e) de vouloir quitter cette page ?"},navigation:{no_results:"Aucun résultat",no_more_results:"La page numéro %{page} est en dehors des limites. Essayez la page précédente.",page_out_of_boundaries:"La page %{page} est en dehors des limites",page_out_from_end:"Fin de la pagination",page_out_from_begin:"La page doit être supérieure à 1",page_range_info:"%{offsetBegin}-%{offsetEnd} sur %{total}",partial_page_range_info:"%{offsetBegin}-%{offsetEnd} sur plus de %{offsetEnd}",page_rows_per_page:"Lignes par page :",current_page:"Page %{page}",page:"Aller à la page %{page}",first:"Aller à la première page",last:"Aller à la dernière page",next:"Aller à la prochaine page",previous:"Aller à la page précédente",skip_nav:"Aller au contenu"},sort:{sort_by:"Trier par %{field} %{order}",ASC:"croissant",DESC:"décroissant"},auth:{auth_check_error:"Merci de vous connecter pour continuer",user_menu:"Profil",username:"Identifiant",password:"Mot de passe",sign_in:"Connexion",sign_in_error:"Échec de l'authentification, merci de réessayer",logout:"Déconnexion"},notification:{updated:"Élément mis à jour |||| %{smart_count} éléments mis à jour",created:"Élément créé",deleted:"Élément supprimé |||| %{smart_count} éléments supprimés",bad_item:"Élément inconnu",item_doesnt_exist:"L'élément n'existe pas",http_error:"Erreur de communication avec le serveur",data_provider_error:"Erreur dans le dataProvider. Plus de détails dans la console.",i18n_error:"Erreur de chargement des traductions pour la langue sélectionnée",canceled:"Action annulée",logged_out:"Votre session a pris fin, veuillez vous reconnecter.",not_authorized:"Vous n'êtes pas autorisé(e) à accéder à cette ressource.",application_update_available:"Une mise à jour est disponible."},validation:{required:"Ce champ est requis",minLength:"Minimum %{min} caractères",maxLength:"Maximum %{max} caractères",minValue:"Minimum %{min}",maxValue:"Maximum %{max}",number:"Doit être un nombre",email:"Doit être un email",oneOf:"Doit être au choix: %{options}",regex:"Doit respecter un format spécifique (regexp): %{pattern}",unique:"Doit être unique"},saved_queries:{label:"Mes requêtes",query_name:"Nom de la requête",new_label:"Ajouter à mes requêtes...",new_dialog_title:"Ajouter la requête en cours à mes requêtes",remove_label:"Retirer de mes requêtes",remove_label_with_name:'Retirer "%{name}" des mes requêtes',remove_dialog_title:"Effacer de mes requêtes ?",remove_message:"Etes-vous sûr(e) de vouloir supprimer cette requête de votre liste de requêtes ?",help:"Filtrez la liste et ajoutez cette requête à votre liste"},configurable:{customize:"Personnaliser",configureMode:"Configurer cette page",inspector:{title:"Inspecteur",content:"Sélectionner un composant pour le configurer",reset:"Réinitialiser",hideAll:"Masquer tout",showAll:"Afficher tout"},Datagrid:{title:"Tableau",unlabeled:"Colonne #%{column}"},SimpleForm:{title:"Formulaire",unlabeled:"Champ #%{input}"},SimpleList:{title:"Liste",primaryText:"Texte principal",secondaryText:"Texte secondaire",tertiaryText:"Texte annexe"}}}};const DAe={...LAe,synapseadmin:{auth:{base_url:"URL du serveur d’accueil",welcome:"Bienvenue sur Synapse-admin",server_version:"Version du serveur Synapse",username_error:"Veuillez entrer un nom d'utilisateur complet : « @utilisateur:domaine »",protocol_error:"L'URL doit commencer par « http:// » ou « https:// »",url_error:"L'URL du serveur Matrix n'est pas valide",sso_sign_in:"Se connecter avec l’authentification unique"},users:{invalid_user_id:"Partie locale d'un identifiant utilisateur Matrix sans le nom du serveur d’accueil.",tabs:{sso:"Authentification unique"}},rooms:{tabs:{basic:"Informations de base",members:"Membres",detail:"Détails",permission:"Permissions"}},reports:{tabs:{basic:"Informations de base",detail:"Détails"}}},import_users:{error:{at_entry:"Pour l'entrée %{entry} : %{message}",error:"Erreur",required_field:"Le champ requis « %{field} » est manquant",invalid_value:"Valeur non valide à la ligne %{row}. Le champ « %{field} » ne peut être que « true » ou « false »",unreasonably_big:"Refus de charger un fichier trop volumineux de %{size} mégaoctets",already_in_progress:"Un import est déjà en cours",id_exits:"L'identifiant %{id} déjà présent"},title:"Importer des utilisateurs à partir d'un fichier CSV",goToPdf:"Voir le PDF",cards:{importstats:{header:"Importer des utilisateurs",users_total:"%{smart_count} utilisateur dans le fichier CSV |||| %{smart_count} utilisateurs dans le fichier CSV",guest_count:"%{smart_count} visiteur |||| %{smart_count} visiteurs",admin_count:"%{smart_count} administrateur |||| %{smart_count} administrateurs"},conflicts:{header:"Stratégie de résolution des conflits",mode:{stop:"S'arrêter en cas de conflit",skip:"Afficher l'erreur et ignorer le conflit"}},ids:{header:"Identifiants",all_ids_present:"Identifiants présents pour chaque entrée",count_ids_present:"%{smart_count} entrée avec identifiant |||| %{smart_count} entrées avec identifiant",mode:{ignore:"Ignorer les identifiants dans le ficher CSV et en créer de nouveaux",update:"Mettre à jour les enregistrements existants"}},passwords:{header:"Mots de passe",all_passwords_present:"Mots de passe présents pour chaque entrée",count_passwords_present:"%{smart_count} entrée avec mot de passe |||| %{smart_count} entrées avec mot de passe",use_passwords:"Utiliser les mots de passe provenant du fichier CSV"},upload:{header:"Fichier CSV en entrée",explanation:"Vous pouvez télécharger ici un fichier contenant des valeurs séparées par des virgules qui sera traité pour créer ou mettre à jour des utilisateurs. Le fichier doit inclure les champs « id » et « displayname ». Vous pouvez télécharger et adapter un fichier d'exemple ici : "},startImport:{simulate_only:"Simuler",run_import:"Importer"},results:{header:"Résultats de l'import",total:"%{smart_count} entrée au total |||| %{smart_count} entrées au total",successful:"%{smart_count} entrées importées avec succès",skipped:"%{smart_count} entrées ignorées",download_skipped:"Télécharger les entrées ignorées",with_error:"%{smart_count} entrée avec des erreurs ||| %{smart_count} entrées avec des erreurs",simulated_only:"L'import était simulé"}}},resources:{users:{name:"Utilisateur |||| Utilisateurs",email:"Adresse électronique",msisdn:"Numéro de téléphone",threepid:"Adresse électronique / Numéro de téléphone",fields:{avatar:"Avatar",id:"Identifiant",name:"Nom",is_guest:"Visiteur",admin:"Administrateur du serveur",deactivated:"Désactivé",guests:"Afficher les visiteurs",show_deactivated:"Afficher les utilisateurs désactivés",user_id:"Rechercher un utilisateur",displayname:"Nom d'affichage",password:"Mot de passe",avatar_url:"URL de l'avatar",avatar_src:"Avatar",medium:"Type",threepids:"Identifiants tiers",address:"Adresse",creation_ts_ms:"Date de création",consent_version:"Version du consentement",auth_provider:"Fournisseur d'identité"},helper:{deactivate:"Vous devrez fournir un mot de passe pour réactiver le compte.",erase:"Marquer l'utilisateur comme effacé conformément au RGPD"},action:{erase:"Effacer les données de l'utilisateur"}},rooms:{name:"Salon |||| Salons",fields:{room_id:"Identifiant du salon",name:"Nom",canonical_alias:"Alias",joined_members:"Membres",joined_local_members:"Membres locaux",joined_local_devices:"Appareils locaux",state_events:"Événements d'État / Complexité",version:"Version",is_encrypted:"Chiffré",encryption:"Chiffrement",federatable:"Fédérable",public:"Visible dans le répertoire des salons",creator:"Créateur",join_rules:"Règles d'adhésion",guest_access:"Accès des visiteurs",history_visibility:"Visibilité de l'historique",topic:"Sujet",avatar:"Avatar"},helper:{forward_extremities:"Les extrémités avant sont les événements feuilles à la fin d'un graphe orienté acyclique (DAG) dans un salon, c'est-à-dire les événements qui n'ont pas de descendants. Plus il y en a dans un salon, plus la résolution d'état que Synapse doit effectuer est importante (indice : c'est une opération coûteuse). Bien que Synapse dispose d'un algorithme pour éviter qu'un trop grand nombre de ces événements n'existent en même temps dans un salon, des bogues peuvent parfois les faire réapparaître. Si un salon présente plus de 10 extrémités avant, cela vaut la peine d'y prêter attention et éventuellement de les supprimer en utilisant les requêtes SQL mentionnées dans la discussion traitant du problème https://github.com/matrix-org/synapse/issues/1760."},enums:{join_rules:{public:"Public",knock:"Sur demande",invite:"Sur invitation",private:"Privé"},guest_access:{can_join:"Les visiteurs peuvent rejoindre le salon",forbidden:"Les visiteurs ne peuvent pas rejoindre le salon"},history_visibility:{invited:"Depuis l'invitation",joined:"Depuis l'adhésion",shared:"Depuis le partage",world_readable:"Tout le monde"},unencrypted:"Non chiffré"},action:{erase:{title:"Supprimer le salon",content:"Voulez-vous vraiment supprimer le salon ? Cette opération ne peut être annulée. Tous les messages et médias partagés du salon seront supprimés du serveur !"}}},reports:{name:"Événement signalé |||| Événements signalés",fields:{id:"Identifiant",received_ts:"Date du rapport",user_id:"Rapporteur",name:"Nom du salon",score:"Score",reason:"Motif",event_id:"Identifiant de l'événement",event_json:{origin:"Serveur d'origine",origin_server_ts:"Date d'envoi",type:"Type d'événement",content:{msgtype:"Type de contenu",body:"Contenu",format:"Format",formatted_body:"Contenu mis en forme",algorithm:"Algorithme"}}}},connections:{name:"Connexions",fields:{last_seen:"Date",ip:"Adresse IP",user_agent:"Agent utilisateur"}},devices:{name:"Appareil |||| Appareils",fields:{device_id:"Identifiant de l'appareil",display_name:"Nom de l'appareil",last_seen_ts:"Date",last_seen_ip:"Adresse IP"},action:{erase:{title:"Suppression de %{id}",content:"Voulez-vous vraiment supprimer l'appareil « %{name} » ?",success:"Appareil supprimé avec succès",failure:"Une erreur s'est produite"}}},users_media:{name:"Media",fields:{media_id:"Identifiant du média",media_length:"Taille du fichier (en octets)",media_type:"Type",upload_name:"Nom du fichier",quarantined_by:"Mis en quarantaine par",safe_from_quarantine:"Protection contre la mise en quarantaine",created_ts:"Date de création",last_access_ts:"Dernier accès"}},delete_media:{name:"Media",fields:{before_ts:"Dernier accès avant",size_gt:"Plus grand que (en octets)",keep_profiles:"Conserver les images de profil"},action:{send:"Supprimer le média",send_success:"Requête envoyée avec succès",send_failure:"Une erreur s'est produite"},helper:{send:"Cette API supprime les médias locaux du disque de votre propre serveur. Cela inclut toutes les vignettes locales et les copies des médias téléchargés. Cette API n'affectera pas les médias qui ont été téléversés dans des dépôts de médias externes."}},protect_media:{action:{create:"Protéger",delete:"Révoquer la protection",none:"En quarantaine",send_success:"Le statut de protection a été modifié avec succès",send_failure:"Une erreur s'est produite"}},quarantine_media:{action:{name:"Quarantaine",create:"Mettre en quarantaine",delete:"Révoquer la mise en quarantaine",none:"Protégé contre la mise en quarantaine",send_success:"Le statut de la quarantaine a été modifié avec succès",send_failure:"Une erreur s'est produite"}},pushers:{name:"Émetteur de notifications |||| Émetteurs de notifications",fields:{app:"Application",app_display_name:"Nom d'affichage de l'application",app_id:"Identifiant de l'application",device_display_name:"Nom d'affichage de l'appareil",kind:"Type",lang:"Langue",profile_tag:"Profil",pushkey:"Identifiant de l'émetteur",data:{url:"URL"}}},servernotices:{name:"Annonces du serveur",send:"Envoyer des « Annonces du serveur »",fields:{body:"Message"},action:{send:"Envoyer une annonce",send_success:"Annonce envoyée avec succès",send_failure:"Une erreur s'est produite"},helper:{send:"Envoie une annonce au nom du serveur aux utilisateurs sélectionnés. La fonction « Annonces du serveur » doit être activée sur le serveur."}},user_media_statistics:{name:"Médias des utilisateurs",fields:{media_count:"Nombre de médias",media_length:"Taille des médias"}},forward_extremities:{name:"Extrémités avant",fields:{id:"Identifiant de l'événement",received_ts:"Date de réception",depth:"Profondeur",state_group:"Groupe d'état"}},room_state:{name:"Événements d'état",fields:{type:"Type",content:"Contenu",origin_server_ts:"Date d'envoi",sender:"Expéditeur"}},room_directory:{name:"Répertoire des salons",fields:{world_readable:"Tout utilisateur peut avoir un aperçu du salon, sans en devenir membre",guest_can_join:"Les visiteurs peuvent rejoindre le salon"},action:{title:"Supprimer un salon du répertoire |||| Supprimer %{smart_count} salons du répertoire",content:"Voulez-vous vraiment supprimer ce salon du répertoire ? |||| Voulez-vous vraiment supprimer ces %{smart_count} salons du répertoire ?",erase:"Supprimer du répertoire des salons",create:"Publier dans le répertoire des salons",send_success:"Salon publié avec succès",send_failure:"Une erreur s'est produite"}},registration_tokens:{name:"Jetons d'inscription",fields:{token:"Jeton",valid:"Jeton valide",uses_allowed:"Nombre d'inscription autorisées",pending:"Nombre d'inscription en cours",completed:"Nombre d'inscription accomplie",expiry_time:"Date d'expiration",length:"Longueur"},helper:{length:"Longueur du jeton généré aléatoirement si aucun jeton n'est pas spécifié"}}}};var _5={};Object.defineProperty(_5,"__esModule",{value:!0});var BAe={ra:{action:{add:"增加",add_filter:"添加搜索条件",back:"回退",bulk_actions:"选中1项 |||| 选中%{smart_count}项",cancel:"取消",clear_array_input:"清空列表",clear_input_value:"清空输入",clone:"克隆",close:"关闭",close_menu:"关闭菜单",confirm:"确认",create:"新建",create_item:"新建 %{item}",delete:"删除",edit:"编辑",expand:"展开",export:"导出",list:"列表",move_down:"下移",move_up:"上移",open:"打开",open_menu:"打开菜单",refresh:"刷新",remove:"删除",remove_all_filters:"移除所有检索",remove_filter:"移除检索",save:"保存",search:"检索",select_all:"选择所有",select_columns:"列",select_row:"选择此行",show:"查看",sort:"排序",toggle_theme:"切换主题",undo:"撤销",unselect:"反选",update:"更新",update_application:"重载应用"},auth:{auth_check_error:"请登录以继续",user_menu:"设置",username:"用户名",password:"密码",sign_in:"登录",sign_in_error:"验证失败, 请重试",logout:"登出"},boolean:{true:"是",false:"否",null:" "},configurable:{customize:"自定义",configureMode:"配置此页面",inspector:{title:"Inspector",content:"悬停应用程序UI元素来配置它们",reset:"重置设置",hideAll:"隐藏所有",showAll:"显示所有"},Datagrid:{title:"数据网格",unlabeled:"未设置标签的列 #%{column}"},SimpleForm:{title:"表单",unlabeled:"未设置标签的输入框 #%{input}"},SimpleList:{title:"列表",primaryText:"主要的文本",secondaryText:"二级文本",tertiaryText:"三级文本"}},input:{file:{upload_several:"将文件集合拖拽到这里, 或点击这里选择文件集合.",upload_single:"将文件拖拽到这里, 或点击这里选择文件."},image:{upload_several:"将图片文件集合拖拽到这里, 或点击这里选择图片文件集合.",upload_single:"将图片文件拖拽到这里, 或点击这里选择图片文件."},password:{toggle_visible:"隐藏密码",toggle_hidden:"显示密码"},references:{all_missing:"未找到参考数据.",many_missing:"至少有一条参考数据不再可用.",single_missing:"关联的参考数据不再可用."}},message:{about:"关于",are_you_sure:"您确定操作?",bulk_delete_content:"您确定要删除 %{name}? |||| 您确定要删除 %{smart_count} 项?",bulk_delete_title:"删除 %{name} |||| 删除 %{smart_count}项 %{name} ",delete_content:"您确定要删除该条目?",delete_title:"删除 %{name} #%{id}",error:"客户端错误导致请求未完成.",invalid_form:"表单输入无效. 请检查错误提示",loading:"正在加载页面, 请稍候",no:"否",not_found:"您输入了错误的URL或者错误的链接.",unsaved_changes:"修改未保存. 放弃修改吗?",yes:"是",auth_error:"身份认证出错",bulk_update_content:"是否确实要更新此 %{name}? |||| 是否确实要更新这些 %{smart_count} ?",bulk_update_title:"更新 %{name} |||| 更新 %{smart_count} %{name}",clear_array_input:"您确定要清除整个列表吗?",details:"详情"},navigation:{no_results:"结果为空",no_more_results:"页码 %{page} 超出边界. 试试上一页.",page_out_of_boundaries:"页码 %{page} 超出边界",page_out_from_end:"已到最末页",page_out_from_begin:"已到最前页",page_range_info:"%{offsetBegin}-%{offsetEnd} / %{total}",page_rows_per_page:"每页行数:",next:"向后",prev:"向前",skip_nav:"跳到内容",partial_page_range_info:"%{offsetBegin}-%{offsetEnd} of more than %{offsetEnd}",current_page:"页码 %{page}",page:"跳到页码 %{page}",first:"第一页",last:"最后一页",previous:"向前"},notification:{updated:"条目已更新 |||| %{smart_count} 项条目已更新",created:"条目已新建",deleted:"条目已删除 |||| %{smart_count} 项条目已删除",bad_item:"不正确的条目",item_doesnt_exist:"条目不存在",http_error:"与服务通信出错",canceled:"取消动作",data_provider_error:"dataProvider错误. 请检查console的详细信息.",i18n_error:"无法加载指定语言包",logged_out:"会话失效, 请重连.",not_authorized:"你没有权限访问此资源.",application_update_available:"新版本可用."},page:{create:"新建 %{name}",dashboard:"概览",edit:"%{name} #%{id}",empty:"无 %{name} ",error:"出现错误",invite:"要增加吗?",list:"%{name} 列表",loading:"加载中",not_found:"未发现",show:"%{name} #%{id}"},saved_queries:{label:"保存查询",query_name:"查询名称",new_label:"保存当前查询...",new_dialog_title:"保存当前查询为",remove_label:"删除保存的查询",remove_label_with_name:'删除查询 "%{name}"',remove_dialog_title:"删除保存的查询?",remove_message:"确定要从保存的查询列表中删除该项吗?",help:"过滤列表,并保存此查询"},sort:{sort_by:"按 %{field} %{order}",ASC:"升序",DESC:"降序"},validation:{required:"必填",minLength:"必须不少于 %{min} 个字符",maxLength:"必须不多于 %{max} 个字符",minValue:"必须不小于 %{min}",maxValue:"必须不大于 %{max}",number:"必须为数字",email:"必须是有效的邮箱",oneOf:"必须为: %{options}其中一项",regex:"必须符合指定的格式 (regexp): %{pattern}"}}},zAe=_5.default=BAe;const VAe={...zAe,synapseadmin:{auth:{base_url:"服务器 URL",welcome:"欢迎来到 Synapse-admin",server_version:"Synapse 版本",username_error:"请输入完整有效的用户 ID: '@user:domain'",protocol_error:"URL 需要以'http://'或'https://'作为起始",url_error:"不是一个有效的 Matrix 服务器地址",sso_sign_in:"使用 SSO 登录"},users:{invalid_user_id:"必须要是一个有效的 Matrix 用户 ID ,例如 @user_id:homeserver",tabs:{sso:"SSO"}},rooms:{tabs:{basic:"基本",members:"成员",detail:"细节",permission:"权限"},delete:{title:"删除房间",message:"您确定要删除这个房间吗?该操作无法被撤销。这个房间里所有的消息和分享的媒体都将被从服务器上删除!"}},reports:{tabs:{basic:"基本",detail:"细节"}}},import_users:{error:{at_entry:"在条目 %{entry}: %{message}",error:"错误",required_field:"需要的值 '%{field}' 未被设置。",invalid_value:"第 %{row} 行出现无效值。 '%{field}' 只可以是 'true' 或 'false'。",unreasonably_big:"拒绝加载过大的文件: %{size} MB",already_in_progress:"一个导入进程已经在运行中",id_exits:"ID %{id} 已经存在"},title:"通过 CSV 导入用户",goToPdf:"转到 PDF",cards:{importstats:{header:"导入用户",users_total:"%{smart_count} 用户在 CSV 文件中 |||| %{smart_count} 用户在 CSV 文件中",guest_count:"%{smart_count} 访客 |||| %{smart_count} 访客",admin_count:"%{smart_count} 管理员 |||| %{smart_count} 管理员"},conflicts:{header:"冲突处理策略",mode:{stop:"在冲突处停止",skip:"显示错误并跳过冲突"}},ids:{header:"IDs",all_ids_present:"每条记录的 ID",count_ids_present:"%{smart_count} 个含 ID 的记录 |||| %{smart_count} 个含 ID 的记录",mode:{ignore:"忽略 CSV 中的 ID 并创建新的",update:"更新已经存在的记录"}},passwords:{header:"密码",all_passwords_present:"每条记录的密码",count_passwords_present:"%{smart_count} 个含密码的记录 |||| %{smart_count} 个含密码的记录",use_passwords:"使用 CSV 中标记的密码"},upload:{header:"导入 CSV 文件",explanation:"在这里,你可以上传一个用逗号分隔的文件,用于创建或更新用户。该文件必须包括 'id' 和 'displayname' 字段。你可以在这里下载并修改一个示例文件:"},startImport:{simulate_only:"模拟模式",run_import:"导入"},results:{header:"导入结果",total:"共计 %{smart_count} 条记录 |||| 共计 %{smart_count} 条记录",successful:"%{smart_count} 条记录导入成功",skipped:"跳过 %{smart_count} 条记录",download_skipped:"下载跳过的记录",with_error:"%{smart_count} 条记录出现错误 ||| %{smart_count} 条记录出现错误",simulated_only:"只是一次模拟运行"}}},resources:{users:{name:"用户",email:"邮箱",msisdn:"电话",threepid:"邮箱 / 电话",fields:{avatar:"邮箱",id:"用户 ID",name:"用户名",is_guest:"访客",admin:"服务器管理员",deactivated:"被禁用",guests:"显示访客",show_deactivated:"显示被禁用的账户",user_id:"搜索用户",displayname:"显示名字",password:"密码",avatar_url:"头像 URL",avatar_src:"头像",medium:"Medium",threepids:"3PIDs",address:"地址",creation_ts_ms:"创建时间戳",consent_version:"协议版本"},helper:{deactivate:"您必须提供一串密码来激活账户。",erase:"将用户标记为根据 GDPR 的要求抹除了"},action:{erase:"抹除用户信息"}},rooms:{name:"房间",fields:{room_id:"房间 ID",name:"房间名",canonical_alias:"别名",joined_members:"成员",joined_local_members:"本地成员",state_events:"状态事件",version:"版本",is_encrypted:"已经加密",encryption:"加密",federatable:"可联合的",public:"公开",creator:"创建者",join_rules:"加入规则",guest_access:"访客访问",history_visibility:"历史可见性"},enums:{join_rules:{public:"公开",knock:"申请",invite:"邀请",private:"私有"},guest_access:{can_join:"访客可以加入",forbidden:"访客不可加入"},history_visibility:{invited:"自从被邀请",joined:"自从加入",shared:"自从分享",world_readable:"任何人"},unencrypted:"未加密"}},reports:{name:"报告事件",fields:{id:"ID",received_ts:"报告时间",user_id:"报告者",name:"房间名",score:"分数",reason:"原因",event_id:"事件 ID",event_json:{origin:"原始服务器",origin_server_ts:"发送时间",type:"事件类型",content:{msgtype:"内容类型",body:"内容",format:"格式",formatted_body:"格式化的数据",algorithm:"算法"}}}},connections:{name:"连接",fields:{last_seen:"日期",ip:"IP 地址",user_agent:"用户代理 (UA)"}},devices:{name:"设备",fields:{device_id:"设备 ID",display_name:"设备名",last_seen_ts:"时间戳",last_seen_ip:"IP 地址"},action:{erase:{title:"移除 %{id}",content:'您确定要移除设备 "%{name}"?',success:"设备移除成功。",failure:"出现了一个错误。"}}},users_media:{name:"媒体文件",fields:{media_id:"媒体文件 ID",media_length:"长度",media_type:"类型",upload_name:"文件名",quarantined_by:"被隔离",safe_from_quarantine:"取消隔离",created_ts:"创建",last_access_ts:"上一次访问"}},delete_media:{name:"媒体文件",fields:{before_ts:"最后访问时间",size_gt:"大于 (字节)",keep_profiles:"保留头像"},action:{send:"删除媒体",send_success:"请求发送成功。",send_failure:"出现了一个错误。"},helper:{send:"这个API会删除您硬盘上的本地媒体。包含了任何的本地缓存和下载的媒体备份。这个API不会影响上传到外部媒体存储库上的媒体文件。"}},pushers:{name:"发布者",fields:{app:"App",app_display_name:"App 名称",app_id:"App ID",device_display_name:"设备显示名",kind:"类型",lang:"语言",profile_tag:"数据标签",pushkey:"Pushkey",data:{url:"URL"}}},servernotices:{name:"服务器提示",send:"发送服务器提示",fields:{body:"信息"},action:{send:"发送提示",send_success:"服务器提示发送成功。",send_failure:"出现了一个错误。"},helper:{send:'向选中的用户发送服务器提示。服务器配置中的 "服务器提示(Server Notices)" 选项需要被设置为启用。'}},user_media_statistics:{name:"用户的媒体文件",fields:{media_count:"媒体文件统计",media_length:"媒体文件长度"}}}};var UAe={ra:{action:{add_filter:"Aggiungi un filtro",add:"Aggiungi",back:"Indietro",bulk_actions:"%{smart_count} selezionati",cancel:"Annulla",clear_input_value:"Svuota il modulo",clone:"Duplica",confirm:"Conferma",create:"Crea",delete:"Cancella",edit:"Modifica",export:"Esporta",list:"Elenco",refresh:"Aggiorna",remove_filter:"Rimuovi questo filtro",remove:"Rimuovi",save:"Salva",search:"Ricerca",show:"Mostra",sort:"Ordina",undo:"Annulla",unselect:"Annulla selezione",expand:"Espandi",close:"Chiudi",open_menu:"Apri il menu",close_menu:"Chiudi il menu"},boolean:{true:"Si",false:"No",null:" "},page:{create:"Aggiungi %{name}",dashboard:"Cruscotto",edit:"%{name} %{id}",error:"Qualcosa non ha funzionato",list:"%{name}",loading:"Caricamento in corso",not_found:"Non trovato",show:"%{name} %{id}",empty:"Nessun %{name} ancora.",invite:"Vuoi aggiungerne uno?"},input:{file:{upload_several:"Trascina i files da caricare, oppure clicca per selezionare.",upload_single:"Trascina il file da caricare, oppure clicca per selezionarlo."},image:{upload_several:"Trascina le immagini da caricare, oppure clicca per selezionarle.",upload_single:"Trascina l'immagine da caricare, oppure clicca per selezionarla."},references:{all_missing:"Impossibile trovare i riferimenti associati.",many_missing:"Almeno uno dei riferimenti associati non sembra più disponibile.",single_missing:"Il riferimento associato non sembra più disponibile."}},password:{toggle_visible:"Nascondi la password",toggle_hidden:"Mostra la password"},message:{about:"Informazioni",are_you_sure:"Sei sicuro ?",bulk_delete_content:"Sei sicuro di voler cancellare questo %{name}? |||| Sei sicuro di voler eliminare questi %{smart_count}?",bulk_delete_title:"Delete %{name} |||| Delete %{smart_count} %{name} items",delete_content:"Are you sure you want to delete this item?",delete_title:"Cancella %{name} #%{id}",details:"Dettagli",error:"Un errore locale è occorso e la tua richiesta non è stata completata.",invalid_form:"Il modulo non è valido. Si prega di verificare la presenza di errori.",loading:"La pagina si sta caricando, solo un momento per favore",no:"No",not_found:"Hai inserito un URL errato, oppure hai cliccato un link errato",yes:"Si",unsaved_changes:"Alcune modifiche non sono state salvate. Sei sicuro di volerle ignorare?"},navigation:{no_results:"Nessun risultato trovato",no_more_results:"La pagina numero %{page} è fuori dell'intervallo. Prova la pagina precedente.",page_out_of_boundaries:"Il numero di pagina %{page} è fuori dei limiti",page_out_from_end:"Fine della paginazione",page_out_from_begin:"Il numero di pagina deve essere maggiore di 1",page_range_info:"%{offsetBegin}-%{offsetEnd} di %{total}",page_rows_per_page:"Righe per pagina",next:"Successivo",prev:"Precedente",skip_nav:"Vai al contenuto"},sort:{sort_by:"Ordina per %{field} %{order}",ASC:"cresente",DESC:"decrescente"},auth:{auth_check_error:"È necessario accedere per continuare",user_menu:"Profilo",username:"Nome utente",password:"Password",sign_in:"Login",sign_in_error:"Autenticazione fallita, riprovare.",logout:"Disconnessione"},notification:{updated:"Record aggiornato |||| %{smart_count} records aggiornati",created:"Record creato",deleted:"Record eliminato |||| %{smart_count} records eliminati",bad_item:"Record errato",item_doesnt_exist:"Record inesistente",http_error:"Errore di comunicazione con il server dati",data_provider_error:"Errore del data provider. Controlla la console per i dettagli.",i18n_error:"Traduzioni non trovate per il linguaggio specificato",canceled:"Azione annullata",logged_out:"La sessione è stata terminata, si prega di ripetere l'autenticazione."},validation:{required:"Campo obbligatorio",minLength:"Deve essere lungo %{min} caratteri almeno",maxLength:"Deve essere lungo %{max} caratteri al massimo",minValue:"Deve essere almeno %{min}",maxValue:"Deve essere al massimo %{max}",number:"Deve essere un numero",email:"Deve essere un valido indirizzo email",oneOf:"Deve essere uno di: %{options}",regex:"Deve rispettare il formato (espressione regolare): %{pattern}"}}};const WAe=Rt(UAe),qAe={...WAe,synapseadmin:{auth:{base_url:"URL dell'homeserver",welcome:"Benvenuto in Synapse-admin",server_version:"Versione di Synapse",username_error:"Per favore inserisci un ID utente completo: '@utente:dominio'",protocol_error:"L'URL deve iniziare per 'http://' o 'https://'",url_error:"URL del server Matrix non valido",sso_sign_in:"Accedi con SSO"},users:{invalid_user_id:"ID utente non valido su questo homeserver.",tabs:{sso:"SSO"}},rooms:{tabs:{basic:"Semplice",members:"Membro",detail:"Dettagli",permission:"Permessi"}},reports:{tabs:{basic:"Semplice",detail:"Dettagli"}}},import_users:{error:{at_entry:"Alla voce %{entry}: %{message}",error:"Errore",required_field:"Il campo '%{field}' non è presente",invalid_value:"Valore non valido alla riga %{row}. '%{field}' Il campo può essere solo 'true' o 'false'",unreasonably_big:"Impossibile caricare un file così grosso (%{size} megabyte)",already_in_progress:"Un import è attualmente già in caricamento",id_exits:"L'ID %{id} è già presente"},title:"Importa utenti tramite file CSV",goToPdf:"Vai al PDF",cards:{importstats:{header:"Importa utenti",users_total:"%{smart_count} utente nel file CSV |||| %{smart_count} utenti nel file CSV",guest_count:"%{smart_count} ospite |||| %{smart_count} ospiti",admin_count:"%{smart_count} amministratore |||| %{smart_count} amministratori"},conflicts:{header:"Strategia di conflitto",mode:{stop:"Stoppa al conflitto",skip:"Mostra l'errore e ignora il conflitto"}},ids:{header:"ID",all_ids_present:"ID presenti in ogni voce",count_ids_present:"%{smart_count} voce con ID |||| %{smart_count} voci con ID",mode:{ignore:"Ignora gli ID nel file CSV e creane di nuovi",update:"Aggiorna le voci esistenti"}},passwords:{header:"Passwords",all_passwords_present:"Password presenti in ogni voce",count_passwords_present:"%{smart_count} voce con password |||| %{smart_count} voci con password",use_passwords:"Usa le password dal file CSV"},upload:{header:"Input file CSV",explanation:"Qui puoi caricare un file con valori separati da virgole che verrà poi utilizzato per creare o aggiornare gli utenti. Il file deve includere i campi 'id' and 'displayname'. Puoi scaricare un file di esempio per adattarlo: "},startImport:{simulate_only:"Solo simulazione",run_import:"Importa"},results:{header:"Importa i risultati",total:"%{smart_count} voce in totale |||| %{smart_count} voci in totale",successful:"%{smart_count} voci importate con successo",skipped:"%{smart_count} voci ignorate",download_skipped:"Scarica le voci ignorate",with_error:"%{smart_count} voce con errori ||| %{smart_count} voci con errori",simulated_only:"Il processo era stato solamente simulato"}}},resources:{users:{name:"Utente |||| Utenti",email:"Email",msisdn:"Telefono",threepid:"Email / Telefono",fields:{avatar:"Avatar",id:"ID utente",name:"Nome",is_guest:"Ospite",admin:"Amministratore",deactivated:"Disattivato",guests:"Mostra gli ospiti",show_deactivated:"Mostra gli utenti disattivati",user_id:"Cerca utente",displayname:"Nickname",password:"Password",avatar_url:"URL dell'avatar",avatar_src:"Avatar",medium:"Medium",threepids:"3PID",address:"Indirizzo",creation_ts_ms:"Creazione del timestamp",consent_version:"Versione minima richiesta",auth_provider:"Provider",user_type:"Tipo d'utente"},helper:{password:"Cambiando la password l'utente verrà disconnesso da tutte le sessioni attive.",deactivate:"Devi fornire una password per riattivare l'account.",erase:"Constrassegna l'utente come cancellato dal GDPR"},action:{erase:"Cancella i dati dell'utente"}},rooms:{name:"Stanza |||| Stanze",fields:{room_id:"ID della stanza",name:"Nome",canonical_alias:"Alias",joined_members:"Membri",joined_local_members:"Membri locali",joined_local_devices:"Dispositivi locali",state_events:"Eventi di stato / Complessità",version:"Versione",is_encrypted:"Criptato",encryption:"Crittografia",federatable:"Federabile",public:"Visibile nella cartella della stanza",creator:"Creatore",join_rules:"Regole per entrare",guest_access:"Entra come ospite",history_visibility:"Visibilità temporale",topic:"Topic",avatar:"Avatar"},helper:{},enums:{join_rules:{public:"Pubblica",knock:"Bussa",invite:"Invita",private:"Privata"},guest_access:{can_join:"Gli utenti ospiti possono entrare",forbidden:"Gli utenti ospiti non possono entrare"},history_visibility:{invited:"Dall'invito",joined:"Dall'entrata",shared:"Dalla condivisione",world_readable:"Chiunque"},unencrypted:"Non criptata"},action:{erase:{title:"Cancella stanza",content:"Sei sicuro di voler eliminare questa stanza? Questa azione è definitiva. Tutti i messaggi e i media condivisi in questa stanza verranno eliminati dal server!"}}},reports:{name:"Evento segnalato |||| Eventi segnalati",fields:{id:"ID",received_ts:"Orario del report",user_id:"richiedente",name:"nome della stanza",score:"punteggio",reason:"ragione",event_id:"ID dell'evento",event_json:{origin:"server di origine",origin_server_ts:"ora dell'invio",type:"tipo di evento",content:{msgtype:"tipo di contenuto",body:"contenuto",format:"formato",formatted_body:"contenuto formattato",algorithm:"algoritmo"}}}},connections:{name:"Connessioni",fields:{last_seen:"Data",ip:"Indirizzo IP",user_agent:"agente utente"}},devices:{name:"Dispositivo |||| Dispositivi",fields:{device_id:"ID del dispositivo",display_name:"Nome del dispositivo",last_seen_ts:"Timestamp",last_seen_ip:"Indirizzo IP"},action:{erase:{title:"Rimozione del dispositivo %{id}",content:'Sei sicuro di voler rimuovere il dispositivo "%{name}"?',success:"Dispositivo rimosso con successo.",failure:"C'è stato un errore."}}},users_media:{name:"Media",fields:{media_id:"ID del media",media_length:"Peso del file (in Byte)",media_type:"Tipo",upload_name:"Nome del file",quarantined_by:"In quarantena da",safe_from_quarantine:"Protetto dalla quarantena",created_ts:"Creato",last_access_ts:"Ultimo accesso"}},delete_media:{name:"Media",fields:{before_ts:"ultimo accesso effettuato prima",size_gt:"Più grande di (in byte)",keep_profiles:"Mantieni le immagini del profilo"},action:{send:"Cancella media",send_success:"Richiesta inviata con successo.",send_failure:"C'è stato un errore."},helper:{send:"Questa API cancella i media locali dal disco del tuo server. Questo include anche ogni miniatura e copia del media scaricato. Questa API non inciderà sui media che sono stati caricati nei repository esterni."}},protect_media:{action:{create:"Non protetto, proteggi",delete:"Protetto, rimuovi protezione",none:"In quarantena",send_success:"Stato della protezione cambiato con successo.",send_failure:"C'è stato un errore."}},quarantine_media:{action:{name:"Quarantina",create:"Aggiungi alla quarantena",delete:"In quarantena, rimuovi dalla quarantena",none:"Protetto dalla quarantena",send_success:"Stato della quarantena cambiato con successo.",send_failure:"C'è stato un errore."}},pushers:{name:"Pusher |||| Pusher",fields:{app:"App",app_display_name:"Nome dell'app",app_id:"ID dell'app",device_display_name:"Nome del dispositivo",kind:"Tipo",lang:"Lingua",profile_tag:"Tag del profilo",pushkey:"Pushkey",data:{url:"URL"}}},servernotices:{name:"Avvisi del server",send:"Invia avvisi",fields:{body:"Messaggio"},action:{send:"Invia nota",send_success:"Avviso inviato con successo.",send_failure:"C'è stato un errore."},helper:{send:'Invia un avviso dal server agli utenti selezionati. La feature "Avvisi del server" è stata attivata sul server.'}},user_media_statistics:{name:"Media degli utenti",fields:{media_count:"Numero media",media_length:"Lunghezza media"}},forward_extremities:{name:"Invia estremità",fields:{id:"Event ID",received_ts:"Timestamp",depth:"Profondità",state_group:"State group"}},room_state:{name:"Eventi di stato",fields:{type:"Tipo",content:"Contenuto",origin_server_ts:"Ora dell'invio",sender:"Mittente"}},room_directory:{name:"Elenco delle stanze",fields:{world_readable:"gli utenti ospite possono vedere senza entrare",guest_can_join:"gli utenti ospite possono entrare"},action:{title:"Cancella stanza dall'elenco |||| Cancella %{smart_count} stanze dall'elenco",content:"Sei sicuro di voler rimuovere questa stanza dall'elenco? |||| Sei sicuro di voler rimuovere %{smart_count} stanze dall'elenco?",erase:"Rimuovi dall'elenco",create:"Crea",send_success:"Stanza creata con successo.",send_failure:"C'è stato un errore."}},destinations:{name:"Federazione",fields:{destination:"Destinazione",failure_ts:"Timestamp dell'errore",retry_last_ts:"Tentativo ultimo timestamp",retry_interval:"Intervallo dei tentativi",last_successful_stream_ordering:"Ultimo flusso riuscito con successo",stream_ordering:"Flusso"},action:{reconnect:"Riconnetti"}},registration_tokens:{name:"Token di registrazione",fields:{token:"Token",valid:"Token valido",uses_allowed:"Usi permessi",pending:"In attesa",completed:"Completato",expiry_time:"Data della scadenza",length:"Lunghezza"},helper:{length:"Lunghezza del token se non viene dato alcun token."}}}},lp={de:FAe,en:NAe,fr:DAe,it:qAe,zh:VAe},HAe=V4(e=>lp[e]?Ph({},lp.en,lp[e]):lp.en,yQ(),[{locale:"en",name:"English"},{locale:"de",name:"Deutsch"},{locale:"fr",name:"Français"},{locale:"it",name:"Italiano"},{locale:"fa",name:"Persian(فارسی)"},{locale:"zh",name:"简体中文"}]),GAe=()=>_.jsxs(UTe,{disableTelemetry:!0,requireAuth:!0,loginPage:kAe,authProvider:WTe,dataProvider:qTe,i18nProvider:HAe,children:[_.jsx(BM,{children:_.jsx(ar,{path:"/import_users",element:_.jsx(AAe,{})})}),_.jsx(zt,{...iIe}),_.jsx(zt,{...BIe}),_.jsx(zt,{...KIe}),_.jsx(zt,{...rAe}),_.jsx(zt,{...TIe}),_.jsx(zt,{...mAe}),_.jsx(zt,{...PAe}),_.jsx(zt,{name:"connections"}),_.jsx(zt,{name:"devices"}),_.jsx(zt,{name:"room_members"}),_.jsx(zt,{name:"users_media"}),_.jsx(zt,{name:"joined_rooms"}),_.jsx(zt,{name:"pushers"}),_.jsx(zt,{name:"servernotices"}),_.jsx(zt,{name:"forward_extremities"}),_.jsx(zt,{name:"room_state"}),_.jsx(zt,{name:"destination_rooms"})]});fetch("config.json").then(e=>e.json()).then(e=>SI(document.getElementById("root")).render(_.jsx(te.StrictMode,{children:_.jsx(g5.Provider,{value:e,children:_.jsx(GAe,{})})}))); diff --git a/config.json b/config.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/config.json @@ -0,0 +1 @@ +{} diff --git a/index.html b/index.html index 74900ac..e7d8632 100644 --- a/index.html +++ b/index.html @@ -1 +1,136 @@ -Synapse-Admin
\ No newline at end of file + + + + + + + + + + + + + Synapse-Admin + + + + + +
+
+
Loading...
+
+
+ + + + + + diff --git a/static/js/main.61fbd98d.js b/static/js/main.61fbd98d.js deleted file mode 100644 index e30fb54..0000000 --- a/static/js/main.61fbd98d.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see main.61fbd98d.js.LICENSE.txt */ -(()=>{var e={5513:(e,t,r)=>{"use strict";r.d(t,{A:()=>oe});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(x,--g):0,v--,10===b&&(v=1,h--),b}function _(){return b=g2||j(b)>3?"":" "}function I(e,t){for(;--t&&_()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return k(e,E()+(t<6&&32==O()&&32==_()))}function M(e){for(;_();)switch(b){case e:return g;case 34:case 39:34!==e&&39!==e&&M(b);break;case 40:41===e&&M(e);break;case 92:_()}return g}function N(e,t){for(;_()&&e+b!==57&&(e+b!==84||47!==O()););return"/*"+k(t,g-1)+"*"+a(47===e?e:_())}function L(e){for(;!j(O());)_();return k(e,g)}var F="-ms-",z="-moz-",D="-webkit-",B="comm",V="rule",W="decl",U="@keyframes";function q(e,t){for(var r="",n=f(e),o=0;o0&&p(z)-y&&m(b>32?X(z+";",n,r,y-1):X(l(z," ","")+";",n,r,y-2),f);break;case 59:z+=";";default:if(m(F=G(z,t,r,h,v,o,d,C,P=[],M=[],y),i),123===j)if(0===v)Q(z,t,F,F,P,i,y,d,M);else switch(99===g&&110===u(z,3)?100:g){case 100:case 108:case 109:case 115:Q(e,F,F,n&&m(G(e,F,F,0,0,o,d,C,o,P=[],y),M),o,M,y,d,n?P:M);break;default:Q(z,F,F,F,[""],M,0,d,M)}}h=v=b=0,w=k=1,C=z="",y=s;break;case 58:y=1+p(z),b=x;default:if(w<1)if(123==j)--w;else if(125==j&&0==w++&&125==S())continue;switch(z+=a(j),j*w){case 38:k=v>0?1:(z+="\f",-1);break;case 44:d[h++]=(p(z)-1)*k,k=1;break;case 64:45===O()&&(z+=R(_())),g=O(),v=y=p(C=z+=L(E())),j++;break;case 45:45===x&&2==p(z)&&(w=0)}}return i}function G(e,t,r,n,a,i,c,u,p,m,h){for(var v=a-1,y=0===a?i:[""],g=f(y),b=0,x=0,A=0;b0?y[S]+" "+_:l(_,/&\f/g,y[S])))&&(p[A++]=O);return w(e,t,r,0===a?V:u,p,m,h)}function K(e,t,r){return w(e,t,r,B,a(b),d(e,2,-2),0)}function X(e,t,r,n){return w(e,t,r,W,d(e,0,n),d(e,n+1,-1),n)}var Y=function(e,t,r){for(var n=0,o=0;n=o,o=O(),38===n&&12===o&&(t[r]=1),!j(o);)_();return k(e,g)},J=function(e,t){return P(function(e,t){var r=-1,n=44;do{switch(j(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=Y(g-1,t,r);break;case 2:e[r]+=R(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}}while(n=_());return e}(C(e),t))},Z=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var o=[],a=J(t,o),i=r.props,s=0,l=0;s6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+z+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?re(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+F+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+F+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+F+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+F+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=re(e.value,e.length);break;case U:return q([A(e,{value:l(e.value,"@","@"+D)})],n);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([A(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return q([A(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),A(e,{props:[l(t,/:(plac\w+)/,F+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||ne;var a,i,s={},l=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},5025:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,T:()=>c,i:()=>a,w:()=>l});var n=r(5043),o=r(5513),a=(r(2830),r(9436),!0),i=n.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null);var s=i.Provider,l=function(e){return(0,n.forwardRef)((function(t,r){var o=(0,n.useContext)(i);return e(t,o,r)}))};a||(l=function(e){return function(t){var r=(0,n.useContext)(i);return null===r?(r=(0,o.A)({key:"css"}),n.createElement(i.Provider,{value:r},e(t,r))):e(t,r)}});var c=n.createContext({})},909:(e,t,r)=>{"use strict";r.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var n=r(5025),o=r(5043),a=r(1722),i=r(9436),s=r(2830),l=(r(5513),r(219),(0,n.w)((function(e,t){var r=e.styles,l=(0,s.J)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,u=l.name,d=l.styles,p=l.next;void 0!==p;)u+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,m=t.insert("",{name:u,styles:d},t.sheet,f);return f?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:m},c.nonce=t.sheet.nonce,c))}var h=o.useRef();return(0,i.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),h.current=[r,n],function(){r.flush()}}),[t]),(0,i.i)((function(){var e=h.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r{"use strict";r.d(t,{J:()=>m});var n={animationIterationCount:1,aspectRatio: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},o=r(918),a=/[A-Z]|^ms/g,i=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!==typeof e},c=(0,o.A)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(i,(function(e,t,r){return p={name:t,styles:r,next:p},t}))}return 1===n[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return p={name:r.name,styles:r.styles,next:p},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)p={name:n.name,styles:n.styles,next:p},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:p}}},9436:(e,t,r)=>{"use strict";var n;r.d(t,{i:()=>s,s:()=>i});var o=r(5043),a=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,i=a||function(e){return e()},s=a||o.useLayoutEffect},1722:(e,t,r)=>{"use strict";r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>a});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},5887:(e,t)=>{"use strict";t.A={ra:{action:{add:"\u589e\u52a0",add_filter:"\u6dfb\u52a0\u641c\u7d22\u6761\u4ef6",back:"\u56de\u9000",bulk_actions:"\u9009\u4e2d1\u9879 |||| \u9009\u4e2d%{smart_count}\u9879",cancel:"\u53d6\u6d88",clear_array_input:"\u6e05\u7a7a\u5217\u8868",clear_input_value:"\u6e05\u7a7a\u8f93\u5165",clone:"\u514b\u9686",close:"\u5173\u95ed",close_menu:"\u5173\u95ed\u83dc\u5355",confirm:"\u786e\u8ba4",create:"\u65b0\u5efa",create_item:"\u65b0\u5efa %{item}",delete:"\u5220\u9664",edit:"\u7f16\u8f91",expand:"\u5c55\u5f00",export:"\u5bfc\u51fa",list:"\u5217\u8868",move_down:"\u4e0b\u79fb",move_up:"\u4e0a\u79fb",open:"\u6253\u5f00",open_menu:"\u6253\u5f00\u83dc\u5355",refresh:"\u5237\u65b0",remove:"\u5220\u9664",remove_all_filters:"\u79fb\u9664\u6240\u6709\u68c0\u7d22",remove_filter:"\u79fb\u9664\u68c0\u7d22",save:"\u4fdd\u5b58",search:"\u68c0\u7d22",select_all:"\u9009\u62e9\u6240\u6709",select_columns:"\u5217",select_row:"\u9009\u62e9\u6b64\u884c",show:"\u67e5\u770b",sort:"\u6392\u5e8f",toggle_theme:"\u5207\u6362\u4e3b\u9898",undo:"\u64a4\u9500",unselect:"\u53cd\u9009",update:"\u66f4\u65b0",update_application:"\u91cd\u8f7d\u5e94\u7528"},auth:{auth_check_error:"\u8bf7\u767b\u5f55\u4ee5\u7ee7\u7eed",user_menu:"\u8bbe\u7f6e",username:"\u7528\u6237\u540d",password:"\u5bc6\u7801",sign_in:"\u767b\u5f55",sign_in_error:"\u9a8c\u8bc1\u5931\u8d25, \u8bf7\u91cd\u8bd5",logout:"\u767b\u51fa"},boolean:{true:"\u662f",false:"\u5426",null:"\u2003"},configurable:{customize:"\u81ea\u5b9a\u4e49",configureMode:"\u914d\u7f6e\u6b64\u9875\u9762",inspector:{title:"Inspector",content:"\u60ac\u505c\u5e94\u7528\u7a0b\u5e8fUI\u5143\u7d20\u6765\u914d\u7f6e\u5b83\u4eec",reset:"\u91cd\u7f6e\u8bbe\u7f6e",hideAll:"\u9690\u85cf\u6240\u6709",showAll:"\u663e\u793a\u6240\u6709"},Datagrid:{title:"\u6570\u636e\u7f51\u683c",unlabeled:"\u672a\u8bbe\u7f6e\u6807\u7b7e\u7684\u5217 #%{column}"},SimpleForm:{title:"\u8868\u5355",unlabeled:"\u672a\u8bbe\u7f6e\u6807\u7b7e\u7684\u8f93\u5165\u6846 #%{input}"},SimpleList:{title:"\u5217\u8868",primaryText:"\u4e3b\u8981\u7684\u6587\u672c",secondaryText:"\u4e8c\u7ea7\u6587\u672c",tertiaryText:"\u4e09\u7ea7\u6587\u672c"}},input:{file:{upload_several:"\u5c06\u6587\u4ef6\u96c6\u5408\u62d6\u62fd\u5230\u8fd9\u91cc, \u6216\u70b9\u51fb\u8fd9\u91cc\u9009\u62e9\u6587\u4ef6\u96c6\u5408.",upload_single:"\u5c06\u6587\u4ef6\u62d6\u62fd\u5230\u8fd9\u91cc, \u6216\u70b9\u51fb\u8fd9\u91cc\u9009\u62e9\u6587\u4ef6."},image:{upload_several:"\u5c06\u56fe\u7247\u6587\u4ef6\u96c6\u5408\u62d6\u62fd\u5230\u8fd9\u91cc, \u6216\u70b9\u51fb\u8fd9\u91cc\u9009\u62e9\u56fe\u7247\u6587\u4ef6\u96c6\u5408.",upload_single:"\u5c06\u56fe\u7247\u6587\u4ef6\u62d6\u62fd\u5230\u8fd9\u91cc, \u6216\u70b9\u51fb\u8fd9\u91cc\u9009\u62e9\u56fe\u7247\u6587\u4ef6."},password:{toggle_visible:"\u9690\u85cf\u5bc6\u7801",toggle_hidden:"\u663e\u793a\u5bc6\u7801"},references:{all_missing:"\u672a\u627e\u5230\u53c2\u8003\u6570\u636e.",many_missing:"\u81f3\u5c11\u6709\u4e00\u6761\u53c2\u8003\u6570\u636e\u4e0d\u518d\u53ef\u7528.",single_missing:"\u5173\u8054\u7684\u53c2\u8003\u6570\u636e\u4e0d\u518d\u53ef\u7528."}},message:{about:"\u5173\u4e8e",are_you_sure:"\u60a8\u786e\u5b9a\u64cd\u4f5c?",bulk_delete_content:"\u60a8\u786e\u5b9a\u8981\u5220\u9664 %{name}? |||| \u60a8\u786e\u5b9a\u8981\u5220\u9664 %{smart_count} \u9879?",bulk_delete_title:"\u5220\u9664 %{name} |||| \u5220\u9664 %{smart_count}\u9879 %{name} ",delete_content:"\u60a8\u786e\u5b9a\u8981\u5220\u9664\u8be5\u6761\u76ee?",delete_title:"\u5220\u9664 %{name} #%{id}",error:"\u5ba2\u6237\u7aef\u9519\u8bef\u5bfc\u81f4\u8bf7\u6c42\u672a\u5b8c\u6210.",invalid_form:"\u8868\u5355\u8f93\u5165\u65e0\u6548. \u8bf7\u68c0\u67e5\u9519\u8bef\u63d0\u793a",loading:"\u6b63\u5728\u52a0\u8f7d\u9875\u9762, \u8bf7\u7a0d\u5019",no:"\u5426",not_found:"\u60a8\u8f93\u5165\u4e86\u9519\u8bef\u7684URL\u6216\u8005\u9519\u8bef\u7684\u94fe\u63a5.",unsaved_changes:"\u4fee\u6539\u672a\u4fdd\u5b58. \u653e\u5f03\u4fee\u6539\u5417?",yes:"\u662f",auth_error:"\u8eab\u4efd\u8ba4\u8bc1\u51fa\u9519",bulk_update_content:"\u662f\u5426\u786e\u5b9e\u8981\u66f4\u65b0\u6b64 %{name}? |||| \u662f\u5426\u786e\u5b9e\u8981\u66f4\u65b0\u8fd9\u4e9b %{smart_count} ?",bulk_update_title:"\u66f4\u65b0 %{name} |||| \u66f4\u65b0 %{smart_count} %{name}",clear_array_input:"\u60a8\u786e\u5b9a\u8981\u6e05\u9664\u6574\u4e2a\u5217\u8868\u5417?",details:"\u8be6\u60c5"},navigation:{no_results:"\u7ed3\u679c\u4e3a\u7a7a",no_more_results:"\u9875\u7801 %{page} \u8d85\u51fa\u8fb9\u754c. \u8bd5\u8bd5\u4e0a\u4e00\u9875.",page_out_of_boundaries:"\u9875\u7801 %{page} \u8d85\u51fa\u8fb9\u754c",page_out_from_end:"\u5df2\u5230\u6700\u672b\u9875",page_out_from_begin:"\u5df2\u5230\u6700\u524d\u9875",page_range_info:"%{offsetBegin}-%{offsetEnd} / %{total}",page_rows_per_page:"\u6bcf\u9875\u884c\u6570:",next:"\u5411\u540e",prev:"\u5411\u524d",skip_nav:"\u8df3\u5230\u5185\u5bb9",partial_page_range_info:"%{offsetBegin}-%{offsetEnd} of more than %{offsetEnd}",current_page:"\u9875\u7801 %{page}",page:"\u8df3\u5230\u9875\u7801 %{page}",first:"\u7b2c\u4e00\u9875",last:"\u6700\u540e\u4e00\u9875",previous:"\u5411\u524d"},notification:{updated:"\u6761\u76ee\u5df2\u66f4\u65b0 |||| %{smart_count} \u9879\u6761\u76ee\u5df2\u66f4\u65b0",created:"\u6761\u76ee\u5df2\u65b0\u5efa",deleted:"\u6761\u76ee\u5df2\u5220\u9664 |||| %{smart_count} \u9879\u6761\u76ee\u5df2\u5220\u9664",bad_item:"\u4e0d\u6b63\u786e\u7684\u6761\u76ee",item_doesnt_exist:"\u6761\u76ee\u4e0d\u5b58\u5728",http_error:"\u4e0e\u670d\u52a1\u901a\u4fe1\u51fa\u9519",canceled:"\u53d6\u6d88\u52a8\u4f5c",data_provider_error:"dataProvider\u9519\u8bef. \u8bf7\u68c0\u67e5console\u7684\u8be6\u7ec6\u4fe1\u606f.",i18n_error:"\u65e0\u6cd5\u52a0\u8f7d\u6307\u5b9a\u8bed\u8a00\u5305",logged_out:"\u4f1a\u8bdd\u5931\u6548, \u8bf7\u91cd\u8fde.",not_authorized:"\u4f60\u6ca1\u6709\u6743\u9650\u8bbf\u95ee\u6b64\u8d44\u6e90.",application_update_available:"\u65b0\u7248\u672c\u53ef\u7528."},page:{create:"\u65b0\u5efa %{name}",dashboard:"\u6982\u89c8",edit:"%{name} #%{id}",empty:"\u65e0 %{name} ",error:"\u51fa\u73b0\u9519\u8bef",invite:"\u8981\u589e\u52a0\u5417?",list:"%{name} \u5217\u8868",loading:"\u52a0\u8f7d\u4e2d",not_found:"\u672a\u53d1\u73b0",show:"%{name} #%{id}"},saved_queries:{label:"\u4fdd\u5b58\u67e5\u8be2",query_name:"\u67e5\u8be2\u540d\u79f0",new_label:"\u4fdd\u5b58\u5f53\u524d\u67e5\u8be2...",new_dialog_title:"\u4fdd\u5b58\u5f53\u524d\u67e5\u8be2\u4e3a",remove_label:"\u5220\u9664\u4fdd\u5b58\u7684\u67e5\u8be2",remove_label_with_name:'\u5220\u9664\u67e5\u8be2 "%{name}"',remove_dialog_title:"\u5220\u9664\u4fdd\u5b58\u7684\u67e5\u8be2?",remove_message:"\u786e\u5b9a\u8981\u4ece\u4fdd\u5b58\u7684\u67e5\u8be2\u5217\u8868\u4e2d\u5220\u9664\u8be5\u9879\u5417?",help:"\u8fc7\u6ee4\u5217\u8868\uff0c\u5e76\u4fdd\u5b58\u6b64\u67e5\u8be2"},sort:{sort_by:"\u6309 %{field} %{order}",ASC:"\u5347\u5e8f",DESC:"\u964d\u5e8f"},validation:{required:"\u5fc5\u586b",minLength:"\u5fc5\u987b\u4e0d\u5c11\u4e8e %{min} \u4e2a\u5b57\u7b26",maxLength:"\u5fc5\u987b\u4e0d\u591a\u4e8e %{max} \u4e2a\u5b57\u7b26",minValue:"\u5fc5\u987b\u4e0d\u5c0f\u4e8e %{min}",maxValue:"\u5fc5\u987b\u4e0d\u5927\u4e8e %{max}",number:"\u5fc5\u987b\u4e3a\u6570\u5b57",email:"\u5fc5\u987b\u662f\u6709\u6548\u7684\u90ae\u7bb1",oneOf:"\u5fc5\u987b\u4e3a: %{options}\u5176\u4e2d\u4e00\u9879",regex:"\u5fc5\u987b\u7b26\u5408\u6307\u5b9a\u7684\u683c\u5f0f (regexp): %{pattern}"}}}},9089:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6m0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20"}),"AccountCircle")},2505:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},4783:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline")},9343:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 10V8h-2v4H8l4 4 4-4z"}),"ArrowCircleDown")},2010:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0 2c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10m-1-10v4h2v-4h3l-4-4-4 4z"}),"ArrowCircleUp")},288:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 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-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1z"}),"AssignmentInd")},2126:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 6v3l4-4-4-4v3c-4.42 0-8 3.58-8 8 0 1.57.46 3.03 1.24 4.26L6.7 14.8c-.45-.83-.7-1.79-.7-2.8 0-3.31 2.69-6 6-6m6.76 1.74L17.3 9.2c.44.84.7 1.79.7 2.8 0 3.31-2.69 6-6 6v-3l-4 4 4 4v-3c4.42 0 8-3.58 8-8 0-1.57-.46-3.03-1.24-4.26"}),"Autorenew")},3723:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"}),"Block")},9307:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"}),"Brightness4")},8094:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6m0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"}),"Brightness7")},5502:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 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 12z"}),"Cancel")},8256:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined")},9778:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},155:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},4802:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},6404:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4s1.79-4 4-4h.71C7.37 7.69 9.48 6 12 6c3.04 0 5.5 2.46 5.5 5.5v.5H19c1.66 0 3 1.34 3 3s-1.34 3-3 3"}),"CloudQueue")},4216:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M22 10V6c0-1.11-.9-2-2-2H4c-1.1 0-1.99.89-1.99 2v4c1.1 0 1.99.9 1.99 2s-.89 2-2 2v4c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-4c-1.1 0-2-.9-2-2s.9-2 2-2m-9 7.5h-2v-2h2zm0-4.5h-2v-2h2zm0-4.5h-2v-2h2z"}),"ConfirmationNumber")},3441:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M21 8V7l-3 2-3-2v1l3 2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2M8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1zm8-6h-8V6h8z"}),"ContactMail")},5824:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.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.75z"}),"Create")},2856:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M3 13h8V3H3zm0 8h8v-6H3zm10 0h8V11h-8zm0-18v6h8V3z"}),"Dashboard")},3471:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},697:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline")},9719:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3zM14 5h-3l-1-1H6L5 5H2v2h12z"}),"DeleteSweep")},4705:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1m-1 9h-4v-7h4z"}),"Devices")},7500:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},6061:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"DragIndicator")},8570:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M10 20h4V4h-4zm-6 0h4v-8H4zM16 9v11h4V9z"}),"Equalizer")},1528:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},7948:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline")},9709:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M17 12h-5v5h5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1zm3 18H5V8h14z"}),"Event")},1337:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},2509:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"m4 18 8.5-6L4 6zm9-12v12l8.5-6z"}),"FastForward")},3082:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M14 2H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H15v-8h5V8zm-1 7V3.5L18.5 9zm4 12.66V16h5.66v2h-2.24l2.95 2.95-1.41 1.41L19 19.41v2.24h-2z"}),"FileOpen")},8242:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList")},6529:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-5 3c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m4 8h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2z"}),"FolderShared")},5971:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"GetApp")},6893:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},5393:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M14.59 8 12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"HighlightOff")},1958:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History")},7278:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)([(0,a.jsx)("circle",{cx:"7",cy:"6",r:"2"},"0"),(0,a.jsx)("path",{d:"M11.15 12c-.31-.22-.59-.46-.82-.72l-1.4-1.55c-.19-.21-.43-.38-.69-.5-.29-.14-.62-.23-.96-.23h-.03C6.01 9 5 10.01 5 11.25V12H2v8c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-8zM7 20H5v-6h2zm4 0H9v-6h2zm4 0h-2v-6h2zm4 0h-2v-6h2zm-.35-14.14-.07-.07c-.57-.62-.82-1.41-.67-2.2L18 3h-1.89l-.06.43c-.2 1.36.27 2.71 1.3 3.72l.07.06c.57.62.82 1.41.67 2.2l-.11.59h1.91l.06-.43c.21-1.36-.27-2.71-1.3-3.71m-4 0-.07-.07c-.57-.62-.82-1.41-.67-2.2L14 3h-1.89l-.06.43c-.2 1.36.27 2.71 1.3 3.72l.07.06c.57.62.82 1.41.67 2.2l-.11.59h1.91l.06-.43c.21-1.36-.27-2.71-1.3-3.71"},"1")],"HotTub")},6199:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Https")},8029:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19 3H4.99c-1.11 0-1.98.89-1.98 2L3 19c0 1.1.88 2 1.99 2H19c1.1 0 2-.9 2-2V5c0-1.11-.9-2-2-2m0 12h-4c0 1.66-1.35 3-3 3s-3-1.34-3-3H4.99V5H19z"}),"Inbox")},7555:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock")},3531:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen")},9611:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu")},3813:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 12H6v-2h12zm0-3H6V9h12zm0-3H6V6h12z"}),"Message")},9282:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M21 21.78 4.22 5 3 6.22l2.04 2.04C4.42 8.6 4 9.25 4 10v10c0 1.1.9 2 2 2h12c.23 0 .45-.05.66-.12L19.78 23zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H9.66L20 18.34V10c0-1.1-.9-2-2-2h-1V6c0-2.76-2.24-5-5-5-2.56 0-4.64 1.93-4.94 4.4L8.9 7.24z"}),"NoEncryption")},5310:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications")},8874:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M11.5 9C10.12 9 9 10.12 9 11.5s1.12 2.5 2.5 2.5 2.5-1.12 2.5-2.5S12.88 9 11.5 9M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-3.21 14.21-2.91-2.91c-.69.44-1.51.7-2.39.7C9.01 16 7 13.99 7 11.5S9.01 7 11.5 7 16 9.01 16 11.5c0 .88-.26 1.69-.7 2.39l2.91 2.9z"}),"Pageview")},400:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M2 6H0v5h.01L0 20c0 1.1.9 2 2 2h18v-2H2zm20-2h-8l-2-2H6c-1.1 0-1.99.9-1.99 2L4 16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M7 15l4.5-6 3.5 4.51 2.5-3.01L21 15z"}),"PermMedia")},974:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M12 2c-4.97 0-9 4.03-9 9 0 4.17 2.84 7.67 6.69 8.69L12 22l2.31-2.31C18.16 18.67 21 15.17 21 11c0-4.97-4.03-9-9-9m0 2c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3m0 14.3c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22"}),"PersonPin")},9790:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M13 3h-2v10h2zm4.83 2.17-1.42 1.42C17.99 7.86 19 9.81 19 12c0 3.87-3.13 7-7 7s-7-3.13-7-7c0-2.19 1.01-4.14 2.58-5.42L6.17 5.17C4.23 6.82 3 9.26 3 12c0 4.97 4.03 9 9 9s9-4.03 9-9c0-2.74-1.23-5.18-3.17-6.83"}),"PowerSettingsNew")},8625:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.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 11h7V4z"}),"Refresh")},728:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline")},7796:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.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.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"RemoveRedEye")},9990:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM12 17.3c-.72 0-1.3-.58-1.3-1.3 0-.72.58-1.3 1.3-1.3.72 0 1.3.58 1.3 1.3 0 .72-.58 1.3-1.3 1.3m1-4.3h-2V7h2z"}),"Report")},4329:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},6360:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.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 19zm-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 14"}),"Search")},2577:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},9877:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9zm-8 0c0 1.3.84 2.4 2 2.82V23h2v-4.18C6.16 18.4 7 17.3 7 16v-2H1zM21 6V2c0-.55-.45-1-1-1s-1 .45-1 1v4h-2v6h6V6zm-8-4c0-.55-.45-1-1-1s-1 .45-1 1v4H9v6h6V6h-2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2h-6z"}),"SettingsInputComponent")},6472:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"m12.87 15.07-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2zm-2.62 7 1.62-4.33L19.12 17z"}),"Translate")},7981:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"}),"ViewList")},8397:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M5.33 20H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h1.33c1.1 0 2 .9 2 2v12c0 1.1-.89 2-2 2M22 18V6c0-1.1-.9-2-2-2h-1.33c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2H20c1.11 0 2-.9 2-2m-7.33 0V6c0-1.1-.9-2-2-2h-1.33c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h1.33c1.1 0 2-.9 2-2"}),"ViewWeek")},7260:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.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.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},2819:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.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 7M2 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 3zM7.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.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},3102:(e,t,r)=>{"use strict";var n=r(4994);t.A=void 0;var o=n(r(39)),a=r(579);t.A=(0,o.default)((0,a.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning")},39:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=r(1715)},8279:(e,t,r)=>{"use strict";r.d(t,{A:()=>D});var n=r(8168),o=r(8587),a=r(6632),i=r(3216),s=r(7758),l=r(8812),c=r(8280);var u=r(7266);const d={black:"#000",white:"#fff"},p={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"},f={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"},m={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"},h={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"},v={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"},y={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"},g={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"},b=["mode","contrastThreshold","tonalOffset"],x={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:d.white,default:d.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}},w={text:{primary:d.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:d.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 A(e,t,r,n){const o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,a)))}function S(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,b),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[200],light:v[50],dark:v[400]}:{main:v[700],light:v[400],dark:v[800]}}(t),S=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:f[200],light:f[50],dark:f[400]}:{main:f[500],light:f[300],dark:f[700]}}(t),_=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(t),O=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),E=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[800],light:g[500],dark:g[900]}}(t),k=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[400],light:h[300],dark:h[700]}:{main:"#ed6c02",light:h[500],dark:h[900]}}(t);function j(e){return(0,u.eM)(e,w.text.primary)>=r?w.text.primary:x.text.primary}const C=e=>{let{color:t,name:r,mainShade:o=500,lightShade:i=300,darkShade:l=700}=e;if(t=(0,n.A)({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error((0,a.A)(11,r?" (".concat(r,")"):"",o));if("string"!==typeof t.main)throw new Error((0,a.A)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return A(t,"light",i,s),A(t,"dark",l,s),t.contrastText||(t.contrastText=j(t.main)),t},P={dark:w,light:x};return(0,i.A)((0,n.A)({common:(0,n.A)({},d),mode:t,primary:C({color:c,name:"primary"}),secondary:C({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:C({color:_,name:"error"}),warning:C({color:k,name:"warning"}),info:C({color:O,name:"info"}),success:C({color:E,name:"success"}),grey:p,contrastThreshold:r,getContrastText:j,augmentColor:C,tonalOffset:s},P[t]),l)}const _=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const O={textTransform:"uppercase"},E='"Roboto", "Helvetica", "Arial", sans-serif';function k(e,t){const r="function"===typeof t?t(e):t,{fontFamily:a=E,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:f,pxToRem:m}=r,h=(0,o.A)(r,_);const v=s/14,y=m||(e=>"".concat(e/p*v,"rem")),g=(e,t,r,o,i)=>{return(0,n.A)({fontFamily:a,fontWeight:e,fontSize:y(t),lineHeight:r},a===E?{letterSpacing:"".concat((s=o/t,Math.round(1e5*s)/1e5),"em")}:{},i,f);var s},b={h1:g(l,96,1.167,-1.5),h2:g(l,60,1.2,-.5),h3:g(c,48,1.167,0),h4:g(c,34,1.235,.25),h5:g(c,24,1.334,0),h6:g(u,20,1.6,.15),subtitle1:g(c,16,1.75,.15),subtitle2:g(u,14,1.57,.1),body1:g(c,16,1.5,.15),body2:g(c,14,1.43,.15),button:g(u,14,1.75,.4,O),caption:g(c,12,1.66,.4),overline:g(c,12,2.66,1,O),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)((0,n.A)({htmlFontSize:p,pxToRem:y,fontFamily:a,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},b),h,{clone:!1})}function j(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const C=["none",j(0,2,1,-1,0,1,1,0,0,1,3,0),j(0,3,1,-2,0,2,2,0,0,1,5,0),j(0,3,3,-2,0,3,4,0,0,1,8,0),j(0,2,4,-1,0,4,5,0,0,1,10,0),j(0,3,5,-1,0,5,8,0,0,1,14,0),j(0,3,5,-1,0,6,10,0,0,1,18,0),j(0,4,5,-2,0,7,10,1,0,2,16,1),j(0,5,5,-3,0,8,10,1,0,3,14,2),j(0,5,6,-3,0,9,12,1,0,3,16,2),j(0,6,6,-3,0,10,14,1,0,4,18,3),j(0,6,7,-4,0,11,15,1,0,4,20,3),j(0,7,8,-4,0,12,17,2,0,5,22,4),j(0,7,8,-4,0,13,19,2,0,5,24,4),j(0,7,9,-4,0,14,21,2,0,5,26,4),j(0,8,9,-5,0,15,22,2,0,6,28,5),j(0,8,10,-5,0,16,24,2,0,6,30,5),j(0,8,11,-5,0,17,26,2,0,6,32,5),j(0,9,11,-5,0,18,28,2,0,7,34,6),j(0,9,12,-6,0,19,29,2,0,7,36,6),j(0,10,13,-6,0,20,31,3,0,8,38,7),j(0,10,13,-6,0,21,33,3,0,8,40,7),j(0,10,14,-6,0,22,35,3,0,8,42,7),j(0,11,14,-7,0,23,36,3,0,9,44,8),j(0,11,15,-7,0,24,38,3,0,9,46,8)],P=["duration","easing","delay"],R={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)"},T={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function I(e){return"".concat(Math.round(e),"ms")}function M(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function N(e){const t=(0,n.A)({},R,e.easing),r=(0,n.A)({},T,e.duration);return(0,n.A)({getAutoHeightDuration:M,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{duration:a=r.standard,easing:i=t.easeInOut,delay:s=0}=n;(0,o.A)(n,P);return(Array.isArray(e)?e:[e]).map((e=>"".concat(e," ").concat("string"===typeof a?a:I(a)," ").concat(i," ").concat("string"===typeof s?s:I(s)))).join(",")}},e,{easing:t,duration:r})}const L={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},F=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function z(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{mixins:t={},palette:r={},transitions:u={},typography:d={}}=e,p=(0,o.A)(e,F);if(e.vars)throw new Error((0,a.A)(18));const f=S(r),m=(0,c.A)(e);let h=(0,i.A)(m,{mixins:(v=m.breakpoints,y=t,(0,n.A)({toolbar:{minHeight:56,[v.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[v.up("sm")]:{minHeight:64}}},y)),palette:f,shadows:C.slice(),typography:k(f,d),transitions:N(u),zIndex:(0,n.A)({},L)});var v,y;h=(0,i.A)(h,p);for(var g=arguments.length,b=new Array(g>1?g-1:0),x=1;x(0,i.A)(e,t)),h),h.unstable_sxConfig=(0,n.A)({},s.A,null==p?void 0:p.unstable_sxConfig),h.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},h}const D=z},5170:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=(0,r(8279).A)()},3375:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n="$$material"},1475:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(7123);const o=e=>(0,n.A)(e)&&"classes"!==e},7123:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},4535:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s});var n=r(8052),o=r(5170),a=r(3375),i=r(1475);const s=(0,n.Ay)({themeId:a.A,defaultTheme:o.A,rootShouldForwardProp:i.A})},2876:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(2900),o=r(5170),a=r(3375);function i(e){let{props:t,name:r}=e;return(0,n.A)({props:t,name:r,defaultTheme:o.A,themeId:a.A})}},6803:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(410).A},9662:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(8168),o=r(5043),a=r(8587),i=r(8387),s=r(8606),l=r(6803),c=r(2876),u=r(4535),d=r(7056),p=r(2400);function f(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,d.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var m=r(579);const h=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],v=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,l.A)(r.color))],t["fontSize".concat((0,l.A)(r.fontSize))]]}})((e=>{let{theme:t,ownerState:r}=e;var n,o,a,i,s,l,c,u,d,p,f,m,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:r.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=t.transitions)||null==(o=n.create)?void 0:o.call(n,"fill",{duration:null==(a=t.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:{inherit:"inherit",small:(null==(i=t.typography)||null==(s=i.pxToRem)?void 0:s.call(i,20))||"1.25rem",medium:(null==(l=t.typography)||null==(c=l.pxToRem)?void 0:c.call(l,24))||"1.5rem",large:(null==(u=t.typography)||null==(d=u.pxToRem)?void 0:d.call(u,35))||"2.1875rem"}[r.fontSize],color:null!=(p=null==(f=(t.vars||t).palette)||null==(f=f[r.color])?void 0:f.main)?p:{action:null==(m=(t.vars||t).palette)||null==(m=m.action)?void 0:m.active,disabled:null==(h=(t.vars||t).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[r.color]}})),y=o.forwardRef((function(e,t){const r=(0,c.A)({props:e,name:"MuiSvgIcon"}),{children:u,className:d,color:p="inherit",component:y="svg",fontSize:g="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:w,viewBox:A="0 0 24 24"}=r,S=(0,a.A)(r,h),_=o.isValidElement(u)&&"svg"===u.type,O=(0,n.A)({},r,{color:p,component:y,fontSize:g,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:A,hasSvgAsChild:_}),E={};x||(E.viewBox=A);const k=(e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&"color".concat((0,l.A)(t)),"fontSize".concat((0,l.A)(r))]};return(0,s.A)(o,f,n)})(O);return(0,m.jsxs)(v,(0,n.A)({as:y,className:(0,i.A)(k.root,d),focusable:"false",color:b,"aria-hidden":!w||void 0,role:w?"img":void 0,ref:t},E,S,_&&u.props,{ownerState:O,children:[_?u.props.children:u,w?(0,m.jsx)("title",{children:w}):null]}))}));y.muiName="SvgIcon";const g=y;function b(e,t){function r(r,o){return(0,m.jsx)(g,(0,n.A)({"data-testid":"".concat(t,"Icon"),ref:o},r,{children:e}))}return r.muiName=g.muiName,o.memo(o.forwardRef(r))}},950:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(4059).A},1715:(e,t,r)=>{"use strict";r.r(t),r.d(t,{capitalize:()=>o.A,createChainedFunction:()=>a,createSvgIcon:()=>i.A,debounce:()=>s.A,deprecatedPropType:()=>l,isMuiElement:()=>c.A,ownerDocument:()=>u.A,ownerWindow:()=>d.A,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>w,unstable_useEnhancedEffect:()=>m.A,unstable_useId:()=>h.A,unsupportedProp:()=>v,useControlled:()=>y.A,useEventCallback:()=>g.A,useForkRef:()=>b.A,useIsFocusVisible:()=>x.A});var n=r(5430),o=r(6803);const a=r(4708).A;var i=r(9662),s=r(950);const l=function(e,t){return()=>null};var c=r(154),u=r(2427),d=r(6078);r(8168);const p=function(e,t){return()=>null};const f=r(9184).A;var m=r(5013),h=r(5879);const v=function(e,t,r,n,o){return null};var y=r(4516),g=r(3319),b=r(5849),x=r(2191);const w={configure:e=>{n.A.configure(e)}}},154:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(5043);const o=function(e,t){var r,o;return n.isValidElement(e)&&-1!==t.indexOf(null!=(r=e.type.muiName)?r:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},2427:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(2144).A},6078:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(6288).A},4516:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(1944).A},5013:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(3844).A},3319:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(4626).A},5849:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(7042).A},5879:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=r(992).A},2191:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(5043),o=r(1140);let a=!0,i=!1;const s=new o.E,l={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 c(e){e.metaKey||e.altKey||e.ctrlKey||(a=!0)}function u(){a=!1}function d(){"hidden"===this.visibilityState&&i&&(a=!0)}function p(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(r){}return a||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!l[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}const f=function(){const e=n.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=n.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!p(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(i=!0,s.start(100,(()=>{i=!1})),t.current=!1,!0)},ref:e}}},869:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});r(5043);var n=r(909),o=r(579);function a(e){const{styles:t,defaultTheme:r={}}=e,a="function"===typeof t?e=>{return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(n.mL,{styles:a})}},3174:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>S.A,StyledEngineProvider:()=>A,ThemeContext:()=>l.T,css:()=>g.AH,default:()=>_,internal_processStyles:()=>O,keyframes:()=>g.i7});var n=r(8168),o=r(5043),a=r(918),i=/^((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)-.*))$/,s=(0,a.A)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=r(5025),c=r(1722),u=r(2830),d=r(9436),p=s,f=function(e){return"theme"!==e},m=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?p:f},h=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof n&&r&&(n=e.__emotion_forwardProp),n},v=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,d.s)((function(){return(0,c.sk)(t,r,n)})),null},y=function e(t,r){var a,i,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==r&&(a=r.label,i=r.target);var p=h(t,r,s),f=p||m(d),y=!f("as");return function(){var g=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==g[0]||void 0===g[0].raw)b.push.apply(b,g);else{0,b.push(g[0][0]);for(var x=g.length,w=1;w{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},7266:(e,t,r)=>{"use strict";var n=r(4994);t.X4=f,t.e$=m,t.tL=v,t.eM=function(e,t){const r=p(e),n=p(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=h;var o=n(r(7245)),a=n(r(5383));function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return(0,a.default)(e,t,r)}function s(e){e=e.slice(1);const t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?"rgb".concat(4===r.length?"a":"","(").concat(r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", "),")"):""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?"".concat(e,"%"):e)).join(" ")};function u(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),n=-1!==t.indexOf("color")?"".concat(r," ").concat(n.join(" ")):"".concat(n.join(", ")),"".concat(t,"(").concat(n,")")}function d(e){e=l(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+r/30)%12;return o-a*Math.max(Math.min(t-3,9-t,1),-1)};let s="rgb";const c=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function p(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){return e=l(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,u(e)}function m(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return u(e)}function h(e,t){if(e=l(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return u(e)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return p(e)>.5?m(e,t):h(e,t)}},8052:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{themeId:t,defaultTheme:r=h,rootShouldForwardProp:n=m,slotShouldForwardProp:l=m}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,function(e){let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:f,skipVariantsResolver:h,skipSx:x,overridesResolver:w=g(v(f))}=c,A=(0,a.default)(c,p),S=void 0!==h?h:f&&"Root"!==f&&"root"!==f||!1,_=x||!1;let O=m;"Root"===f||"root"===f?O=n:f?O=l:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(O=void 0);const E=(0,i.default)(e,(0,o.default)({shouldForwardProp:O,label:undefined},A)),k=e=>"function"===typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>b(e,(0,o.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,j=function(n){let a=k(n);for(var i=arguments.length,s=new Array(i>1?i-1:0),l=1;l{const n=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const a=n.components[d].styleOverrides,i={};return Object.entries(a).forEach((t=>{let[r,a]=t;i[r]=b(a,(0,o.default)({},e,{theme:n}))})),w(e,i)})),d&&!S&&c.push((e=>{var n;const a=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return b({variants:null==a||null==(n=a.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:a}))})),_||c.push(u);const p=c.length-s.length;if(Array.isArray(n)&&p>0){const e=new Array(p).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const f=E(a,...c);return e.muiName&&(f.muiName=e.muiName),f};return E.withConfig&&(j.withConfig=E.withConfig),j}};var o=n(r(4634)),a=n(r(4893)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(3174)),s=r(4534),l=(n(r(578)),n(r(2046)),n(r(4989))),c=n(r(3234));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function m(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=(0,l.default)(),v=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y(e){let{defaultTheme:t,theme:r,themeId:n}=e;return o=r,0===Object.keys(o).length?t:r[n]||r;var o}function g(e){return e?(t,r)=>r[e]:null}function b(e,t){let{ownerState:r}=t,n=(0,a.default)(t,u);const i="function"===typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(i))return i.flatMap((e=>b(e,(0,o.default)({ownerState:r},n))));if(i&&"object"===typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,a.default)(i,d);return e.forEach((e=>{let a=!0;"function"===typeof e.props?a=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(a=!1)})),a&&(Array.isArray(t)||(t=[t]),t.push("function"===typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))})),t}return i}},9751:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>i,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var n=r(3216);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>"@media (min-width:".concat(o[e],"px)")};function i(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||a;return t.reduce(((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"===typeof t){const e=n.breakpoints||a;return Object.keys(t).reduce(((n,a)=>{if(-1!==Object.keys(e.values||o).indexOf(a)){n[e.up(a)]=r(t[a],a)}else{const e=a;n[e]=t[e]}return n}),{})}return r(t)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function c(e){const t=s(e);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a(0,n.A)(e,t)),{});return l(Object.keys(t),i)}function u(e){let{values:t,breakpoints:r,base:n}=e;const o=n||function(e,t){if("object"!==typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n{null!=e[t]&&(r[t]=!0)})),r}(t,r),a=Object.keys(o);if(0===a.length)return t;let i;return a.reduce(((e,r,n)=>(Array.isArray(t)?(e[r]=null!=t[n]?t[n]:t[i],i=n):"object"===typeof t?(e[r]=null!=t[r]?t[r]:t[i],i=r):e[r]=t,e)),{})}},9703:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"===typeof r.getColorSchemeSelector){return{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},4853:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(8587),o=r(8168);const a=["values","unit","step"],i=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.A)(e,a),c=i(t),u=Object.keys(c);function d(e){const n="number"===typeof t[e]?t[e]:e;return"@media (min-width:".concat(n).concat(r,")")}function p(e){const n="number"===typeof t[e]?t[e]:e;return"@media (max-width:".concat(n-s/100).concat(r,")")}function f(e,n){const o=u.indexOf(n);return"@media (min-width:".concat("number"===typeof t[e]?t[e]:e).concat(r,") and ")+"(max-width:".concat((-1!==o&&"number"===typeof t[u[o]]?t[u[o]]:n)-s/100).concat(r,")")}return(0,o.A)({keys:u,values:c,up:d,down:p,between:f,only:function(e){return u.indexOf(e)+1{"use strict";r.d(t,{A:()=>f});var n=r(8168),o=r(8587),a=r(3216),i=r(4853);const s={borderRadius:4};var l=r(8604);var c=r(8812),u=r(7758),d=r(9703);const p=["breakpoints","palette","spacing","shape"];const f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{breakpoints:t={},palette:r={},spacing:f,shape:m={}}=e,h=(0,o.A)(e,p),v=(0,i.A)(t),y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;const t=(0,l.LX)({spacing:e}),r=function(){for(var e=arguments.length,r=new Array(e),n=0;n{const r=t(e);return"number"===typeof r?"".concat(r,"px"):r})).join(" ")};return r.mui=!0,r}(f);let g=(0,a.A)({breakpoints:v,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},r),spacing:y,shape:(0,n.A)({},s,m)},h);g.applyStyles=d.A;for(var b=arguments.length,x=new Array(b>1?b-1:0),w=1;w(0,a.A)(e,t)),g),g.unstable_sxConfig=(0,n.A)({},u.A,null==h?void 0:h.unstable_sxConfig),g.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},g}},4989:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>a.A});var n=r(8280),o=r(4853),a=r(9703)},3815:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(3216);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},8604:(e,t,r)=>{"use strict";r.d(t,{LX:()=>m,MA:()=>f,_W:()=>h,Lc:()=>g,Ms:()=>b});var n=r(9751),o=r(7162),a=r(3815);const i={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=i[t],o=s[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function f(e,t,r,n){var a;const i=null!=(a=(0,o.Yn)(e,t,!1))?a:r;return"number"===typeof i?e=>"string"===typeof e?e:i*e:Array.isArray(i)?e=>"string"===typeof e?e:i[e]:"function"===typeof i?i:()=>{}}function m(e){return f(e,"spacing",8)}function h(e,t){if("string"===typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"===typeof r?-r:"-".concat(r)}function v(e,t,r,o){if(-1===t.indexOf(r))return null;const a=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=h(t,r),e)),{})}(c(r),o),i=e[r];return(0,n.NI)(e,i,a)}function y(e,t){const r=m(e.theme);return Object.keys(e).map((n=>v(e,t,n,r))).reduce(a.A,{})}function g(e){return y(e,u)}function b(e){return y(e,d)}function x(e){return y(e,p)}g.propTypes={},g.filterProps=u,b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=p},7162:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>i,Yn:()=>a});var n=r(410),o=r(9751);function a(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&r){const r="vars.".concat(t).split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function i(e,t,r){let n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;return n="function"===typeof e?e(r):Array.isArray(e)?e[r]||o:a(e,r)||o,t&&(n=t(n,o,e)),n}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=a(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=i(u,l,e);return e===o&&"string"===typeof e&&(o=i(u,l,"".concat(t).concat("default"===e?"":(0,n.A)(e)),e)),!1===r?o:{[r]:o}}))};return c.propTypes={},c.filterProps=[t],c}},7758:(e,t,r)=>{"use strict";r.d(t,{A:()=>M});var n=r(8604),o=r(7162),a=r(3815);const i=function(){for(var e=arguments.length,t=new Array(e),r=0;r(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),o=e=>Object.keys(e).reduce(((t,r)=>n[r]?(0,a.A)(t,n[r](e)):t),{});return o.propTypes={},o.filterProps=t.reduce(((e,t)=>e.concat(t.filterProps)),[]),o};var s=r(9751);function l(e){return"number"!==typeof e?e:"".concat(e,"px solid")}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),p=c("borderRight",l),f=c("borderBottom",l),m=c("borderLeft",l),h=c("borderColor"),v=c("borderTopColor"),y=c("borderRightColor"),g=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),A=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};A.propTypes={},A.filterProps=["borderRadius"];i(u,d,p,f,m,h,v,y,g,b,A,x,w);const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};S.propTypes={},S.filterProps=["gap"];const _=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};_.propTypes={},_.filterProps=["columnGap"];const O=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};O.propTypes={},O.filterProps=["rowGap"];i(S,_,O,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function E(e,t){return"grey"===t?t:e}i((0,o.Ay)({prop:"color",themeKey:"palette",transform:E}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:E}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:E}));function k(e){return e<=1&&0!==e?"".concat(100*e,"%"):e}const j=(0,o.Ay)({prop:"width",transform:k}),C=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:k(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};C.filterProps=["maxWidth"];const P=(0,o.Ay)({prop:"minWidth",transform:k}),R=(0,o.Ay)({prop:"height",transform:k}),T=(0,o.Ay)({prop:"maxHeight",transform:k}),I=(0,o.Ay)({prop:"minHeight",transform:k}),M=((0,o.Ay)({prop:"size",cssProperty:"width",transform:k}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:k}),i(j,C,P,R,T,I,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:A},color:{themeKey:"palette",transform:E},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:E},backgroundColor:{themeKey:"palette",transform:E},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:S},rowGap:{style:O},columnGap:{style:_},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:k},maxWidth:{style:C},minWidth:{transform:k},height:{transform:k},maxHeight:{transform:k},minHeight:{transform:k},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},8698:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),o=r(8587),a=r(3216),i=r(7758);const s=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:i.A;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function c(e){const{sx:t}=e,r=(0,o.A)(e,s),{systemProps:i,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[i,...t]:"function"===typeof t?function(){const e=t(...arguments);return(0,a.Q)(e)?(0,n.A)({},i,e):i}:(0,n.A)({},i,t),(0,n.A)({},c,{sx:u})}},3234:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>a.A});var n=r(8812),o=r(8698),a=r(7758)},8812:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(410),o=r(3815),a=r(7162),i=r(9751),s=r(7758);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,a.Yn)(r,u)||{};if(p)return p(s);return(0,i.NI)(s,t,(t=>{let r=(0,a.BO)(f,d,t);return t===r&&"string"===typeof t&&(r=(0,a.BO)(f,d,"".concat(e).concat("default"===t?"":(0,n.A)(t)),t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:a,theme:l={}}=r||{};if(!a)return null;const c=null!=(n=l.unstable_sxConfig)?n:s.A;function u(r){let n=r;if("function"===typeof r)n=r(l);else if("object"!==typeof r)return r;if(!n)return null;const a=(0,i.EU)(l.breakpoints),s=Object.keys(a);let u=a;return Object.keys(n).forEach((r=>{const a=(s=n[r],d=l,"function"===typeof s?s(d):s);var s,d;if(null!==a&&void 0!==a)if("object"===typeof a)if(c[r])u=(0,o.A)(u,e(r,a,l,c));else{const e=(0,i.NI)({theme:l},a,(e=>({[r]:e})));!function(){for(var e=arguments.length,t=new Array(e),r=0;re.concat(Object.keys(t))),[]),o=new Set(n);return t.every((e=>o.size===Object.keys(e).length))}(e,a)?u=(0,o.A)(u,e):u[r]=t({sx:a,theme:l})}else u=(0,o.A)(u,e(r,a,l,c))})),(0,i.vf)(s,u)}return Array.isArray(a)?a.map(u):u(a)}}const c=l();c.filterProps=["sx"];const u=c},5527:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8280),o=r(7082);const a=(0,n.A)();const i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return(0,o.A)(e)}},4775:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2018);function o(e){const{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,o):o}},2900:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(4775),o=r(5527);function a(e){let{props:t,name:r,defaultTheme:a,themeId:i}=e,s=(0,o.A)(a);i&&(s=s[i]||s);return(0,n.A)({theme:s,name:r,props:t})}},7082:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(5043),o=r(5025);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=n.useContext(o.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},2374:(e,t,r)=>{"use strict";t.A=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(5043)),o=r(3174);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(a=function(e){return e?r:t})(e)}t.A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const t=n.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},5430:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});const n=e=>e,o=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})()},410:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6632);function o(e){if("string"!==typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},578:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(410)},7040:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MIN_SAFE_INTEGER,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,r))}},5383:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(7040)},8606:(e,t,r)=>{"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}r.d(t,{A:()=>n})},4708:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=new Array(e),r=0;rnull==t?e:function(){for(var r=arguments.length,n=new Array(r),o=0;o{}))}r.d(t,{A:()=>n})},4059:(e,t,r)=>{"use strict";function n(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,o=new Array(n),a=0;a{e.apply(this,o)}),r)}return n.clear=()=>{clearTimeout(t)},n}r.d(t,{A:()=>n})},3216:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,Q:()=>o});var n=r(8168);function o(e){if("object"!==typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function a(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=a(e[r])})),t}function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0};const s=r.clone?(0,n.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(o(t[n])&&n in e&&o(e[n])?s[n]=i(e[n],t[n],r):r.clone?s[n]=o(t[n])?a(t[n]):t[n]:s[n]=t[n])})),s}},4534:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(3216)},6632:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;rn})},7245:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(6632)},2400:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a,li:()=>o});var n=r(5430);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const a=o[t];return a?"".concat(r,"-").concat(a):"".concat(n.A.generate(e),"-").concat(t)}},7056:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2400);function o(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui";const o={};return t.forEach((t=>{o[t]=(0,n.Ay)(e,t,r)})),o}},2046:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>a});var n=r(2086);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(e){const t="".concat(e).match(o);return t&&t[1]||""}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||a(e)||t}function s(e,t,r){const n=i(t);return e.displayName||(""!==n?"".concat(r,"(").concat(n,")"):r)}function l(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return i(e,"Component");if("object"===typeof e)switch(e.$$typeof){case n.ForwardRef:return s(e,e.render,"ForwardRef");case n.Memo:return s(e,e.type,"memo");default:return}}}},2144:(e,t,r)=>{"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{A:()=>n})},6288:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2144);function o(e){return(0,n.A)(e).defaultView||window}},2018:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8168);function o(e,t){const r=(0,n.A)({},t);return Object.keys(e).forEach((a=>{if(a.toString().match(/^(components|slots)$/))r[a]=(0,n.A)({},e[a],r[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){const i=e[a]||{},s=t[a];r[a]={},s&&Object.keys(s)?i&&Object.keys(i)?(r[a]=(0,n.A)({},s),Object.keys(i).forEach((e=>{r[a][e]=o(i[e],s[e])}))):r[a]=s:r[a]=i}else void 0===r[a]&&(r[a]=e[a])})),r}},9184:(e,t,r)=>{"use strict";function n(e,t){"function"===typeof e?e(t):e&&(e.current=t)}r.d(t,{A:()=>n})},1944:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(5043);function o(e){let{controlled:t,default:r,name:o,state:a="value"}=e;const{current:i}=n.useRef(void 0!==t),[s,l]=n.useState(r);return[i?t:s,n.useCallback((e=>{i||l(e)}),[])]}},3844:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(5043);const o="undefined"!==typeof window?n.useLayoutEffect:n.useEffect},4626:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(5043),o=r(3844);const a=function(e){const t=n.useRef(e);return(0,o.A)((()=>{t.current=e})),n.useRef((function(){return(0,t.current)(...arguments)})).current}},7042:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(5043),o=r(9184);function a(){for(var e=arguments.length,t=new Array(e),r=0;rt.every((e=>null==e))?null:e=>{t.forEach((t=>{(0,o.A)(t,e)}))}),t)}},992:(e,t,r)=>{"use strict";var n;r.d(t,{A:()=>s});var o=r(5043);let a=0;const i=(n||(n=r.t(o,2)))["useId".toString()];function s(e){if(void 0!==i){const t=i();return null!=e?e:t}return function(e){const[t,r]=o.useState(e),n=e||t;return o.useEffect((()=>{null==t&&(a+=1,r("mui-".concat(a)))}),[t]),n}(e)}},1140:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,A:()=>s});var n=r(5043);const o={};const a=[];class i{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new i}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const r=n.useRef(o);return r.current===o&&(r.current=e(t)),r}(i.create).current;var t;return t=e.disposeEffect,n.useEffect(t,a),e}},6723:(e,t,r)=>{"use strict";var n=r(2028),o=r(4902),a=r(2774),i=r(6488),s=r(5041),l=r(9446),c=r(8357),u=r(6604),d=r(3130),p=r(5766),f=n("String.prototype.split"),m=Object("a"),h="a"!==m[0]||!(0 in m);e.exports=function(e){var t,r=u(this),n=h&&p(this)?f(this,""):r,m=c(n);if(!l(e))throw new o("Array.prototype.forEach callback must be a function");arguments.length>1&&(t=arguments[1]);for(var v=0;v{"use strict";var n=r(1779),o=r(1712),a=r(2028),i=r(9076),s=r(6723),l=r(8762),c=l(),u=r(1544),d=a("Array.prototype.slice"),p=o.apply(c),f=function(e,t){return i(e),p(e,d(arguments,1))};n(f,{getPolyfill:l,implementation:s,shim:u}),e.exports=f},8762:(e,t,r)=>{"use strict";var n=r(4428),o=r(6723);e.exports=function(){var e=Array.prototype.forEach;return n(e)?e:o}},1544:(e,t,r)=>{"use strict";var n=r(1779),o=r(8762);e.exports=function(){var e=o();return n(Array.prototype,{forEach:e},{forEach:function(){return Array.prototype.forEach!==e}}),e}},2028:(e,t,r)=>{"use strict";var n=r(2),o=r(1712),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&a(e,".prototype.")>-1?o(r):r}},1712:(e,t,r)=>{"use strict";var n=r(3864),o=r(2),a=r(5438),i=r(4902),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(l,s),u=r(2090),d=o("%Math.max%");e.exports=function(e){if("function"!==typeof e)throw new i("a function is required");var t=c(n,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(n,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},5707:e=>{"use strict";var t="%[a-f0-9]{2}",r=new RegExp("("+t+")|([^%]+?)","gi"),n=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(a){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function a(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(r)||[],n=1;n{"use strict";var n=r(2090),o=r(2557),a=r(4902),i=r(5558);e.exports=function(e,t,r){if(!e||"object"!==typeof e&&"function"!==typeof e)throw new a("`obj` must be an object or a function`");if("string"!==typeof t&&"symbol"!==typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!==typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!==typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!==typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!==typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!i&&i(e,t);if(n)n(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},1779:(e,t,r)=>{"use strict";var n=r(2678),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=r(4992),l=r(2101)(),c=function(e,t,r,n){if(t in e)if(!0===n){if(e[t]===r)return}else if("function"!==typeof(o=n)||"[object Function]"!==a.call(o)||!n())return;var o;l?s(e,t,r,!0):s(e,t,r)},u=function(e,t){var r=arguments.length>2?arguments[2]:{},a=n(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s{e.exports=function(e){var t=!0,r=!0,n=!1;if("function"===typeof e){try{e.call("f",(function(e,r,n){"object"!==typeof n&&(t=!1)})),e.call([null],(function(){"use strict";r="string"===typeof this}),"x")}catch(o){n=!0}return!n&&t&&r}return!1}},2090:(e,t,r)=>{"use strict";var n=r(2)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(o){n=!1}e.exports=n},9820:e=>{"use strict";e.exports=EvalError},9304:e=>{"use strict";e.exports=Error},1725:e=>{"use strict";e.exports=RangeError},5077:e=>{"use strict";e.exports=ReferenceError},2557:e=>{"use strict";e.exports=SyntaxError},4902:e=>{"use strict";e.exports=TypeError},3094:e=>{"use strict";e.exports=URIError},9536:(e,t,r)=>{"use strict";var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator,o=r(8561),a=r(8799),i=r(3913),s=r(4107);e.exports=function(e){if(o(e))return e;var t,r="default";if(arguments.length>1&&(arguments[1]===String?r="string":arguments[1]===Number&&(r="number")),n&&(Symbol.toPrimitive?t=function(e,t){var r=e[t];if(null!==r&&"undefined"!==typeof r){if(!a(r))throw new TypeError(r+" returned for property "+t+" of object "+e+" is not a function");return r}}(e,Symbol.toPrimitive):s(e)&&(t=Symbol.prototype.valueOf)),"undefined"!==typeof t){var l=t.call(e,r);if(o(l))return l;throw new TypeError("unable to convert exotic object to primitive")}return"default"===r&&(i(e)||s(e))&&(r="string"),function(e,t){if("undefined"===typeof e||null===e)throw new TypeError("Cannot call method on "+e);if("string"!==typeof t||"number"!==t&&"string"!==t)throw new TypeError('hint must be "string" or "number"');var r,n,i,s="string"===t?["toString","valueOf"]:["valueOf","toString"];for(i=0;i{"use strict";e.exports=function(e){return null===e||"function"!==typeof e&&"object"!==typeof e}},7283:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,i){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new o(n,a||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0===--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,a=n.length,i=new Array(a);o{"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),o=Array.isArray(t),a=0;a{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(7724);e.exports=Function.prototype.bind||n},2:(e,t,r)=>{"use strict";var n,o=r(9304),a=r(9820),i=r(1725),s=r(5077),l=r(2557),c=r(4902),u=r(3094),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(t){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(N){f=null}var m=function(){throw new c},h=f?function(){try{return m}catch(e){try{return f(arguments,"callee").get}catch(t){return m}}}():m,v=r(2108)(),y=r(951)(),g=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},x="undefined"!==typeof Uint8Array&&g?g(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":v&&g?g([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"===typeof Atomics?n:Atomics,"%BigInt%":"undefined"===typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"===typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"===typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&g?g(g([][Symbol.iterator]())):n,"%JSON%":"object"===typeof JSON?JSON:n,"%Map%":"undefined"===typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&v&&g?g((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?n:Promise,"%Proxy%":"undefined"===typeof Proxy?n:Proxy,"%RangeError%":i,"%ReferenceError%":s,"%Reflect%":"undefined"===typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&v&&g?g((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&g?g(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":h,"%TypedArray%":x,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?n:WeakSet};if(g)try{null.error}catch(N){var A=g(g(N));w["%Error.prototype%"]=A}var S=function e(t){var r;if("%AsyncFunction%"===t)r=p("async function () {}");else if("%GeneratorFunction%"===t)r=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=p("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&g&&(r=g(o.prototype))}return w[t]=r,r},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},O=r(3864),E=r(4384),k=O.call(Function.call,Array.prototype.concat),j=O.call(Function.apply,Array.prototype.splice),C=O.call(Function.call,String.prototype.replace),P=O.call(Function.call,String.prototype.slice),R=O.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,M=function(e,t){var r,n=e;if(E(_,n)&&(n="%"+(r=_[n])[0]+"%"),E(w,n)){var o=w[n];if(o===b&&(o=S(n)),"undefined"===typeof o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===R(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return C(e,T,(function(e,t,r,o){n[n.length]=r?C(o,I,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=M("%"+n+"%",t),a=o.name,i=o.value,s=!1,u=o.alias;u&&(n=u[0],j(r,k([0,1],u)));for(var d=1,p=!0;d=r.length){var y=f(i,m);i=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:i[m]}else p=E(i,m),i=i[m];p&&!s&&(w[a]=i)}}return i}},5558:(e,t,r)=>{"use strict";var n=r(2)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(o){n=null}e.exports=n},2101:(e,t,r)=>{"use strict";var n=r(2090),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},951:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},2108:(e,t,r)=>{"use strict";var n="undefined"!==typeof Symbol&&Symbol,o=r(9534);e.exports=function(){return"function"===typeof n&&("function"===typeof Symbol&&("symbol"===typeof n("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},9534:e=>{"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},4635:(e,t,r)=>{"use strict";var n=r(9534);e.exports=function(){return n()&&!!Symbol.toStringTag}},7993:e=>{"use strict";var t={}.hasOwnProperty,r=Function.prototype.call;e.exports=r.bind?r.bind(t):function(e,n){return r.call(t,e,n)}},4384:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=r(3864);e.exports=a.call(n,o)},219:(e,t,r)=>{"use strict";var n=r(3763),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(m){var o=f(r);o&&o!==m&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),h=l(r),v=0;v{"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case h:case l:return e;default:return t}}case o:return t}}}function A(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return A(e)||w(e)===u},t.isConcurrentMode=A,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===h},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===s||e===i||e===f||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===g||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},3763:(e,t,r)=>{"use strict";e.exports=r(4983)},9700:function(e,t){var r,n,o;n=[],void 0===(o="function"===typeof(r=function(){var e=["accommodation","adulthood","advertising","advice","aggression","aid","air","aircraft","alcohol","anger","applause","arithmetic","assistance","athletics","bacon","baggage","beef","biology","blood","botany","bread","butter","carbon","cardboard","cash","chalk","chaos","chess","crossroads","countryside","dancing","deer","dignity","dirt","dust","economics","education","electricity","engineering","enjoyment","envy","equipment","ethics","evidence","evolution","fame","fiction","flour","flu","food","fuel","fun","furniture","gallows","garbage","garlic","genetics","gold","golf","gossip","grammar","gratitude","grief","guilt","gymnastics","happiness","hardware","harm","hate","hatred","health","heat","help","homework","honesty","honey","hospitality","housework","humour","hunger","hydrogen","ice","importance","inflation","information","innocence","iron","irony","jam","jewelry","judo","karate","knowledge","lack","laughter","lava","leather","leisure","lightning","linguine","linguini","linguistics","literature","litter","livestock","logic","loneliness","luck","luggage","macaroni","machinery","magic","management","mankind","marble","mathematics","mayonnaise","measles","methane","milk","minus","money","mud","music","mumps","nature","news","nitrogen","nonsense","nurture","nutrition","obedience","obesity","oxygen","pasta","patience","physics","poetry","pollution","poverty","pride","psychology","publicity","punctuation","quartz","racism","relaxation","reliability","research","respect","revenge","rice","rubbish","rum","safety","scenery","seafood","seaside","series","shame","sheep","shopping","sleep","smoke","smoking","snow","soap","software","soil","spaghetti","species","steam","stuff","stupidity","sunshine","symmetry","tennis","thirst","thunder","timber","traffic","transportation","trust","underwear","unemployment","unity","validity","veal","vegetation","vegetarianism","vengeance","violence","vitality","warmth","wealth","weather","welfare","wheat","wildlife","wisdom","yoga","zinc","zoology"],t={plural:{men:new RegExp("^(m|wom)en$","gi"),people:new RegExp("(pe)ople$","gi"),children:new RegExp("(child)ren$","gi"),tia:new RegExp("([ti])a$","gi"),analyses:new RegExp("((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)ses$","gi"),hives:new RegExp("(hi|ti)ves$","gi"),curves:new RegExp("(curve)s$","gi"),lrves:new RegExp("([lr])ves$","gi"),aves:new RegExp("([a])ves$","gi"),foves:new RegExp("([^fo])ves$","gi"),movies:new RegExp("(m)ovies$","gi"),aeiouyies:new RegExp("([^aeiouy]|qu)ies$","gi"),series:new RegExp("(s)eries$","gi"),xes:new RegExp("(x|ch|ss|sh)es$","gi"),mice:new RegExp("([m|l])ice$","gi"),buses:new RegExp("(bus)es$","gi"),oes:new RegExp("(o)es$","gi"),shoes:new RegExp("(shoe)s$","gi"),crises:new RegExp("(cris|ax|test)es$","gi"),octopi:new RegExp("(octop|vir)i$","gi"),aliases:new RegExp("(alias|canvas|status|campus)es$","gi"),summonses:new RegExp("^(summons)es$","gi"),oxen:new RegExp("^(ox)en","gi"),matrices:new RegExp("(matr)ices$","gi"),vertices:new RegExp("(vert|ind)ices$","gi"),feet:new RegExp("^feet$","gi"),teeth:new RegExp("^teeth$","gi"),geese:new RegExp("^geese$","gi"),quizzes:new RegExp("(quiz)zes$","gi"),whereases:new RegExp("^(whereas)es$","gi"),criteria:new RegExp("^(criteri)a$","gi"),genera:new RegExp("^genera$","gi"),ss:new RegExp("ss$","gi"),s:new RegExp("s$","gi")},singular:{man:new RegExp("^(m|wom)an$","gi"),person:new RegExp("(pe)rson$","gi"),child:new RegExp("(child)$","gi"),ox:new RegExp("^(ox)$","gi"),axis:new RegExp("(ax|test)is$","gi"),octopus:new RegExp("(octop|vir)us$","gi"),alias:new RegExp("(alias|status|canvas|campus)$","gi"),summons:new RegExp("^(summons)$","gi"),bus:new RegExp("(bu)s$","gi"),buffalo:new RegExp("(buffal|tomat|potat)o$","gi"),tium:new RegExp("([ti])um$","gi"),sis:new RegExp("sis$","gi"),ffe:new RegExp("(?:([^f])fe|([lr])f)$","gi"),hive:new RegExp("(hi|ti)ve$","gi"),aeiouyy:new RegExp("([^aeiouy]|qu)y$","gi"),x:new RegExp("(x|ch|ss|sh)$","gi"),matrix:new RegExp("(matr)ix$","gi"),vertex:new RegExp("(vert|ind)ex$","gi"),mouse:new RegExp("([m|l])ouse$","gi"),foot:new RegExp("^foot$","gi"),tooth:new RegExp("^tooth$","gi"),goose:new RegExp("^goose$","gi"),quiz:new RegExp("(quiz)$","gi"),whereas:new RegExp("^(whereas)$","gi"),criterion:new RegExp("^(criteri)on$","gi"),genus:new RegExp("^genus$","gi"),s:new RegExp("s$","gi"),common:new RegExp("$","gi")}},r=[[t.plural.men],[t.plural.people],[t.plural.children],[t.plural.tia],[t.plural.analyses],[t.plural.hives],[t.plural.curves],[t.plural.lrves],[t.plural.foves],[t.plural.aeiouyies],[t.plural.series],[t.plural.movies],[t.plural.xes],[t.plural.mice],[t.plural.buses],[t.plural.oes],[t.plural.shoes],[t.plural.crises],[t.plural.octopi],[t.plural.aliases],[t.plural.summonses],[t.plural.oxen],[t.plural.matrices],[t.plural.feet],[t.plural.teeth],[t.plural.geese],[t.plural.quizzes],[t.plural.whereases],[t.plural.criteria],[t.plural.genera],[t.singular.man,"$1en"],[t.singular.person,"$1ople"],[t.singular.child,"$1ren"],[t.singular.ox,"$1en"],[t.singular.axis,"$1es"],[t.singular.octopus,"$1i"],[t.singular.alias,"$1es"],[t.singular.summons,"$1es"],[t.singular.bus,"$1ses"],[t.singular.buffalo,"$1oes"],[t.singular.tium,"$1a"],[t.singular.sis,"ses"],[t.singular.ffe,"$1$2ves"],[t.singular.hive,"$1ves"],[t.singular.aeiouyy,"$1ies"],[t.singular.matrix,"$1ices"],[t.singular.vertex,"$1ices"],[t.singular.x,"$1es"],[t.singular.mouse,"$1ice"],[t.singular.foot,"feet"],[t.singular.tooth,"teeth"],[t.singular.goose,"geese"],[t.singular.quiz,"$1zes"],[t.singular.whereas,"$1es"],[t.singular.criterion,"$1a"],[t.singular.genus,"genera"],[t.singular.s,"s"],[t.singular.common,"s"]],n=[[t.singular.man],[t.singular.person],[t.singular.child],[t.singular.ox],[t.singular.axis],[t.singular.octopus],[t.singular.alias],[t.singular.summons],[t.singular.bus],[t.singular.buffalo],[t.singular.tium],[t.singular.sis],[t.singular.ffe],[t.singular.hive],[t.singular.aeiouyy],[t.singular.x],[t.singular.matrix],[t.singular.mouse],[t.singular.foot],[t.singular.tooth],[t.singular.goose],[t.singular.quiz],[t.singular.whereas],[t.singular.criterion],[t.singular.genus],[t.plural.men,"$1an"],[t.plural.people,"$1rson"],[t.plural.children,"$1"],[t.plural.genera,"genus"],[t.plural.criteria,"$1on"],[t.plural.tia,"$1um"],[t.plural.analyses,"$1$2sis"],[t.plural.hives,"$1ve"],[t.plural.curves,"$1"],[t.plural.lrves,"$1f"],[t.plural.aves,"$1ve"],[t.plural.foves,"$1fe"],[t.plural.movies,"$1ovie"],[t.plural.aeiouyies,"$1y"],[t.plural.series,"$1eries"],[t.plural.xes,"$1"],[t.plural.mice,"$1ouse"],[t.plural.buses,"$1"],[t.plural.oes,"$1"],[t.plural.shoes,"$1"],[t.plural.crises,"$1is"],[t.plural.octopi,"$1us"],[t.plural.aliases,"$1"],[t.plural.summonses,"$1"],[t.plural.oxen,"$1"],[t.plural.matrices,"$1ix"],[t.plural.vertices,"$1ex"],[t.plural.feet,"foot"],[t.plural.teeth,"tooth"],[t.plural.geese,"goose"],[t.plural.quizzes,"$1"],[t.plural.whereases,"$1"],[t.plural.ss,"ss"],[t.plural.s,""]],o=["and","or","nor","a","an","the","so","but","to","of","at","by","from","into","on","onto","off","out","in","over","with","for"],a=new RegExp("(_ids|_id)$","g"),i=new RegExp("_","g"),s=new RegExp("[ _]","g"),l=new RegExp("([A-Z])","g"),c=new RegExp("^_"),u={_apply_rules:function(e,t,r,n){if(n)e=n;else if(!(u.indexOf(r,e.toLowerCase())>-1))for(var o=0,a=t.length;o1?u._apply_rules(t,r,e,i):u._apply_rules(t,n,e,a)},camelize:function(e,t){for(var r,n,o,a,i=e.split("/"),s=0,l=i.length;s{"use strict";var t,r,n=Function.prototype.toString,o="object"===typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"===typeof o&&"function"===typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},o((function(){throw 42}),null,t)}catch(f){f!==r&&(o=null)}else o=null;var a=/^\s*class\b/,i=function(e){try{var t=n.call(e);return a.test(t)}catch(r){return!1}},s=function(e){try{return!i(e)&&(n.call(e),!0)}catch(t){return!1}},l=Object.prototype.toString,c="function"===typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),d=function(){return!1};if("object"===typeof document){var p=document.all;l.call(p)===l.call(document.all)&&(d=function(e){if((u||!e)&&("undefined"===typeof e||"object"===typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(r){}return!1})}e.exports=o?function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;try{o(e,null,t)}catch(n){if(n!==r)return!1}return!i(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!==typeof e&&"object"!==typeof e)return!1;if(c)return s(e);if(i(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},3913:(e,t,r)=>{"use strict";var n=Date.prototype.getDay,o=Object.prototype.toString,a=r(4635)();e.exports=function(e){return"object"===typeof e&&null!==e&&(a?function(e){try{return n.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},3290:(e,t,r)=>{"use strict";var n,o,a,i,s=r(2028),l=r(4635)();if(l){n=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),a={};var c=function(){throw a};i={toString:c,valueOf:c},"symbol"===typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=c)}var u=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!==typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{o(e,i)}catch(r){return r===a}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===u(e)}},5766:(e,t,r)=>{"use strict";var n=String.prototype.valueOf,o=Object.prototype.toString,a=r(4635)();e.exports=function(e){return"string"===typeof e||"object"===typeof e&&(a?function(e){try{return n.call(e),!0}catch(t){return!1}}(e):"[object String]"===o.call(e))}},4107:(e,t,r)=>{"use strict";var n=Object.prototype.toString;if(r(2108)()){var o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"===typeof e)return!0;if("[object Symbol]"!==n.call(e))return!1;try{return function(e){return"symbol"===typeof e.valueOf()&&a.test(o.call(e))}(e)}catch(t){return!1}}}else e.exports=function(e){return!1}},8221:e=>{"use strict";e.exports="\n"},5829:e=>{"use strict";e.exports=function(e,t,r){if("string"!==typeof e)throw new TypeError('Invalid param "textDelimiter", must be a string.');if("string"!==typeof t)throw new TypeError('Invalid param "rowDelimiter", must be a string.');var n=new RegExp("\\"+e,"g"),o=e+e,a='"'===e?function(e){return e.indexOf(t)>=0||e.indexOf("\n")>=0||e.indexOf('"')>=0}:function(e){return e.indexOf(t)>=0||e.indexOf("\n")>=0};return function(t){return r&&(t=""+t),t.replace?(t=t.replace(n,o),(r||a(t))&&(t=e+t+e),t):t}}},8701:e=>{"use strict";e.exports.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},e.exports.isArray=function(e){return Array.isArray(e)},e.exports.isObject=function(e){return e instanceof Object},e.exports.isString=function(e){return"string"===typeof e},e.exports.isNumber=function(e){return"number"===typeof e},e.exports.isBoolean=function(e){return"boolean"===typeof e},e.exports.isDate=function(e){return e instanceof Date}},9807:(e,t,r)=>{"use strict";var n=r(8221),o=r(8701);e.exports=function(e,t){if(!e||!o.isArray(e))throw new TypeError('Invalid params "rows" for joinRows. Must be an array of string.');return e.join(t||n||"\n")}},9945:e=>{"use strict";e.exports=function(e){throw new Error("jsonexport called without third argument as a callback and is required")}},5801:(e,t,r)=>{"use strict";var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=r(4345),a=r(9945),i=(r(8701),r(8221));e.exports=function(){var e={headers:[],rename:[],headerPathString:".",rowDelimiter:",",textDelimiter:'"',arrayPathString:";",undefinedString:"",endOfLine:i||"\n",mainPathItem:null,booleanTrueString:null,booleanFalseString:null,includeHeaders:!0,fillGaps:!1,verticalOutput:!0,forceTextDelimiter:!1},t=void 0,r=void 0,s=void 0;if(3===arguments.length){var l=Array.prototype.slice.call(arguments);t=l[0],r=l[1],s=l[2]}else if(2===arguments.length){var c,u=Array.prototype.slice.call(arguments);t=u[0],"function"===typeof(c=u[1])?s=c:"object"===("undefined"===typeof c?"undefined":n(c))&&(r=c)}else{if(1!==arguments.length)return new a(new o(e));var d=Array.prototype.slice.call(arguments)[0];if("object"===("undefined"===typeof d?"undefined":n(d))){var p=Object.keys(e),f=Object.keys(d),m=f.every((function(e){return p.includes(e)}));f.length>0&&m?r=d:t=d}else t=d}var h=Object.assign({},e,r),v=new o(h);return t?new Promise((function(e,r){v.parse(t,(function(t,n){return s?s(t,n):t?r(t):r?e(n):void 0}))})):new a(v)}},4345:(e,t,r)=>{"use strict";var n=function(){function e(e,t){for(var r=0;r0&&(c=c.concat(Array(u).join(".").split("."))),t&&this._options.fillGaps&&(c=c.map(n)),r.push(c.join(this._options.rowDelimiter)),t=c}}catch(d){a=!0,i=d}finally{try{!o&&l.return&&l.return()}finally{if(a)throw i}}return r}},{key:"_parseArray",value:function(e,t){var r=this;this._headers=this._headers||[];var n,a=[],i=function(e){var t=r._headers.indexOf(e);return-1===t&&(r._headers.push(e),t=r._headers.indexOf(e)),t};n=function(e){var t=[],n=function(e){return t.push(e.map((function(e){return null!=e?e:""})))},o=function(){return new Array(r._headers.length).fill(null)},s={},l=o(),c=!0,u=!1,d=void 0;try{for(var p,f=e[Symbol.iterator]();!(c=(p=f.next()).done);c=!0){var m=p.value,h=i(m.item);void 0!=l[h]&&(n(l),l=o()),s[h]=s[h]||0,r._options.fillTopRow&&s[h]0&&n(l),a=a.concat(r._checkRows(t))};var s=!0,l=!1,c=void 0;try{for(var u,d=e[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var p=u.value;n(r._handler.check(p,r._options.mainPathItem,p,e))}}catch(f){l=!0,c=f}finally{try{!s&&d.return&&d.return()}finally{if(l)throw c}}return!t&&r._options.includeHeaders&&a.unshift(this.headers),o(a,r._options.endOfLine)}},{key:"_parseObject",value:function(e){var t,r=this,n=[],a=[[],[]];for(var i in t=function(e){var t=e.value||0===e.value?e.value.toString():r._options.undefinedString;if(t=r._escape(t),r._options.verticalOutput){var o=[e.item,t];n.push(o.join(r._options.rowDelimiter))}else a[0].push(e.item),a[1].push(t)},e){var s="";this._options.mainPathItem&&(s=this._options.mainPathItem+this._options.headerPathString),this._handler.check(e[i],s+i,i,e).forEach(t)}return this._options.verticalOutput||(n.push(a[0].join(this._options.rowDelimiter)),n.push(a[1].join(this._options.rowDelimiter))),o(n,this._options.endOfLine)}},{key:"headers",get:function(){var e=this,t=this._headers;return this._options.rename&&this._options.rename.length>0&&(t=t.map((function(t){return e._options.rename[e._options.headers.indexOf(t)]||t}))),this._options.forceTextDelimiter&&(t=t.map((function(t){return""+e._options.textDelimiter+t+e._options.textDelimiter}))),this._options.mapHeaders&&(t=t.map(this._options.mapHeaders)),t.join(this._options.rowDelimiter)}}]),e}();e.exports=s},5457:(e,t,r)=>{"use strict";var n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;r0&&!i.item&&void 0===t&&(t=i),r=r.concat(a)):t.value+=this._options.arrayPathString+i.value}}return r}},{key:"_handleBoolean",value:function(e){return e?this._options.booleanTrueString||"true":this._options.booleanFalseString||"false"}},{key:"_handleString",value:function(e){return e}},{key:"_handleNumber",value:function(e){return e}},{key:"_handleDate",value:function(e){return e.toLocaleDateString()}}]),e}();e.exports=i;var s="undefined"===typeof window?r.g:window;function l(e,t){if(e instanceof s[t])return!0;switch("undefined"===typeof e?"undefined":n(e)){case"string":return"String"===t;case"boolean":return"Boolean"===t;case"number":return"Number"===t}return!1}},7685:(e,t,r)=>{var n=r(7937)(r(6552),"DataView");e.exports=n},8724:(e,t,r)=>{var n=r(7615),o=r(5051),a=r(2154),i=r(8734),s=r(2662);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7563),o=r(9935),a=r(4190),i=r(1946),s=r(1714);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7937)(r(6552),"Map");e.exports=n},4816:(e,t,r)=>{var n=r(7251),o=r(7159),a=r(438),i=r(9394),s=r(6874);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7937)(r(6552),"Promise");e.exports=n},2070:(e,t,r)=>{var n=r(7937)(r(6552),"Set");e.exports=n},8902:(e,t,r)=>{var n=r(4816),o=r(6179),a=r(6704);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t{var n=r(7160),o=r(4545),a=r(793),i=r(7760),s=r(3892),l=r(6788);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=s,c.prototype.set=l,e.exports=c},9812:(e,t,r)=>{var n=r(6552).Symbol;e.exports=n},2929:(e,t,r)=>{var n=r(6552).Uint8Array;e.exports=n},6600:(e,t,r)=>{var n=r(7937)(r(6552),"WeakMap");e.exports=n},1170:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},726:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r{var n=r(8468);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},1558:e=>{e.exports=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n{var n=r(3343),o=r(2777),a=r(4052),i=r(4543),s=r(9194),l=r(1268),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),u=!r&&o(e),d=!r&&!u&&i(e),p=!r&&!u&&!d&&l(e),f=r||u||d||p,m=f?n(e.length,String):[],h=m.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,h))||m.push(v);return m}},149:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{var n=r(1775),o=r(3211);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},8420:(e,t,r)=>{var n=r(1775),o=r(3211),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},1340:(e,t,r)=>{var n=r(3211);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1104:(e,t,r)=>{var n=r(6614),o=r(8673);e.exports=function(e,t){return e&&n(t,o(t),e)}},5119:(e,t,r)=>{var n=r(6614),o=r(474);e.exports=function(e,t){return e&&n(t,o(t),e)}},1775:(e,t,r)=>{var n=r(5654);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7132:(e,t,r)=>{var n=r(5538),o=r(726),a=r(8420),i=r(1104),s=r(5119),l=r(4353),c=r(1980),u=r(8124),d=r(9075),p=r(9395),f=r(8592),m=r(6924),h=r(8268),v=r(8630),y=r(310),g=r(4052),b=r(4543),x=r(7887),w=r(6686),A=r(5921),S=r(8673),_=r(474),O="[object Arguments]",E="[object Function]",k="[object Object]",j={};j[O]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object DataView]"]=j["[object Boolean]"]=j["[object Date]"]=j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Map]"]=j["[object Number]"]=j[k]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object Symbol]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Error]"]=j[E]=j["[object WeakMap]"]=!1,e.exports=function e(t,r,C,P,R,T){var I,M=1&r,N=2&r,L=4&r;if(C&&(I=R?C(t,P,R,T):C(t)),void 0!==I)return I;if(!w(t))return t;var F=g(t);if(F){if(I=h(t),!M)return c(t,I)}else{var z=m(t),D=z==E||"[object GeneratorFunction]"==z;if(b(t))return l(t,M);if(z==k||z==O||D&&!R){if(I=N||D?{}:y(t),!M)return N?d(t,s(I,t)):u(t,i(I,t))}else{if(!j[z])return R?t:{};I=v(t,z,M)}}T||(T=new n);var B=T.get(t);if(B)return B;T.set(t,I),A(t)?t.forEach((function(n){I.add(e(n,r,C,n,t,T))})):x(t)&&t.forEach((function(n,o){I.set(o,e(n,r,C,o,t,T))}));var V=F?void 0:(L?N?f:p:N?_:S)(t);return o(V||t,(function(n,o){V&&(n=t[o=n]),a(I,o,e(n,r,C,o,t,T))})),I}},1817:(e,t,r)=>{var n=r(6686),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},8746:(e,t,r)=>{var n=r(8902),o=r(5866),a=r(1558),i=r(149),s=r(7574),l=r(8114);e.exports=function(e,t,r,c){var u=-1,d=o,p=!0,f=e.length,m=[],h=t.length;if(!f)return m;r&&(t=i(t,s(r))),c?(d=a,p=!1):t.length>=200&&(d=l,p=!1,t=new n(t));e:for(;++u{e.exports=function(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a{var n=r(8895),o=r(7116);e.exports=function e(t,r,a,i,s){var l=-1,c=t.length;for(a||(a=o),s||(s=[]);++l0&&a(u)?r>1?e(u,r-1,a,i,s):n(s,u):i||(s[s.length]=u)}return s}},4258:(e,t,r)=>{var n=r(5906)();e.exports=n},2969:(e,t,r)=>{var n=r(5324),o=r(914);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&r{var n=r(8895),o=r(4052);e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},6913:(e,t,r)=>{var n=r(9812),o=r(4552),a=r(6095),i=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?o(e):a(e)}},7894:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},8468:(e,t,r)=>{var n=r(5816),o=r(644),a=r(4020);e.exports=function(e,t,r){return t===t?a(e,t,r):n(e,o,r)}},5193:(e,t,r)=>{var n=r(6913),o=r(2761);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},6989:(e,t,r)=>{var n=r(6399),o=r(2761);e.exports=function e(t,r,a,i,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!==t&&r!==r:n(t,r,a,i,e,s))}},6399:(e,t,r)=>{var n=r(5538),o=r(3668),a=r(9987),i=r(5752),s=r(6924),l=r(4052),c=r(4543),u=r(1268),d="[object Arguments]",p="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,h,v,y){var g=l(e),b=l(t),x=g?p:s(e),w=b?p:s(t),A=(x=x==d?f:x)==f,S=(w=w==d?f:w)==f,_=x==w;if(_&&c(e)){if(!c(t))return!1;g=!0,A=!1}if(_&&!A)return y||(y=new n),g||u(e)?o(e,t,r,h,v,y):a(e,t,x,r,h,v,y);if(!(1&r)){var O=A&&m.call(e,"__wrapped__"),E=S&&m.call(t,"__wrapped__");if(O||E){var k=O?e.value():e,j=E?t.value():t;return y||(y=new n),v(k,j,r,h,y)}}return!!_&&(y||(y=new n),i(e,t,r,h,v,y))}},5791:(e,t,r)=>{var n=r(6924),o=r(2761);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},6532:(e,t,r)=>{var n=r(5538),o=r(6989);e.exports=function(e,t,r,a){var i=r.length,s=i,l=!a;if(null==e)return!s;for(e=Object(e);i--;){var c=r[i];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++i{e.exports=function(e){return e!==e}},6954:(e,t,r)=>{var n=r(1629),o=r(7857),a=r(6686),i=r(6996),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?p:s).test(i(e))}},449:(e,t,r)=>{var n=r(6924),o=r(2761);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},5428:(e,t,r)=>{var n=r(6913),o=r(6173),a=r(2761),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[n(e)]}},9096:(e,t,r)=>{var n=r(9256),o=r(5029),a=r(3279),i=r(4052),s=r(3932);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?i(e)?o(e[0],e[1]):n(e):s(e)}},3713:(e,t,r)=>{var n=r(6140),o=r(1143),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},8122:(e,t,r)=>{var n=r(6686),o=r(6140),a=r(3516),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},9256:(e,t,r)=>{var n=r(6532),o=r(3781),a=r(1310);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},5029:(e,t,r)=>{var n=r(6989),o=r(3097),a=r(3366),i=r(2597),s=r(9417),l=r(1310),c=r(914);e.exports=function(e,t){return i(e)&&s(t)?l(c(e),t):function(r){var i=o(r,e);return void 0===i&&i===t?a(r,e):n(t,i,3)}}},3253:(e,t,r)=>{var n=r(5538),o=r(3868),a=r(4258),i=r(3223),s=r(6686),l=r(474),c=r(3737);e.exports=function e(t,r,u,d,p){t!==r&&a(r,(function(a,l){if(p||(p=new n),s(a))i(t,r,l,u,e,d,p);else{var f=d?d(c(t,l),a,l+"",t,r,p):void 0;void 0===f&&(f=a),o(t,l,f)}}),l)}},3223:(e,t,r)=>{var n=r(3868),o=r(4353),a=r(8710),i=r(1980),s=r(310),l=r(2777),c=r(4052),u=r(6272),d=r(4543),p=r(1629),f=r(6686),m=r(2322),h=r(1268),v=r(3737),y=r(1609);e.exports=function(e,t,r,g,b,x,w){var A=v(e,r),S=v(t,r),_=w.get(S);if(_)n(e,r,_);else{var O=x?x(A,S,r+"",e,t,w):void 0,E=void 0===O;if(E){var k=c(S),j=!k&&d(S),C=!k&&!j&&h(S);O=S,k||j||C?c(A)?O=A:u(A)?O=i(A):j?(E=!1,O=o(S,!0)):C?(E=!1,O=a(S,!0)):O=[]:m(S)||l(S)?(O=A,l(A)?O=y(A):f(A)&&!p(A)||(O=s(S))):E=!1}E&&(w.set(S,O),b(O,S,g,x,w),w.delete(S)),n(e,r,O)}}},4008:(e,t,r)=>{var n=r(7449),o=r(3366);e.exports=function(e,t){return n(e,t,(function(t,r){return o(e,r)}))}},7449:(e,t,r)=>{var n=r(2969),o=r(9261),a=r(5324);e.exports=function(e,t,r){for(var i=-1,s=t.length,l={};++i{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},2866:(e,t,r)=>{var n=r(2969);e.exports=function(e){return function(t){return n(t,e)}}},5647:(e,t,r)=>{var n=r(3279),o=r(5636),a=r(6350);e.exports=function(e,t){return a(o(e,t,n),e+"")}},9261:(e,t,r)=>{var n=r(8420),o=r(5324),a=r(9194),i=r(6686),s=r(914);e.exports=function(e,t,r,l){if(!i(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,p=e;null!=p&&++c{var n=r(2541),o=r(5654),a=r(3279),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=i},3871:e=>{e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n{e.exports=function(e,t){for(var r=-1,n=Array(e);++r{var n=r(9812),o=r(149),a=r(4052),i=r(9841),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return o(t,e)+"";if(i(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},1141:(e,t,r)=>{var n=r(143),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},7574:e=>{e.exports=function(e){return function(t){return e(t)}}},4416:(e,t,r)=>{var n=r(8902),o=r(5866),a=r(1558),i=r(8114),s=r(8182),l=r(2074);e.exports=function(e,t,r){var c=-1,u=o,d=e.length,p=!0,f=[],m=f;if(r)p=!1,u=a;else if(d>=200){var h=t?null:s(e);if(h)return l(h);p=!1,u=i,m=new n}else m=t?[]:f;e:for(;++c{var n=r(5324),o=r(4065),a=r(1676),i=r(914);e.exports=function(e,t){return t=n(t,e),null==(e=a(e,t))||delete e[i(o(t))]}},8114:e=>{e.exports=function(e,t){return e.has(t)}},5324:(e,t,r)=>{var n=r(4052),o=r(2597),a=r(4079),i=r(1069);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:a(i(e))}},1516:(e,t,r)=>{var n=r(2929);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4353:(e,t,r)=>{e=r.nmd(e);var n=r(6552),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,s=i?i.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},6806:(e,t,r)=>{var n=r(1516);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},8962:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},1295:(e,t,r)=>{var n=r(9812),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},8710:(e,t,r)=>{var n=r(1516);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},1980:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{var n=r(8420),o=r(1775);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var s=-1,l=t.length;++s{var n=r(6614),o=r(9621);e.exports=function(e,t){return n(e,o(e),t)}},9075:(e,t,r)=>{var n=r(6614),o=r(6326);e.exports=function(e,t){return n(e,o(e),t)}},3440:(e,t,r)=>{var n=r(6552)["__core-js_shared__"];e.exports=n},4570:(e,t,r)=>{var n=r(5647),o=r(929);e.exports=function(e){return n((function(t,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(r[0],r[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++n{e.exports=function(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),s=i.length;s--;){var l=i[e?s:++o];if(!1===r(a[l],l,a))break}return t}}},8182:(e,t,r)=>{var n=r(2070),o=r(5713),a=r(2074),i=n&&1/a(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=i},5654:(e,t,r)=>{var n=r(7937),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},3668:(e,t,r)=>{var n=r(8902),o=r(2587),a=r(8114);e.exports=function(e,t,r,i,s,l){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var m=-1,h=!0,v=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++m{var n=r(9812),o=r(2929),a=r(3211),i=r(3668),s=r(4160),l=r(2074),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,d,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=s;case"[object Set]":var m=1&n;if(f||(f=l),e.size!=t.size&&!m)return!1;var h=p.get(e);if(h)return h==t;n|=2,p.set(e,t);var v=i(f(e),f(t),n,c,d,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},5752:(e,t,r)=>{var n=r(9395),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,i,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var f=s.get(e),m=s.get(t);if(f&&m)return f==t&&m==e;var h=!0;s.set(e,t),s.set(t,e);for(var v=l;++d{var n=r(819),o=r(5636),a=r(6350);e.exports=function(e){return a(o(e,void 0,n),e+"")}},7105:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},9395:(e,t,r)=>{var n=r(4262),o=r(9621),a=r(8673);e.exports=function(e){return n(e,a,o)}},8592:(e,t,r)=>{var n=r(4262),o=r(6326),a=r(474);e.exports=function(e){return n(e,a,o)}},2622:(e,t,r)=>{var n=r(705);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},3781:(e,t,r)=>{var n=r(9417),o=r(8673);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var a=t[r],i=e[a];t[r]=[a,i,n(i)]}return t}},7937:(e,t,r)=>{var n=r(6954),o=r(4657);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},5990:(e,t,r)=>{var n=r(3028)(Object.getPrototypeOf,Object);e.exports=n},4552:(e,t,r)=>{var n=r(9812),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(l){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},9621:(e,t,r)=>{var n=r(7529),o=r(7828),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),(function(t){return a.call(e,t)})))}:o;e.exports=s},6326:(e,t,r)=>{var n=r(8895),o=r(5990),a=r(9621),i=r(7828),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=s},6924:(e,t,r)=>{var n=r(7685),o=r(5204),a=r(5387),i=r(2070),s=r(6600),l=r(6913),c=r(6996),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",m="[object DataView]",h=c(n),v=c(o),y=c(a),g=c(i),b=c(s),x=l;(n&&x(new n(new ArrayBuffer(1)))!=m||o&&x(new o)!=u||a&&x(a.resolve())!=d||i&&x(new i)!=p||s&&x(new s)!=f)&&(x=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case h:return m;case v:return u;case y:return d;case g:return p;case b:return f}return t}),e.exports=x},4657:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},9057:(e,t,r)=>{var n=r(5324),o=r(2777),a=r(4052),i=r(9194),s=r(6173),l=r(914);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c{var n=r(5575);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},5051:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},2154:(e,t,r)=>{var n=r(5575),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},8734:(e,t,r)=>{var n=r(5575),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},2662:(e,t,r)=>{var n=r(5575);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},8268:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},8630:(e,t,r)=>{var n=r(1516),o=r(6806),a=r(8962),i=r(1295),s=r(8710);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return a(e);case"[object Symbol]":return i(e)}}},310:(e,t,r)=>{var n=r(1817),o=r(5990),a=r(6140);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},7116:(e,t,r)=>{var n=r(9812),o=r(2777),a=r(4052),i=n?n.isConcatSpreadable:void 0;e.exports=function(e){return a(e)||o(e)||!!(i&&e&&e[i])}},9194:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{var n=r(3211),o=r(6571),a=r(9194),i=r(6686);e.exports=function(e,t,r){if(!i(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&a(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},2597:(e,t,r)=>{var n=r(4052),o=r(9841),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(i.test(e)||!a.test(e)||null!=t&&e in Object(t))}},705:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7857:(e,t,r)=>{var n=r(3440),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},6140:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},9417:(e,t,r)=>{var n=r(6686);e.exports=function(e){return e===e&&!n(e)}},7563:e=>{e.exports=function(){this.__data__=[],this.size=0}},9935:(e,t,r)=>{var n=r(1340),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},4190:(e,t,r)=>{var n=r(1340);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},1946:(e,t,r)=>{var n=r(1340);e.exports=function(e){return n(this.__data__,e)>-1}},1714:(e,t,r)=>{var n=r(1340);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},7251:(e,t,r)=>{var n=r(8724),o=r(7160),a=r(5204);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},7159:(e,t,r)=>{var n=r(2622);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},438:(e,t,r)=>{var n=r(2622);e.exports=function(e){return n(this,e).get(e)}},9394:(e,t,r)=>{var n=r(2622);e.exports=function(e){return n(this,e).has(e)}},6874:(e,t,r)=>{var n=r(2622);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},4160:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},1310:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},8259:(e,t,r)=>{var n=r(5797);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},5575:(e,t,r)=>{var n=r(7937)(Object,"create");e.exports=n},1143:(e,t,r)=>{var n=r(3028)(Object.keys,Object);e.exports=n},3516:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6832:(e,t,r)=>{e=r.nmd(e);var n=r(7105),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o&&n.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(t){}}();e.exports=s},6095:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3028:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5636:(e,t,r)=>{var n=r(1170),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var a=arguments,i=-1,s=o(a.length-t,0),l=Array(s);++i{var n=r(2969),o=r(3871);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},6552:(e,t,r)=>{var n=r(7105),o="object"==typeof self&&self&&self.Object===Object&&self,a=n||o||Function("return this")();e.exports=a},3737:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}},6179:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6704:e=>{e.exports=function(e){return this.__data__.has(e)}},2074:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},6350:(e,t,r)=>{var n=r(8325),o=r(6578)(n);e.exports=o},6578:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),a=16-(o-n);if(n=o,a>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},4545:(e,t,r)=>{var n=r(7160);e.exports=function(){this.__data__=new n,this.size=0}},793:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},7760:e=>{e.exports=function(e){return this.__data__.get(e)}},3892:e=>{e.exports=function(e){return this.__data__.has(e)}},6788:(e,t,r)=>{var n=r(7160),o=r(5204),a=r(4816);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var i=r.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(i)}return r.set(e,t),this.size=r.size,this}},4020:e=>{e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n{var n=r(8259),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(a,"$1"):r||e)})),t}));e.exports=i},914:(e,t,r)=>{var n=r(9841);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},6996:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(r){}try{return e+""}catch(r){}}return""}},143:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},6434:(e,t,r)=>{var n=r(7132);e.exports=function(e){return n(e,5)}},2541:e=>{e.exports=function(e){return function(){return e}}},3950:(e,t,r)=>{var n=r(6686),o=r(4757),a=r(801),i=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,d,p,f,m=0,h=!1,v=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var r=l,n=c;return l=c=void 0,m=t,d=e.apply(n,r)}function b(e){var r=e-f;return void 0===f||r>=t||r<0||v&&e-m>=u}function x(){var e=o();if(b(e))return w(e);p=setTimeout(x,function(e){var r=t-(e-f);return v?s(r,u-(e-m)):r}(e))}function w(e){return p=void 0,y&&l?g(e):(l=c=void 0,d)}function A(){var e=o(),r=b(e);if(l=arguments,c=this,f=e,r){if(void 0===p)return function(e){return m=e,p=setTimeout(x,t),h?g(e):d}(f);if(v)return clearTimeout(p),p=setTimeout(x,t),g(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=a(t)||0,n(r)&&(h=!!r.leading,u=(v="maxWait"in r)?i(a(r.maxWait)||0,t):u,y="trailing"in r?!!r.trailing:y),A.cancel=function(){void 0!==p&&clearTimeout(p),m=0,l=f=c=p=void 0},A.flush=function(){return void 0===p?d:w(o())},A}},1163:(e,t,r)=>{var n=r(5647),o=r(3211),a=r(929),i=r(474),s=Object.prototype,l=s.hasOwnProperty,c=n((function(e,t){e=Object(e);var r=-1,n=t.length,c=n>2?t[2]:void 0;for(c&&a(t[0],t[1],c)&&(n=1);++r{var n=r(8746),o=r(755),a=r(5647),i=r(6272),s=a((function(e,t){return i(e)?n(e,o(t,1,i,!0)):[]}));e.exports=s},3211:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},819:(e,t,r)=>{var n=r(755);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},3097:(e,t,r)=>{var n=r(2969);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},3366:(e,t,r)=>{var n=r(7894),o=r(9057);e.exports=function(e,t){return null!=e&&o(e,t,n)}},3279:e=>{e.exports=function(e){return e}},2777:(e,t,r)=>{var n=r(5193),o=r(2761),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},4052:e=>{var t=Array.isArray;e.exports=t},6571:(e,t,r)=>{var n=r(1629),o=r(6173);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},6272:(e,t,r)=>{var n=r(6571),o=r(2761);e.exports=function(e){return o(e)&&n(e)}},4543:(e,t,r)=>{e=r.nmd(e);var n=r(6552),o=r(14),a=t&&!t.nodeType&&t,i=a&&e&&!e.nodeType&&e,s=i&&i.exports===a?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},9853:(e,t,r)=>{var n=r(6989);e.exports=function(e,t){return n(e,t)}},1629:(e,t,r)=>{var n=r(6913),o=r(6686);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},6173:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7887:(e,t,r)=>{var n=r(5791),o=r(7574),a=r(6832),i=a&&a.isMap,s=i?o(i):n;e.exports=s},6686:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},2761:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2322:(e,t,r)=>{var n=r(6913),o=r(5990),a=r(2761),i=Function.prototype,s=Object.prototype,l=i.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},5921:(e,t,r)=>{var n=r(449),o=r(7574),a=r(6832),i=a&&a.isSet,s=i?o(i):n;e.exports=s},9841:(e,t,r)=>{var n=r(6913),o=r(2761);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},1268:(e,t,r)=>{var n=r(5428),o=r(7574),a=r(6832),i=a&&a.isTypedArray,s=i?o(i):n;e.exports=s},8673:(e,t,r)=>{var n=r(3204),o=r(3713),a=r(6571);e.exports=function(e){return a(e)?n(e):o(e)}},474:(e,t,r)=>{var n=r(3204),o=r(8122),a=r(6571);e.exports=function(e){return a(e)?n(e,!0):o(e)}},4065:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},5797:(e,t,r)=>{var n=r(4816);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},4677:(e,t,r)=>{var n=r(3253),o=r(4570)((function(e,t,r){n(e,t,r)}));e.exports=o},5713:e=>{e.exports=function(){}},4757:(e,t,r)=>{var n=r(6552);e.exports=function(){return n.Date.now()}},2616:(e,t,r)=>{var n=r(4008),o=r(5857)((function(e,t){return null==e?{}:n(e,t)}));e.exports=o},7273:(e,t,r)=>{var n=r(149),o=r(9096),a=r(7449),i=r(8592);e.exports=function(e,t){if(null==e)return{};var r=n(i(e),(function(e){return[e]}));return t=o(t),a(e,r,(function(e,r){return t(e,r[0])}))}},3932:(e,t,r)=>{var n=r(396),o=r(2866),a=r(2597),i=r(914);e.exports=function(e){return a(e)?n(i(e)):o(e)}},9613:(e,t,r)=>{var n=r(9261);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},7828:e=>{e.exports=function(){return[]}},14:e=>{e.exports=function(){return!1}},801:(e,t,r)=>{var n=r(1141),o=r(6686),a=r(9841),i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):i.test(e)?NaN:+e}},1609:(e,t,r)=>{var n=r(6614),o=r(474);e.exports=function(e){return n(e,o(e))}},1069:(e,t,r)=>{var n=r(8541);e.exports=function(e){return null==e?"":n(e)}},450:(e,t,r)=>{var n=r(755),o=r(5647),a=r(4416),i=r(6272),s=o((function(e){return a(n(e,1,i,!0))}));e.exports=s},6940:(e,t,r)=>{var n=r(8140);e.exports=function(e,t){return null==e||n(e,t)}},4617:(e,t,r)=>{"use strict";var n=r(6365),o=r(2377),a=r(6440),i=r(7993),s=r(9393),l=function(e){a(!1,e)},c=String.prototype.replace,u=String.prototype.split,d="||||",p=function(e){var t=e%100,r=t%10;return 11!==t&&1===r?0:2<=r&&r<=4&&!(t>=12&&t<=14)?1:2},f={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:p,chinese:function(){return 0},croatian:p,french:function(e){return e>=2?1:0},german:function(e){return 1!==e?1:0},russian:p,lithuanian:function(e){return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){if(1===e)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!==1||e%100===11?1:0},slovenian:function(e){var t=e%100;return 1===t?0:2===t?1:3===t||4===t?2:3},romanian:function(e){if(1===e)return 0;var t=e%100;return 0===e||t>=2&&t<=19?1:2}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is","mk"],slovenian:["sl-SL"],romanian:["ro"]}};function m(e,t){var r=function(e){var t={};return n(o(e),(function(e){var r=e[0],o=e[1];n(o,(function(e){t[e]=r}))})),t}(e.pluralTypeToLanguages);return r[t]||r[u.call(t,/-/,1)[0]]||r.en}function h(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var v=function(){var e={};return function(t,r){var n=e[r];return n&&!t.pluralTypes[n]&&(n=null,e[r]=n),n||(n=m(t,r))&&(e[r]=n),n}}(),y=/%\{(.*?)\}/g;function g(e,t,r,n,o,a){if("string"!==typeof e)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return e;var l=e,p=n||y,m=a||c,h="number"===typeof t?{smart_count:t}:t;if(null!=h.smart_count&&e){var g=o||f,b=u.call(e,d),x=function(e,t,r){return e.pluralTypes[t](r)}(g,v(g,r||"en"),h.smart_count);l=s(b[x]||b[0])}return l=m.call(l,p,(function(e,t){return i(h,t)&&null!=h[t]?h[t]:e}))}function b(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var r=t.allowMissing?g:null;this.onMissingKey="function"===typeof t.onMissingKey?t.onMissingKey:r,this.warn=t.warn||l,this.replaceImplementation=t.replace||c,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",r=e&&e.suffix||"}";if(t===d||r===d)throw new RangeError('"'+d+'" token is reserved for pluralization');return new RegExp(h(t)+"(.*?)"+h(r),"g")}(t.interpolation),this.pluralRules=t.pluralRules||f}b.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},b.prototype.extend=function(e,t){n(o(e||{}),(function(e){var r=e[0],n=e[1],o=t?t+"."+r:r;"object"===typeof n?this.extend(n,o):this.phrases[o]=n}),this)},b.prototype.unset=function(e,t){"string"===typeof e?delete this.phrases[e]:n(o(e||{}),(function(e){var r=e[0],n=e[1],o=t?t+"."+r:r;"object"===typeof n?this.unset(n,o):delete this.phrases[o]}),this)},b.prototype.clear=function(){this.phrases={}},b.prototype.replace=function(e){this.clear(),this.extend(e)},b.prototype.t=function(e,t){var r,n,o=null==t?{}:t;if("string"===typeof this.phrases[e])r=this.phrases[e];else if("string"===typeof o._)r=o._;else if(this.onMissingKey){n=(0,this.onMissingKey)(e,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)}else this.warn('Missing translation for key: "'+e+'"'),n=e;return"string"===typeof r&&(n=g(r,o,this.currentLocale,this.tokenRegex,this.pluralRules,this.replaceImplementation)),n},b.prototype.has=function(e){return i(this.phrases,e)},b.transformPhrase=function(e,t,r){return g(e,t,r)},e.exports=b},8206:(e,t,r)=>{var n="function"===typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"===typeof o.get?o.get:null,i=n&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"===typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,h=Object.prototype.toString,v=Function.prototype.toString,y=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,A=RegExp.prototype.test,S=Array.prototype.concat,_=Array.prototype.join,O=Array.prototype.slice,E=Math.floor,k="function"===typeof BigInt?BigInt.prototype.valueOf:null,j=Object.getOwnPropertySymbols,C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"===typeof Symbol&&"object"===typeof Symbol.iterator,R="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,I=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||A.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var n=e<0?-E(-e):E(e);if(n!==e){var o=String(n),a=g.call(t,o.length+1);return b.call(o,r,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var N=r(2634),L=N.custom,F=W(L)?L:null;function z(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function D(e){return b.call(String(e),/"/g,""")}function B(e){return"[object Array]"===H(e)&&(!R||!("object"===typeof e&&R in e))}function V(e){return"[object RegExp]"===H(e)&&(!R||!("object"===typeof e&&R in e))}function W(e){if(P)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,o,s){var l=n||{};if(q(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(q(l,"maxStringLength")&&("number"===typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!q(l,"customInspect")||l.customInspect;if("boolean"!==typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(q(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(q(l,"numericSeparator")&&"boolean"!==typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var x=l.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return Q(t,l);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var A=String(t);return x?M(t,A):A}if("bigint"===typeof t){var E=String(t)+"n";return x?M(t,E):E}var j="undefined"===typeof l.depth?5:l.depth;if("undefined"===typeof o&&(o=0),o>=j&&j>0&&"object"===typeof t)return B(t)?"[Array]":"[Object]";var L=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;r=_.call(Array(e.indent+1)," ")}return{base:r,prev:_.call(Array(t+1),r)}}(l,o);if("undefined"===typeof s)s=[];else if($(s,t)>=0)return"[Circular]";function U(t,r,n){if(r&&(s=O.call(s)).push(r),n){var a={depth:l.depth};return q(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,o+1,s)}return e(t,l,o+1,s)}if("function"===typeof t&&!V(t)){var G=function(e){if(e.name)return e.name;var t=y.call(v.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=Z(t,U);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(ee.length>0?" { "+_.call(ee,", ")+" }":"")}if(W(t)){var te=P?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(t);return"object"!==typeof t||P?te:K(te)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var re="<"+w.call(String(t.nodeName)),ne=t.attributes||[],oe=0;oe"}if(B(t)){if(0===t.length)return"[]";var ae=Z(t,U);return L&&!function(e){for(var t=0;t=0)return!1;return!0}(ae)?"["+J(ae,L)+"]":"[ "+_.call(ae,", ")+" ]"}if(function(e){return"[object Error]"===H(e)&&(!R||!("object"===typeof e&&R in e))}(t)){var ie=Z(t,U);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+_.call(ie,", ")+" }":"{ ["+String(t)+"] "+_.call(S.call("[cause]: "+U(t.cause),ie),", ")+" }"}if("object"===typeof t&&h){if(F&&"function"===typeof t[F]&&N)return N(t,{depth:j-o});if("symbol"!==h&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!==typeof e)return!1;try{a.call(e);try{c.call(e)}catch(re){return!0}return e instanceof Map}catch(t){}return!1}(t)){var se=[];return i&&i.call(t,(function(e,r){se.push(U(r,t,!0)+" => "+U(e,t))})),Y("Map",a.call(t),se,L)}if(function(e){if(!c||!e||"object"!==typeof e)return!1;try{c.call(e);try{a.call(e)}catch(t){return!0}return e instanceof Set}catch(r){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(U(e,t))})),Y("Set",c.call(t),le,L)}if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(re){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return X("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(re){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return X("WeakSet");if(function(e){if(!f||!e||"object"!==typeof e)return!1;try{return f.call(e),!0}catch(t){}return!1}(t))return X("WeakRef");if(function(e){return"[object Number]"===H(e)&&(!R||!("object"===typeof e&&R in e))}(t))return K(U(Number(t)));if(function(e){if(!e||"object"!==typeof e||!k)return!1;try{return k.call(e),!0}catch(t){}return!1}(t))return K(U(k.call(t)));if(function(e){return"[object Boolean]"===H(e)&&(!R||!("object"===typeof e&&R in e))}(t))return K(m.call(t));if(function(e){return"[object String]"===H(e)&&(!R||!("object"===typeof e&&R in e))}(t))return K(U(String(t)));if("undefined"!==typeof window&&t===window)return"{ [object Window] }";if(t===r.g)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===H(e)&&(!R||!("object"===typeof e&&R in e))}(t)&&!V(t)){var ce=Z(t,U),ue=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",pe=!ue&&R&&Object(t)===t&&R in t?g.call(H(t),8,-1):de?"Object":"",fe=(ue||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||de?"["+_.call(S.call([],pe||[],de||[]),": ")+"] ":"");return 0===ce.length?fe+"{}":L?fe+"{"+J(ce,L)+"}":fe+"{ "+_.call(ce,", ")+" }"}return String(t)};var U=Object.prototype.hasOwnProperty||function(e){return e in this};function q(e,t){return U.call(e,t)}function H(e){return h.call(e)}function $(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Q(g.call(e,0,t.maxStringLength),t)+n}return z(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",t)}function G(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function K(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?J(r,n):_.call(r,", "))+"}"}function J(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+_.call(e,","+r)+"\n"+t.prev}function Z(e,t){var r=B(e),n=[];if(r){n.length=e.length;for(var o=0;o{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=r(234),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{d(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();n=function(e){var t=null!==e&&"object"===typeof e,r="[object Function]"===a.call(e),n=i(e),s=t&&"[object String]"===a.call(e),p=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var m=c&&r;if(s&&e.length>0&&!o.call(e,0))for(var h=0;h0)for(var v=0;v{"use strict";var n=Array.prototype.slice,o=r(234),a=Object.keys,i=a?function(e){return a(e)}:r(1038),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(n.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},234:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},1407:(e,t,r)=>{"use strict";var n=r(9076),o=r(2028),a=o("Object.prototype.propertyIsEnumerable"),i=o("Array.prototype.push");e.exports=function(e){var t=n(e),r=[];for(var o in t)a(t,o)&&i(r,[o,t[o]]);return r}},2377:(e,t,r)=>{"use strict";var n=r(1779),o=r(1712),a=r(1407),i=r(4158),s=r(6828),l=o(i(),Object);n(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},4158:(e,t,r)=>{"use strict";var n=r(1407);e.exports=function(){return"function"===typeof Object.entries?Object.entries:n}},6828:(e,t,r)=>{"use strict";var n=r(4158),o=r(1779);e.exports=function(){var e=n();return o(Object,{entries:e},{entries:function(){return Object.entries!==e}}),e}},3385:function(e,t){var r,n,o;n=[],r=function e(){"use strict";var t="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:{},r=!t.document&&!!t.postMessage,n=t.IS_PAPA_WORKER||!1,o={},a=0,i={parse:function(r,n){var s=(n=n||{}).dynamicTyping||!1;if(w(s)&&(n.dynamicTypingFunction=s,s={}),n.dynamicTyping=s,n.transform=!!w(n.transform)&&n.transform,n.worker&&i.WORKERS_SUPPORTED){var l=function(){if(!i.WORKERS_SUPPORTED)return!1;var r,n,s=(r=t.URL||t.webkitURL||null,n=e.toString(),i.BLOB_URL||(i.BLOB_URL=r.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",n,")();"],{type:"text/javascript"})))),l=new t.Worker(s);return l.onmessage=v,l.id=a++,o[l.id]=l}();return l.userStep=n.step,l.userChunk=n.chunk,l.userComplete=n.complete,l.userError=n.error,n.step=w(n.step),n.chunk=w(n.chunk),n.complete=w(n.complete),n.error=w(n.error),delete n.worker,void l.postMessage({input:r,config:n,workerId:l.id})}var f=null;return i.NODE_STREAM_INPUT,"string"==typeof r?(r=function(e){return 65279===e.charCodeAt(0)?e.slice(1):e}(r),f=n.download?new c(n):new d(n)):!0===r.readable&&w(r.read)&&w(r.on)?f=new p(n):(t.File&&r instanceof File||r instanceof Object)&&(f=new u(n)),f.stream(r)},unparse:function(e,t){var r=!1,n=!0,o=",",a="\r\n",s='"',l=s+s,c=!1,u=null,d=!1;!function(){if("object"==typeof t){if("string"!=typeof t.delimiter||i.BAD_DELIMITERS.filter((function(e){return-1!==t.delimiter.indexOf(e)})).length||(o=t.delimiter),("boolean"==typeof t.quotes||"function"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(a=t.newline),"string"==typeof t.quoteChar&&(s=t.quoteChar),"boolean"==typeof t.header&&(n=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");u=t.columns}void 0!==t.escapeChar&&(l=t.escapeChar+s),("boolean"==typeof t.escapeFormulae||t.escapeFormulae instanceof RegExp)&&(d=t.escapeFormulae instanceof RegExp?t.escapeFormulae:/^[=+\-@\t\r].*$/)}}();var p=new RegExp(m(s),"g");if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return f(null,e,c);if("object"==typeof e[0])return f(u||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||u),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),f(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function f(e,t,r){var i="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var s=Array.isArray(e)&&0=this._config.preview;if(n)t.postMessage({results:s,workerId:i.WORKER_ID,finished:c});else if(w(this._config.chunk)&&!r){if(this._config.chunk(s,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);s=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(s.data),this._completeResults.errors=this._completeResults.errors.concat(s.errors),this._completeResults.meta=s.meta),this._completed||!c||!w(this._config.complete)||s&&s.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||s&&s.meta.paused||this._nextChunk(),s}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):n&&this._config.error&&t.postMessage({workerId:i.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=i.RemoteChunkSize),l.call(this,e),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),r||(t.onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!r),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var n in e)t.setRequestHeader(n,e[n])}if(this._config.chunkSize){var o=this._start+this._config.chunkSize-1;t.setRequestHeader("Range","bytes="+this._start+"-"+o)}try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}r&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:t.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substring(t.lastIndexOf("/")+1))}(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){var r=t.statusText||e;this._sendError(new Error(r))}}function u(e){var t,r;(e=e||{}).chunkSize||(e.chunkSize=i.LocalChunkSize),l.call(this,e);var n="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,n?((t=new FileReader).onload=x(this._chunkLoaded,this),t.onerror=x(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function d(e){var t;l.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e,r=this._config.chunkSize;return r?(e=t.substring(0,r),t=t.substring(r)):(e=t,t=""),this._finished=!t,this.parseChunk(e)}}}function p(e){l.call(this,e=e||{});var t=[],r=!0,n=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):r=!0},this._streamData=x((function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),r&&(r=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}}),this),this._streamError=x((function(e){this._streamCleanUp(),this._sendError(e)}),this),this._streamEnd=x((function(){this._streamCleanUp(),n=!0,this._streamData("")}),this),this._streamCleanUp=x((function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)}),this)}function f(e){var t,r,n,o=Math.pow(2,53),a=-o,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,l=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,c=this,u=0,d=0,p=!1,f=!1,v=[],y={data:[],errors:[],meta:{}};if(w(e.step)){var g=e.step;e.step=function(t){if(y=t,S())A();else{if(A(),0===y.data.length)return;u+=t.data.length,e.preview&&u>e.preview?r.abort():(y.data=y.data[0],g(y,c))}}}function x(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function A(){return y&&n&&(O("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+i.DefaultDelimiter+"'"),n=!1),e.skipEmptyLines&&(y.data=y.data.filter((function(e){return!x(e)}))),S()&&function(){if(y)if(Array.isArray(y.data[0])){for(var t=0;S()&&t=v.length?"__parsed_extra":v[n]),e.transform&&(i=e.transform(i,a)),i=_(a,i),"__parsed_extra"===a?(o[a]=o[a]||[],o[a].push(i)):o[a]=i}return e.header&&(n>v.length?O("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+n,d+r):n=n.length/2?"\r\n":"\r"}(o,l)),n=!1,e.delimiter)w(e.delimiter)&&(e.delimiter=e.delimiter(o),y.meta.delimiter=e.delimiter);else{var c=function(t,r,n,o,a){var s,l,c,u;a=a||[",","\t","|",";",i.RECORD_SEP,i.UNIT_SEP];for(var d=0;d=s)return $(!0)}else for(D=u,u++;;){if(-1===(D=i.indexOf(t,D+1)))return f||A.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:x.length,index:u}),q();if(D===h-1)return q(i.substring(u,D).replace(z,t));if(t!==c||i[D+1]!==c){if(t===c||0===D||i[D-1]!==c){-1!==L&&L=s)return $(!0);break}A.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:x.length,index:u}),D++}}else D++}return q();function W(e){x.push(e),_=u}function U(e){var t=0;if(-1!==e){var r=i.substring(D+1,e);r&&""===r.trim()&&(t=r.length)}return t}function q(e){return f||(void 0===e&&(e=i.substring(u)),S.push(e),u=h,W(S),b&&Q()),$()}function H(e){u=e,W(S),S=[],F=i.indexOf(n,u)}function $(e){return{data:x,errors:A,meta:{delimiter:r,linebreak:n,aborted:d,truncated:!!e,cursor:_+(p||0)}}}function Q(){a($()),x=[],A=[]}},this.abort=function(){d=!0},this.getCharIndex=function(){return u}}function v(e){var t=e.data,r=o[t.workerId],n=!1;if(t.error)r.userError(t.error,t.file);else if(t.results&&t.results.data){var a={abort:function(){n=!0,y(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:g,resume:g};if(w(r.userStep)){for(var i=0;i{"use strict";var n=r(3218);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={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:a,resetWarningCache:o};return r.PropTypes=r,r}},5173:(e,t,r)=>{e.exports=r(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9370:(e,t,r)=>{"use strict";const n=r(7491),o=r(5707),a=r(1289),i=r(38),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"===typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function p(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function f(e){const t=(e=p(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function h(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return(e,r,n)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"colon-list-separator":return(e,r,n)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return(t,r,n)=>{const o="string"===typeof r&&r.includes(e.arrayFormatSeparator),a="string"===typeof r&&!o&&u(r,e).includes(e.arrayFormatSeparator);r=a?u(r,e):r;const i=o||a?r.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===r?r:u(r,e);n[t]=i};case"bracket-separator":return(t,r,n)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(n[t]=r?u(r,e):r);const a=null===r?[]:r.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==n[t]?n[t]=[].concat(n[t],a):n[t]=a};default:return(e,t,r)=>{void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),n=Object.create(null);if("string"!==typeof e)return n;if(!(e=e.trim().replace(/^[?#&]/,"")))return n;for(const o of e.split("&")){if(""===o)continue;let[e,i]=a(t.decode?o.replace(/\+/g," "):o,"=");i=void 0===i?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?i:u(i,t),r(u(e,t),i,n)}for(const o of Object.keys(n)){const e=n[o];if("object"===typeof e&&null!==e)for(const r of Object.keys(e))e[r]=m(e[r],t);else n[o]=m(e,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce(((e,t)=>{const r=n[t];return Boolean(r)&&"object"===typeof r&&!Array.isArray(r)?e[t]=d(r):e[t]=r,e}),Object.create(null))}t.extract=f,t.parse=h,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const r=r=>{return t.skipNull&&(null===(n=e[r])||void 0===n)||t.skipEmptyString&&""===e[r];var n},n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{const o=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",o,"]"].join("")]:[...r,[c(t,e),"[",c(o,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),":list="].join("")]:[...r,[c(t,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?n:(o=null===o?"":o,0===n.length?[[c(r,e),t,c(o,e)].join("")]:[[n,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),o={};for(const i of Object.keys(e))r(i)||(o[i]=e[i]);const a=Object.keys(o);return!1!==t.sort&&a.sort(t.sort),a.map((r=>{const o=e[r];return void 0===o?"":null===o?c(r,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":o.reduce(n(r),[]).join("&"):c(r,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[r,n]=a(e,"#");return Object.assign({url:r.split("?")[0]||"",query:h(f(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:u(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[s]:!0},r);const n=p(e.url).split("?")[0]||"",o=t.extract(e.url),a=t.parse(o,{sort:!1}),i=Object.assign(a,e.query);let l=t.stringify(i,r);l&&(l="?".concat(l));let u=function(e){let t="";const r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(u="#".concat(r[s]?c(e.fragmentIdentifier,r):e.fragmentIdentifier)),"".concat(n).concat(l).concat(u)},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[s]:!1},n);const{url:o,query:a,fragmentIdentifier:l}=t.parseUrl(e,n);return t.stringifyUrl({url:o,query:i(a,r),fragmentIdentifier:l},n)},t.exclude=(e,r,n)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,o,n)}},517:(e,t)=>{"use strict";var r=60103,n=60106,o=60107,a=60108,i=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,f=60116,m=60121,h=60122,v=60117,y=60129,g=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),o=b("react.fragment"),a=b("react.strict_mode"),i=b("react.profiler"),s=b("react.provider"),l=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),p=b("react.memo"),f=b("react.lazy"),m=b("react.block"),h=b("react.server.block"),v=b("react.fundamental"),y=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case i:case a:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case p:case s:return e;default:return t}}case n:return t}}}t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===i||e===y||e===a||e===u||e===d||e===g||"object"===typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===v||e.$$typeof===m||e[0]===h)}},6057:(e,t,r)=>{"use strict";e.exports=r(517)},2951:e=>{e.exports={ra:{action:{add_filter:"Aggiungi un filtro",add:"Aggiungi",back:"Indietro",bulk_actions:"%{smart_count} selezionati",cancel:"Annulla",clear_input_value:"Svuota il modulo",clone:"Duplica",confirm:"Conferma",create:"Crea",delete:"Cancella",edit:"Modifica",export:"Esporta",list:"Elenco",refresh:"Aggiorna",remove_filter:"Rimuovi questo filtro",remove:"Rimuovi",save:"Salva",search:"Ricerca",show:"Mostra",sort:"Ordina",undo:"Annulla",unselect:"Annulla selezione",expand:"Espandi",close:"Chiudi",open_menu:"Apri il menu",close_menu:"Chiudi il menu"},boolean:{true:"Si",false:"No",null:"\u2003"},page:{create:"Aggiungi %{name}",dashboard:"Cruscotto",edit:"%{name} %{id}",error:"Qualcosa non ha funzionato",list:"%{name}",loading:"Caricamento in corso",not_found:"Non trovato",show:"%{name} %{id}",empty:"Nessun %{name} ancora.",invite:"Vuoi aggiungerne uno?"},input:{file:{upload_several:"Trascina i files da caricare, oppure clicca per selezionare.",upload_single:"Trascina il file da caricare, oppure clicca per selezionarlo."},image:{upload_several:"Trascina le immagini da caricare, oppure clicca per selezionarle.",upload_single:"Trascina l'immagine da caricare, oppure clicca per selezionarla."},references:{all_missing:"Impossibile trovare i riferimenti associati.",many_missing:"Almeno uno dei riferimenti associati non sembra pi\xf9 disponibile.",single_missing:"Il riferimento associato non sembra pi\xf9 disponibile."}},password:{toggle_visible:"Nascondi la password",toggle_hidden:"Mostra la password"},message:{about:"Informazioni",are_you_sure:"Sei sicuro ?",bulk_delete_content:"Sei sicuro di voler cancellare questo %{name}? |||| Sei sicuro di voler eliminare questi %{smart_count}?",bulk_delete_title:"Delete %{name} |||| Delete %{smart_count} %{name} items",delete_content:"Are you sure you want to delete this item?",delete_title:"Cancella %{name} #%{id}",details:"Dettagli",error:"Un errore locale \xe8 occorso e la tua richiesta non \xe8 stata completata.",invalid_form:"Il modulo non \xe8 valido. Si prega di verificare la presenza di errori.",loading:"La pagina si sta caricando, solo un momento per favore",no:"No",not_found:"Hai inserito un URL errato, oppure hai cliccato un link errato",yes:"Si",unsaved_changes:"Alcune modifiche non sono state salvate. Sei sicuro di volerle ignorare?"},navigation:{no_results:"Nessun risultato trovato",no_more_results:"La pagina numero %{page} \xe8 fuori dell'intervallo. Prova la pagina precedente.",page_out_of_boundaries:"Il numero di pagina %{page} \xe8 fuori dei limiti",page_out_from_end:"Fine della paginazione",page_out_from_begin:"Il numero di pagina deve essere maggiore di 1",page_range_info:"%{offsetBegin}-%{offsetEnd} di %{total}",page_rows_per_page:"Righe per pagina",next:"Successivo",prev:"Precedente",skip_nav:"Vai al contenuto"},sort:{sort_by:"Ordina per %{field} %{order}",ASC:"cresente",DESC:"decrescente"},auth:{auth_check_error:"\xc8 necessario accedere per continuare",user_menu:"Profilo",username:"Nome utente",password:"Password",sign_in:"Login",sign_in_error:"Autenticazione fallita, riprovare.",logout:"Disconnessione"},notification:{updated:"Record aggiornato |||| %{smart_count} records aggiornati",created:"Record creato",deleted:"Record eliminato |||| %{smart_count} records eliminati",bad_item:"Record errato",item_doesnt_exist:"Record inesistente",http_error:"Errore di comunicazione con il server dati",data_provider_error:"Errore del data provider. Controlla la console per i dettagli.",i18n_error:"Traduzioni non trovate per il linguaggio specificato",canceled:"Azione annullata",logged_out:"La sessione \xe8 stata terminata, si prega di ripetere l'autenticazione."},validation:{required:"Campo obbligatorio",minLength:"Deve essere lungo %{min} caratteri almeno",maxLength:"Deve essere lungo %{max} caratteri al massimo",minValue:"Deve essere almeno %{min}",maxValue:"Deve essere al massimo %{max}",number:"Deve essere un numero",email:"Deve essere un valido indirizzo email",oneOf:"Deve essere uno di: %{options}",regex:"Deve rispettare il formato (espressione regolare): %{pattern}"}}}},2730:(e,t,r)=>{"use strict";var n=r(5043),o=r(8853);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r