chatbot-interface-ifi 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,295 @@
1
+ (function(he,nt){typeof exports=="object"&&typeof module<"u"?module.exports=nt(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],nt):(he=typeof globalThis<"u"?globalThis:he||self,he.ChatbotInterface=nt(he.React,he.ReactDOM))})(this,function(he,nt){"use strict";var jE=Object.defineProperty;var DE=(he,nt,en)=>nt in he?jE(he,nt,{enumerable:!0,configurable:!0,writable:!0,value:en}):he[nt]=en;var Or=(he,nt,en)=>DE(he,typeof nt!="symbol"?nt+"":nt,en);function en(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const R=en(he),Vf=en(nt);function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rr={exports:{}},Dn={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var qs;function qf(){if(qs)return Dn;qs=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var l in o)l!=="key"&&(i[l]=o[l])}else i=o;return o=i.ref,{$$typeof:e,type:r,key:s,ref:o!==void 0?o:null,props:i}}return Dn.Fragment=t,Dn.jsx=n,Dn.jsxs=n,Dn}var Ln={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Ws;function Wf(){return Ws||(Ws=1,process.env.NODE_ENV!=="production"&&function(){function e(O){if(O==null)return null;if(typeof O=="function")return O.$$typeof===G?null:O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case T:return"Fragment";case x:return"Portal";case z:return"Profiler";case P:return"StrictMode";case _:return"Suspense";case j:return"SuspenseList"}if(typeof O=="object")switch(typeof O.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),O.$$typeof){case y:return(O.displayName||"Context")+".Provider";case U:return(O._context.displayName||"Context")+".Consumer";case I:var W=O.render;return O=O.displayName,O||(O=W.displayName||W.name||"",O=O!==""?"ForwardRef("+O+")":"ForwardRef"),O;case F:return W=O.displayName||null,W!==null?W:e(O.type)||"Memo";case N:W=O._payload,O=O._init;try{return e(O(W))}catch{}}return null}function t(O){return""+O}function n(O){try{t(O);var W=!1}catch{W=!0}if(W){W=console;var te=W.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&O[Symbol.toStringTag]||O.constructor.name||"Object";return te.call(W,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),t(O)}}function r(){}function o(){if(X===0){ne=console.log,Q=console.info,oe=console.warn,se=console.error,ie=console.group,J=console.groupCollapsed,ae=console.groupEnd;var O={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}X++}function i(){if(X--,X===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:q({},O,{value:ne}),info:q({},O,{value:Q}),warn:q({},O,{value:oe}),error:q({},O,{value:se}),group:q({},O,{value:ie}),groupCollapsed:q({},O,{value:J}),groupEnd:q({},O,{value:ae})})}0>X&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function s(O){if(A===void 0)try{throw Error()}catch(te){var W=te.stack.trim().match(/\n( *(at )?)/);A=W&&W[1]||"",be=-1<te.stack.indexOf(`
18
+ at`)?" (<anonymous>)":-1<te.stack.indexOf("@")?"@unknown:0:0":""}return`
19
+ `+A+O+be}function l(O,W){if(!O||H)return"";var te=ve.get(O);if(te!==void 0)return te;H=!0,te=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var de=null;de=Z.H,Z.H=null,o();try{var ze={DetermineComponentFrameRoot:function(){try{if(W){var Ue=function(){throw Error()};if(Object.defineProperty(Ue.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ue,[])}catch(re){var St=re}Reflect.construct(O,[],Ue)}else{try{Ue.call()}catch(re){St=re}O.call(Ue.prototype)}}else{try{throw Error()}catch(re){St=re}(Ue=O())&&typeof Ue.catch=="function"&&Ue.catch(function(){})}}catch(re){if(re&&St&&typeof re.stack=="string")return[re.stack,St.stack]}return[null,null]}};ze.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var M=Object.getOwnPropertyDescriptor(ze.DetermineComponentFrameRoot,"name");M&&M.configurable&&Object.defineProperty(ze.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var B=ze.DetermineComponentFrameRoot(),le=B[0],pe=B[1];if(le&&pe){var ue=le.split(`
20
+ `),ge=pe.split(`
21
+ `);for(B=M=0;M<ue.length&&!ue[M].includes("DetermineComponentFrameRoot");)M++;for(;B<ge.length&&!ge[B].includes("DetermineComponentFrameRoot");)B++;if(M===ue.length||B===ge.length)for(M=ue.length-1,B=ge.length-1;1<=M&&0<=B&&ue[M]!==ge[B];)B--;for(;1<=M&&0<=B;M--,B--)if(ue[M]!==ge[B]){if(M!==1||B!==1)do if(M--,B--,0>B||ue[M]!==ge[B]){var tt=`
22
+ `+ue[M].replace(" at new "," at ");return O.displayName&&tt.includes("<anonymous>")&&(tt=tt.replace("<anonymous>",O.displayName)),typeof O=="function"&&ve.set(O,tt),tt}while(1<=M&&0<=B);break}}}finally{H=!1,Z.H=de,i(),Error.prepareStackTrace=te}return ue=(ue=O?O.displayName||O.name:"")?s(ue):"",typeof O=="function"&&ve.set(O,ue),ue}function c(O){if(O==null)return"";if(typeof O=="function"){var W=O.prototype;return l(O,!(!W||!W.isReactComponent))}if(typeof O=="string")return s(O);switch(O){case _:return s("Suspense");case j:return s("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case I:return O=l(O.render,!1),O;case F:return c(O.type);case N:W=O._payload,O=O._init;try{return c(O(W))}catch{}}return""}function u(){var O=Z.A;return O===null?null:O.getOwner()}function f(O){if(v.call(O,"key")){var W=Object.getOwnPropertyDescriptor(O,"key").get;if(W&&W.isReactWarning)return!1}return O.key!==void 0}function p(O,W){function te(){Be||(Be=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",W))}te.isReactWarning=!0,Object.defineProperty(O,"key",{get:te,configurable:!0})}function h(){var O=e(this.type);return He[O]||(He[O]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),O=this.props.ref,O!==void 0?O:null}function d(O,W,te,de,ze,M){return te=M.ref,O={$$typeof:C,type:O,key:W,props:M,_owner:ze},(te!==void 0?te:null)!==null?Object.defineProperty(O,"ref",{enumerable:!1,get:h}):Object.defineProperty(O,"ref",{enumerable:!1,value:null}),O._store={},Object.defineProperty(O._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(O,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(O.props),Object.freeze(O)),O}function m(O,W,te,de,ze,M){if(typeof O=="string"||typeof O=="function"||O===T||O===z||O===P||O===_||O===j||O===$||typeof O=="object"&&O!==null&&(O.$$typeof===N||O.$$typeof===F||O.$$typeof===y||O.$$typeof===U||O.$$typeof===I||O.$$typeof===ee||O.getModuleId!==void 0)){var B=W.children;if(B!==void 0)if(de)if(w(B)){for(de=0;de<B.length;de++)g(B[de],O);Object.freeze&&Object.freeze(B)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(B,O)}else B="",(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),O===null?de="null":w(O)?de="array":O!==void 0&&O.$$typeof===C?(de="<"+(e(O.type)||"Unknown")+" />",B=" Did you accidentally export a JSX literal instead of a component?"):de=typeof O,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",de,B);if(v.call(W,"key")){B=e(O);var le=Object.keys(W).filter(function(ue){return ue!=="key"});de=0<le.length?"{key: someKey, "+le.join(": ..., ")+": ...}":"{key: someKey}",Je[B+de]||(le=0<le.length?"{"+le.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
23
+ let props = %s;
24
+ <%s {...props} />
25
+ React keys must be passed directly to JSX without using spread:
26
+ let props = %s;
27
+ <%s key={someKey} {...props} />`,de,B,le,B),Je[B+de]=!0)}if(B=null,te!==void 0&&(n(te),B=""+te),f(W)&&(n(W.key),B=""+W.key),"key"in W){te={};for(var pe in W)pe!=="key"&&(te[pe]=W[pe])}else te=W;return B&&p(te,typeof O=="function"?O.displayName||O.name||"Unknown":O),d(O,B,M,ze,u(),te)}function g(O,W){if(typeof O=="object"&&O&&O.$$typeof!==Xe){if(w(O))for(var te=0;te<O.length;te++){var de=O[te];b(de)&&E(de,W)}else if(b(O))O._store&&(O._store.validated=1);else if(O===null||typeof O!="object"?te=null:(te=Y&&O[Y]||O["@@iterator"],te=typeof te=="function"?te:null),typeof te=="function"&&te!==O.entries&&(te=te.call(O),te!==O))for(;!(O=te.next()).done;)b(O.value)&&E(O.value,W)}}function b(O){return typeof O=="object"&&O!==null&&O.$$typeof===C}function E(O,W){if(O._store&&!O._store.validated&&O.key==null&&(O._store.validated=1,W=k(W),!ot[W])){ot[W]=!0;var te="";O&&O._owner!=null&&O._owner!==u()&&(te=null,typeof O._owner.tag=="number"?te=e(O._owner.type):typeof O._owner.name=="string"&&(te=O._owner.name),te=" It was passed a child from "+te+".");var de=Z.getCurrentStack;Z.getCurrentStack=function(){var ze=c(O.type);return de&&(ze+=de()||""),ze},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',W,te),Z.getCurrentStack=de}}function k(O){var W="",te=u();return te&&(te=e(te.type))&&(W=`
28
+
29
+ Check the render method of \``+te+"`."),W||(O=e(O))&&(W=`
30
+
31
+ Check the top-level render call using <`+O+">."),W}var S=he,C=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),y=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),Y=Symbol.iterator,G=Symbol.for("react.client.reference"),Z=S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,v=Object.prototype.hasOwnProperty,q=Object.assign,ee=Symbol.for("react.client.reference"),w=Array.isArray,X=0,ne,Q,oe,se,ie,J,ae;r.__reactDisabledLog=!0;var A,be,H=!1,ve=new(typeof WeakMap=="function"?WeakMap:Map),Xe=Symbol.for("react.client.reference"),Be,He={},Je={},ot={};Ln.Fragment=T,Ln.jsx=function(O,W,te,de,ze){return m(O,W,te,!1,de,ze)},Ln.jsxs=function(O,W,te,de,ze){return m(O,W,te,!0,de,ze)}}()),Ln}var Hs;function Hf(){return Hs||(Hs=1,process.env.NODE_ENV==="production"?Rr.exports=qf():Rr.exports=Wf()),Rr.exports}var V=Hf();const Bn={black:"#000",white:"#fff"},pn={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"},dn={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"},hn={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"},mn={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"},gn={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"},zn={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"},Yf={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"};function At(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Un="$$material";function Pr(){return Pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pr.apply(null,arguments)}function Ys(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Kf=/^((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|fetchpriority|fetchPriority|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)-.*))$/,Gf=Ys(function(e){return Kf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Xf=!1;function Jf(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Qf(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Zf=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!Xf:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Qf(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Jf(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),it="-ms-",Ir="-moz-",we="-webkit-",Ks="comm",Ho="rule",Yo="decl",ep="@import",Gs="@keyframes",tp="@layer",np=Math.abs,Ar=String.fromCharCode,rp=Object.assign;function op(e,t){return rt(e,0)^45?(((t<<2^rt(e,0))<<2^rt(e,1))<<2^rt(e,2))<<2^rt(e,3):0}function Xs(e){return e.trim()}function ip(e,t){return(e=t.exec(e))?e[0]:e}function Ce(e,t,n){return e.replace(t,n)}function Ko(e,t){return e.indexOf(t)}function rt(e,t){return e.charCodeAt(t)|0}function Vn(e,t,n){return e.slice(t,n)}function Nt(e){return e.length}function Go(e){return e.length}function Nr(e,t){return t.push(e),e}function sp(e,t){return e.map(t).join("")}var _r=1,yn=1,Js=0,ft=0,Ze=0,bn="";function Mr(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:_r,column:yn,length:s,return:""}}function qn(e,t){return rp(Mr("",null,null,"",null,null,0),e,{length:-e.length},t)}function ap(){return Ze}function lp(){return Ze=ft>0?rt(bn,--ft):0,yn--,Ze===10&&(yn=1,_r--),Ze}function mt(){return Ze=ft<Js?rt(bn,ft++):0,yn++,Ze===10&&(yn=1,_r++),Ze}function _t(){return rt(bn,ft)}function $r(){return ft}function Wn(e,t){return Vn(bn,e,t)}function Hn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Qs(e){return _r=yn=1,Js=Nt(bn=e),ft=0,[]}function Zs(e){return bn="",e}function Fr(e){return Xs(Wn(ft-1,Xo(e===91?e+2:e===40?e+1:e)))}function up(e){for(;(Ze=_t())&&Ze<33;)mt();return Hn(e)>2||Hn(Ze)>3?"":" "}function cp(e,t){for(;--t&&mt()&&!(Ze<48||Ze>102||Ze>57&&Ze<65||Ze>70&&Ze<97););return Wn(e,$r()+(t<6&&_t()==32&&mt()==32))}function Xo(e){for(;mt();)switch(Ze){case e:return ft;case 34:case 39:e!==34&&e!==39&&Xo(Ze);break;case 40:e===41&&Xo(e);break;case 92:mt();break}return ft}function fp(e,t){for(;mt()&&e+Ze!==57;)if(e+Ze===84&&_t()===47)break;return"/*"+Wn(t,ft-1)+"*"+Ar(e===47?e:mt())}function pp(e){for(;!Hn(_t());)mt();return Wn(e,ft)}function dp(e){return Zs(jr("",null,null,null,[""],e=Qs(e),0,[0],e))}function jr(e,t,n,r,o,i,s,l,c){for(var u=0,f=0,p=s,h=0,d=0,m=0,g=1,b=1,E=1,k=0,S="",C=o,x=i,T=r,P=S;b;)switch(m=k,k=mt()){case 40:if(m!=108&&rt(P,p-1)==58){Ko(P+=Ce(Fr(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:P+=Fr(k);break;case 9:case 10:case 13:case 32:P+=up(m);break;case 92:P+=cp($r()-1,7);continue;case 47:switch(_t()){case 42:case 47:Nr(hp(fp(mt(),$r()),t,n),c);break;default:P+="/"}break;case 123*g:l[u++]=Nt(P)*E;case 125*g:case 59:case 0:switch(k){case 0:case 125:b=0;case 59+f:E==-1&&(P=Ce(P,/\f/g,"")),d>0&&Nt(P)-p&&Nr(d>32?ta(P+";",r,n,p-1):ta(Ce(P," ","")+";",r,n,p-2),c);break;case 59:P+=";";default:if(Nr(T=ea(P,t,n,u,f,o,l,S,C=[],x=[],p),i),k===123)if(f===0)jr(P,t,T,T,C,i,p,l,x);else switch(h===99&&rt(P,3)===110?100:h){case 100:case 108:case 109:case 115:jr(e,T,T,r&&Nr(ea(e,T,T,0,0,o,l,S,o,C=[],p),x),o,x,p,l,r?C:x);break;default:jr(P,T,T,T,[""],x,0,l,x)}}u=f=d=0,g=E=1,S=P="",p=s;break;case 58:p=1+Nt(P),d=m;default:if(g<1){if(k==123)--g;else if(k==125&&g++==0&&lp()==125)continue}switch(P+=Ar(k),k*g){case 38:E=f>0?1:(P+="\f",-1);break;case 44:l[u++]=(Nt(P)-1)*E,E=1;break;case 64:_t()===45&&(P+=Fr(mt())),h=_t(),f=p=Nt(S=P+=pp($r())),k++;break;case 45:m===45&&Nt(P)==2&&(g=0)}}return i}function ea(e,t,n,r,o,i,s,l,c,u,f){for(var p=o-1,h=o===0?i:[""],d=Go(h),m=0,g=0,b=0;m<r;++m)for(var E=0,k=Vn(e,p+1,p=np(g=s[m])),S=e;E<d;++E)(S=Xs(g>0?h[E]+" "+k:Ce(k,/&\f/g,h[E])))&&(c[b++]=S);return Mr(e,t,n,o===0?Ho:l,c,u,f)}function hp(e,t,n){return Mr(e,t,n,Ks,Ar(ap()),Vn(e,2,-2),0)}function ta(e,t,n,r){return Mr(e,t,n,Yo,Vn(e,0,r),Vn(e,r+1,-1),r)}function vn(e,t){for(var n="",r=Go(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function mp(e,t,n,r){switch(e.type){case tp:if(e.children.length)break;case ep:case Yo:return e.return=e.return||e.value;case Ks:return"";case Gs:return e.return=e.value+"{"+vn(e.children,r)+"}";case Ho:e.value=e.props.join(",")}return Nt(n=vn(e.children,r))?e.return=e.value+"{"+n+"}":""}function gp(e){var t=Go(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function yp(e){return function(t){t.root||(t=t.return)&&e(t)}}var bp=function(t,n,r){for(var o=0,i=0;o=i,i=_t(),o===38&&i===12&&(n[r]=1),!Hn(i);)mt();return Wn(t,ft)},vp=function(t,n){var r=-1,o=44;do switch(Hn(o)){case 0:o===38&&_t()===12&&(n[r]=1),t[r]+=bp(ft-1,n,r);break;case 2:t[r]+=Fr(o);break;case 4:if(o===44){t[++r]=_t()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ar(o)}while(o=mt());return t},xp=function(t,n){return Zs(vp(Qs(t),n))},na=new WeakMap,Sp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!na.get(r))&&!o){na.set(t,!0);for(var i=[],s=xp(n,i),l=r.props,c=0,u=0;c<s.length;c++)for(var f=0;f<l.length;f++,u++)t.props[u]=i[c]?s[c].replace(/&\f/g,l[f]):l[f]+" "+s[c]}}},Ep=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function ra(e,t){switch(op(e,t)){case 5103:return we+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return we+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return we+e+Ir+e+it+e+e;case 6828:case 4268:return we+e+it+e+e;case 6165:return we+e+it+"flex-"+e+e;case 5187:return we+e+Ce(e,/(\w+).+(:[^]+)/,we+"box-$1$2"+it+"flex-$1$2")+e;case 5443:return we+e+it+"flex-item-"+Ce(e,/flex-|-self/,"")+e;case 4675:return we+e+it+"flex-line-pack"+Ce(e,/align-content|flex-|-self/,"")+e;case 5548:return we+e+it+Ce(e,"shrink","negative")+e;case 5292:return we+e+it+Ce(e,"basis","preferred-size")+e;case 6060:return we+"box-"+Ce(e,"-grow","")+we+e+it+Ce(e,"grow","positive")+e;case 4554:return we+Ce(e,/([^-])(transform)/g,"$1"+we+"$2")+e;case 6187:return Ce(Ce(Ce(e,/(zoom-|grab)/,we+"$1"),/(image-set)/,we+"$1"),e,"")+e;case 5495:case 3959:return Ce(e,/(image-set\([^]*)/,we+"$1$`$1");case 4968:return Ce(Ce(e,/(.+:)(flex-)?(.*)/,we+"box-pack:$3"+it+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+we+e+e;case 4095:case 3583:case 4068:case 2532:return Ce(e,/(.+)-inline(.+)/,we+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Nt(e)-1-t>6)switch(rt(e,t+1)){case 109:if(rt(e,t+4)!==45)break;case 102:return Ce(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+Ir+(rt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ko(e,"stretch")?ra(Ce(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(rt(e,t+1)!==115)break;case 6444:switch(rt(e,Nt(e)-3-(~Ko(e,"!important")&&10))){case 107:return Ce(e,":",":"+we)+e;case 101:return Ce(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+we+(rt(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+it+"$2box$3")+e}break;case 5936:switch(rt(e,t+11)){case 114:return we+e+it+Ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+it+Ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+it+Ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return we+e+it+e+e}return e}var wp=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Yo:t.return=ra(t.value,t.length);break;case Gs:return vn([qn(t,{value:Ce(t.value,"@","@"+we)})],o);case Ho:if(t.length)return sp(t.props,function(i){switch(ip(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vn([qn(t,{props:[Ce(i,/:(read-\w+)/,":"+Ir+"$1")]})],o);case"::placeholder":return vn([qn(t,{props:[Ce(i,/:(plac\w+)/,":"+we+"input-$1")]}),qn(t,{props:[Ce(i,/:(plac\w+)/,":"+Ir+"$1")]}),qn(t,{props:[Ce(i,/:(plac\w+)/,it+"input-$1")]})],o)}return""})}},Cp=[wp],Tp=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||Cp,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),E=1;E<b.length;E++)i[b[E]]=!0;l.push(g)});var c,u=[Sp,Ep];{var f,p=[mp,yp(function(g){f.insert(g)})],h=gp(u.concat(o,p)),d=function(b){return vn(dp(b),h)};c=function(b,E,k,S){f=k,d(b?b+"{"+E.styles+"}":E.styles),S&&(m.inserted[E.name]=!0)}}var m={key:n,sheet:new Zf({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return m.sheet.hydrate(l),m},Dr={exports:{}},ke={};/** @license React v16.13.1
32
+ * react-is.production.min.js
33
+ *
34
+ * Copyright (c) Facebook, Inc. and its affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */var oa;function kp(){if(oa)return ke;oa=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var T=x.$$typeof;switch(T){case t:switch(x=x.type,x){case c:case u:case r:case i:case o:case p:return x;default:switch(x=x&&x.$$typeof,x){case l:case f:case m:case d:case s:return x;default:return T}}case n:return T}}}function C(x){return S(x)===u}return ke.AsyncMode=c,ke.ConcurrentMode=u,ke.ContextConsumer=l,ke.ContextProvider=s,ke.Element=t,ke.ForwardRef=f,ke.Fragment=r,ke.Lazy=m,ke.Memo=d,ke.Portal=n,ke.Profiler=i,ke.StrictMode=o,ke.Suspense=p,ke.isAsyncMode=function(x){return C(x)||S(x)===c},ke.isConcurrentMode=C,ke.isContextConsumer=function(x){return S(x)===l},ke.isContextProvider=function(x){return S(x)===s},ke.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},ke.isForwardRef=function(x){return S(x)===f},ke.isFragment=function(x){return S(x)===r},ke.isLazy=function(x){return S(x)===m},ke.isMemo=function(x){return S(x)===d},ke.isPortal=function(x){return S(x)===n},ke.isProfiler=function(x){return S(x)===i},ke.isStrictMode=function(x){return S(x)===o},ke.isSuspense=function(x){return S(x)===p},ke.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===u||x===i||x===o||x===p||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===d||x.$$typeof===s||x.$$typeof===l||x.$$typeof===f||x.$$typeof===b||x.$$typeof===E||x.$$typeof===k||x.$$typeof===g)},ke.typeOf=S,ke}var Oe={};/** @license React v16.13.1
39
+ * react-is.development.js
40
+ *
41
+ * Copyright (c) Facebook, Inc. and its affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ */var ia;function Op(){return ia||(ia=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(A){return typeof A=="string"||typeof A=="function"||A===r||A===u||A===i||A===o||A===p||A===h||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===d||A.$$typeof===s||A.$$typeof===l||A.$$typeof===f||A.$$typeof===b||A.$$typeof===E||A.$$typeof===k||A.$$typeof===g)}function C(A){if(typeof A=="object"&&A!==null){var be=A.$$typeof;switch(be){case t:var H=A.type;switch(H){case c:case u:case r:case i:case o:case p:return H;default:var ve=H&&H.$$typeof;switch(ve){case l:case f:case m:case d:case s:return ve;default:return be}}case n:return be}}}var x=c,T=u,P=l,z=s,U=t,y=f,I=r,_=m,j=d,F=n,N=i,$=o,Y=p,G=!1;function Z(A){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),v(A)||C(A)===c}function v(A){return C(A)===u}function q(A){return C(A)===l}function ee(A){return C(A)===s}function w(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function X(A){return C(A)===f}function ne(A){return C(A)===r}function Q(A){return C(A)===m}function oe(A){return C(A)===d}function se(A){return C(A)===n}function ie(A){return C(A)===i}function J(A){return C(A)===o}function ae(A){return C(A)===p}Oe.AsyncMode=x,Oe.ConcurrentMode=T,Oe.ContextConsumer=P,Oe.ContextProvider=z,Oe.Element=U,Oe.ForwardRef=y,Oe.Fragment=I,Oe.Lazy=_,Oe.Memo=j,Oe.Portal=F,Oe.Profiler=N,Oe.StrictMode=$,Oe.Suspense=Y,Oe.isAsyncMode=Z,Oe.isConcurrentMode=v,Oe.isContextConsumer=q,Oe.isContextProvider=ee,Oe.isElement=w,Oe.isForwardRef=X,Oe.isFragment=ne,Oe.isLazy=Q,Oe.isMemo=oe,Oe.isPortal=se,Oe.isProfiler=ie,Oe.isStrictMode=J,Oe.isSuspense=ae,Oe.isValidElementType=S,Oe.typeOf=C}()),Oe}var sa;function Rp(){return sa||(sa=1,process.env.NODE_ENV==="production"?Dr.exports=kp():Dr.exports=Op()),Dr.exports}var Jo,aa;function Pp(){if(aa)return Jo;aa=1;var e=Rp(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function s(m){return e.isMemo(m)?o:i[m.$$typeof]||t}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function d(m,g,b){if(typeof g!="string"){if(h){var E=p(g);E&&E!==h&&d(m,E,b)}var k=c(g);u&&(k=k.concat(u(g)));for(var S=s(m),C=s(g),x=0;x<k.length;++x){var T=k[x];if(!n[T]&&!(b&&b[T])&&!(C&&C[T])&&!(S&&S[T])){var P=f(g,T);try{l(m,T,P)}catch{}}}}return m}return Jo=d,Jo}Pp();var Ip=!0;function Ap(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var la=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Ip===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},ua=function(t,n,r){la(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Np(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _p={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,scale: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},Mp=!1,$p=/[A-Z]|^ms/g,Fp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ca=function(t){return t.charCodeAt(1)===45},fa=function(t){return t!=null&&typeof t!="boolean"},Qo=Ys(function(e){return ca(e)?e:e.replace($p,"-$&").toLowerCase()}),pa=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Fp,function(r,o,i){return Mt={name:o,styles:i,next:Mt},o})}return _p[t]!==1&&!ca(t)&&typeof n=="number"&&n!==0?n+"px":n},jp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Yn(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Mt={name:o.name,styles:o.styles,next:Mt},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Mt={name:s.name,styles:s.styles,next:Mt},s=s.next;var l=i.styles+";";return l}return Dp(e,t,n)}case"function":{if(e!==void 0){var c=Mt,u=n(e);return Mt=c,Yn(e,t,u)}break}}var f=n;if(t==null)return f;var p=t[f];return p!==void 0?p:f}function Dp(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Yn(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":fa(l)&&(r+=Qo(i)+":"+pa(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&Mp)throw new Error(jp);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var c=0;c<s.length;c++)fa(s[c])&&(r+=Qo(i)+":"+pa(i,s[c])+";");else{var u=Yn(e,t,s);switch(i){case"animation":case"animationName":{r+=Qo(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var da=/label:\s*([^\s;{]+)\s*(;|$)/g,Mt;function Lr(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Mt=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=Yn(n,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=Yn(n,t,e[l]),r){var c=i;o+=c[l]}da.lastIndex=0;for(var u="",f;(f=da.exec(o))!==null;)u+="-"+f[1];var p=Np(o)+u;return{name:p,styles:o,next:Mt}}var Lp=function(t){return t()},ha=R.useInsertionEffect?R.useInsertionEffect:!1,Bp=ha||Lp,ma=ha||R.useLayoutEffect,ga=R.createContext(typeof HTMLElement<"u"?Tp({key:"css"}):null);ga.Provider;var ya=function(t){return he.forwardRef(function(n,r){var o=he.useContext(ga);return t(n,o,r)})},Zo=R.createContext({}),zp=ya(function(e,t){var n=e.styles,r=Lr([n],void 0,R.useContext(Zo)),o=R.useRef();return ma(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",i),s.hydrate([c])),o.current=[s,l],function(){s.flush()}},[t]),ma(function(){var i=o.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&ua(t,r.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function Br(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Lr(t)}var xn=function(){var t=Br.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Up=Gf,Vp=function(t){return t!=="theme"},ba=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Up:Vp},va=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},qp=!1,Wp=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return la(n,r,o),Bp(function(){return ua(n,r,o)}),null},Hp=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=va(t,n,r),c=l||ba(o),u=!c("as");return function(){var f=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{p.push(f[0][0]);for(var h=f.length,d=1;d<h;d++)p.push(f[d],f[0][d])}var m=ya(function(g,b,E){var k=u&&g.as||o,S="",C=[],x=g;if(g.theme==null){x={};for(var T in g)x[T]=g[T];x.theme=R.useContext(Zo)}typeof g.className=="string"?S=Ap(b.registered,C,g.className):g.className!=null&&(S=g.className+" ");var P=Lr(p.concat(C),b.registered,x);S+=b.key+"-"+P.name,s!==void 0&&(S+=" "+s);var z=u&&l===void 0?ba(k):c,U={};for(var y in g)u&&y==="as"||z(y)&&(U[y]=g[y]);return U.className=S,E&&(U.ref=E),R.createElement(R.Fragment,null,R.createElement(Wp,{cache:b,serialized:P,isStringTag:typeof k=="string"}),R.createElement(k,U))});return m.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=o,m.__emotion_styles=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return s===void 0&&qp?"NO_COMPONENT_SELECTOR":"."+s}}),m.withComponent=function(g,b){return e(g,Pr({},n,b,{shouldForwardProp:va(m,b,!0)})).apply(void 0,p)},m}},Yp=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ei=Hp.bind();Yp.forEach(function(e){ei[e]=ei(e)});var zr={exports:{}},Ur={exports:{}},Re={};/** @license React v16.13.1
46
+ * react-is.production.min.js
47
+ *
48
+ * Copyright (c) Facebook, Inc. and its affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ */var xa;function Kp(){if(xa)return Re;xa=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var T=x.$$typeof;switch(T){case t:switch(x=x.type,x){case c:case u:case r:case i:case o:case p:return x;default:switch(x=x&&x.$$typeof,x){case l:case f:case m:case d:case s:return x;default:return T}}case n:return T}}}function C(x){return S(x)===u}return Re.AsyncMode=c,Re.ConcurrentMode=u,Re.ContextConsumer=l,Re.ContextProvider=s,Re.Element=t,Re.ForwardRef=f,Re.Fragment=r,Re.Lazy=m,Re.Memo=d,Re.Portal=n,Re.Profiler=i,Re.StrictMode=o,Re.Suspense=p,Re.isAsyncMode=function(x){return C(x)||S(x)===c},Re.isConcurrentMode=C,Re.isContextConsumer=function(x){return S(x)===l},Re.isContextProvider=function(x){return S(x)===s},Re.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},Re.isForwardRef=function(x){return S(x)===f},Re.isFragment=function(x){return S(x)===r},Re.isLazy=function(x){return S(x)===m},Re.isMemo=function(x){return S(x)===d},Re.isPortal=function(x){return S(x)===n},Re.isProfiler=function(x){return S(x)===i},Re.isStrictMode=function(x){return S(x)===o},Re.isSuspense=function(x){return S(x)===p},Re.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===r||x===u||x===i||x===o||x===p||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===d||x.$$typeof===s||x.$$typeof===l||x.$$typeof===f||x.$$typeof===b||x.$$typeof===E||x.$$typeof===k||x.$$typeof===g)},Re.typeOf=S,Re}var Pe={};/** @license React v16.13.1
53
+ * react-is.development.js
54
+ *
55
+ * Copyright (c) Facebook, Inc. and its affiliates.
56
+ *
57
+ * This source code is licensed under the MIT license found in the
58
+ * LICENSE file in the root directory of this source tree.
59
+ */var Sa;function Gp(){return Sa||(Sa=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(A){return typeof A=="string"||typeof A=="function"||A===r||A===u||A===i||A===o||A===p||A===h||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===d||A.$$typeof===s||A.$$typeof===l||A.$$typeof===f||A.$$typeof===b||A.$$typeof===E||A.$$typeof===k||A.$$typeof===g)}function C(A){if(typeof A=="object"&&A!==null){var be=A.$$typeof;switch(be){case t:var H=A.type;switch(H){case c:case u:case r:case i:case o:case p:return H;default:var ve=H&&H.$$typeof;switch(ve){case l:case f:case m:case d:case s:return ve;default:return be}}case n:return be}}}var x=c,T=u,P=l,z=s,U=t,y=f,I=r,_=m,j=d,F=n,N=i,$=o,Y=p,G=!1;function Z(A){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),v(A)||C(A)===c}function v(A){return C(A)===u}function q(A){return C(A)===l}function ee(A){return C(A)===s}function w(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function X(A){return C(A)===f}function ne(A){return C(A)===r}function Q(A){return C(A)===m}function oe(A){return C(A)===d}function se(A){return C(A)===n}function ie(A){return C(A)===i}function J(A){return C(A)===o}function ae(A){return C(A)===p}Pe.AsyncMode=x,Pe.ConcurrentMode=T,Pe.ContextConsumer=P,Pe.ContextProvider=z,Pe.Element=U,Pe.ForwardRef=y,Pe.Fragment=I,Pe.Lazy=_,Pe.Memo=j,Pe.Portal=F,Pe.Profiler=N,Pe.StrictMode=$,Pe.Suspense=Y,Pe.isAsyncMode=Z,Pe.isConcurrentMode=v,Pe.isContextConsumer=q,Pe.isContextProvider=ee,Pe.isElement=w,Pe.isForwardRef=X,Pe.isFragment=ne,Pe.isLazy=Q,Pe.isMemo=oe,Pe.isPortal=se,Pe.isProfiler=ie,Pe.isStrictMode=J,Pe.isSuspense=ae,Pe.isValidElementType=S,Pe.typeOf=C}()),Pe}var Ea;function wa(){return Ea||(Ea=1,process.env.NODE_ENV==="production"?Ur.exports=Kp():Ur.exports=Gp()),Ur.exports}/*
60
+ object-assign
61
+ (c) Sindre Sorhus
62
+ @license MIT
63
+ */var ti,Ca;function Xp(){if(Ca)return ti;Ca=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ti=o()?Object.assign:function(i,s){for(var l,c=r(i),u,f=1;f<arguments.length;f++){l=Object(arguments[f]);for(var p in l)t.call(l,p)&&(c[p]=l[p]);if(e){u=e(l);for(var h=0;h<u.length;h++)n.call(l,u[h])&&(c[u[h]]=l[u[h]])}}return c},ti}var ni,Ta;function ri(){if(Ta)return ni;Ta=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ni=e,ni}var oi,ka;function Oa(){return ka||(ka=1,oi=Function.call.bind(Object.prototype.hasOwnProperty)),oi}var ii,Ra;function Jp(){if(Ra)return ii;Ra=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ri(),n={},r=Oa();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,l,c,u){if(process.env.NODE_ENV!=="production"){for(var f in i)if(r(i,f)){var p;try{if(typeof i[f]!="function"){var h=Error((c||"React class")+": "+l+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[f](s,f,c,l,null,t)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var d=u?u():"";e("Failed "+l+" type: "+p.message+(d??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ii=o,ii}var si,Pa;function Qp(){if(Pa)return si;Pa=1;var e=wa(),t=Xp(),n=ri(),r=Oa(),o=Jp(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return si=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(v){var q=v&&(u&&v[u]||v[f]);if(typeof q=="function")return q}var h="<<anonymous>>",d={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:k(),arrayOf:S,element:C(),elementType:x(),instanceOf:T,node:y(),objectOf:z,oneOf:P,oneOfType:U,shape:_,exact:j};function m(v,q){return v===q?v!==0||1/v===1/q:v!==v&&q!==q}function g(v,q){this.message=v,this.data=q&&typeof q=="object"?q:{},this.stack=""}g.prototype=Error.prototype;function b(v){if(process.env.NODE_ENV!=="production")var q={},ee=0;function w(ne,Q,oe,se,ie,J,ae){if(se=se||h,J=J||oe,ae!==n){if(c){var A=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 A.name="Invariant Violation",A}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=se+":"+oe;!q[be]&&ee<3&&(i("You are manually calling a React.PropTypes validation function for the `"+J+"` prop on `"+se+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),q[be]=!0,ee++)}}return Q[oe]==null?ne?Q[oe]===null?new g("The "+ie+" `"+J+"` is marked as required "+("in `"+se+"`, but its value is `null`.")):new g("The "+ie+" `"+J+"` is marked as required in "+("`"+se+"`, but its value is `undefined`.")):null:v(Q,oe,se,ie,J)}var X=w.bind(null,!1);return X.isRequired=w.bind(null,!0),X}function E(v){function q(ee,w,X,ne,Q,oe){var se=ee[w],ie=$(se);if(ie!==v){var J=Y(se);return new g("Invalid "+ne+" `"+Q+"` of type "+("`"+J+"` supplied to `"+X+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return b(q)}function k(){return b(s)}function S(v){function q(ee,w,X,ne,Q){if(typeof v!="function")return new g("Property `"+Q+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var oe=ee[w];if(!Array.isArray(oe)){var se=$(oe);return new g("Invalid "+ne+" `"+Q+"` of type "+("`"+se+"` supplied to `"+X+"`, expected an array."))}for(var ie=0;ie<oe.length;ie++){var J=v(oe,ie,X,ne,Q+"["+ie+"]",n);if(J instanceof Error)return J}return null}return b(q)}function C(){function v(q,ee,w,X,ne){var Q=q[ee];if(!l(Q)){var oe=$(Q);return new g("Invalid "+X+" `"+ne+"` of type "+("`"+oe+"` supplied to `"+w+"`, expected a single ReactElement."))}return null}return b(v)}function x(){function v(q,ee,w,X,ne){var Q=q[ee];if(!e.isValidElementType(Q)){var oe=$(Q);return new g("Invalid "+X+" `"+ne+"` of type "+("`"+oe+"` supplied to `"+w+"`, expected a single ReactElement type."))}return null}return b(v)}function T(v){function q(ee,w,X,ne,Q){if(!(ee[w]instanceof v)){var oe=v.name||h,se=Z(ee[w]);return new g("Invalid "+ne+" `"+Q+"` of type "+("`"+se+"` supplied to `"+X+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(q)}function P(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function q(ee,w,X,ne,Q){for(var oe=ee[w],se=0;se<v.length;se++)if(m(oe,v[se]))return null;var ie=JSON.stringify(v,function(ae,A){var be=Y(A);return be==="symbol"?String(A):A});return new g("Invalid "+ne+" `"+Q+"` of value `"+String(oe)+"` "+("supplied to `"+X+"`, expected one of "+ie+"."))}return b(q)}function z(v){function q(ee,w,X,ne,Q){if(typeof v!="function")return new g("Property `"+Q+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var oe=ee[w],se=$(oe);if(se!=="object")return new g("Invalid "+ne+" `"+Q+"` of type "+("`"+se+"` supplied to `"+X+"`, expected an object."));for(var ie in oe)if(r(oe,ie)){var J=v(oe,ie,X,ne,Q+"."+ie,n);if(J instanceof Error)return J}return null}return b(q)}function U(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var q=0;q<v.length;q++){var ee=v[q];if(typeof ee!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+G(ee)+" at index "+q+"."),s}function w(X,ne,Q,oe,se){for(var ie=[],J=0;J<v.length;J++){var ae=v[J],A=ae(X,ne,Q,oe,se,n);if(A==null)return null;A.data&&r(A.data,"expectedType")&&ie.push(A.data.expectedType)}var be=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new g("Invalid "+oe+" `"+se+"` supplied to "+("`"+Q+"`"+be+"."))}return b(w)}function y(){function v(q,ee,w,X,ne){return F(q[ee])?null:new g("Invalid "+X+" `"+ne+"` supplied to "+("`"+w+"`, expected a ReactNode."))}return b(v)}function I(v,q,ee,w,X){return new g((v||"React class")+": "+q+" type `"+ee+"."+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function _(v){function q(ee,w,X,ne,Q){var oe=ee[w],se=$(oe);if(se!=="object")return new g("Invalid "+ne+" `"+Q+"` of type `"+se+"` "+("supplied to `"+X+"`, expected `object`."));for(var ie in v){var J=v[ie];if(typeof J!="function")return I(X,ne,Q,ie,Y(J));var ae=J(oe,ie,X,ne,Q+"."+ie,n);if(ae)return ae}return null}return b(q)}function j(v){function q(ee,w,X,ne,Q){var oe=ee[w],se=$(oe);if(se!=="object")return new g("Invalid "+ne+" `"+Q+"` of type `"+se+"` "+("supplied to `"+X+"`, expected `object`."));var ie=t({},ee[w],v);for(var J in ie){var ae=v[J];if(r(v,J)&&typeof ae!="function")return I(X,ne,Q,J,Y(ae));if(!ae)return new g("Invalid "+ne+" `"+Q+"` key `"+J+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(ee[w],null," ")+`
64
+ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var A=ae(oe,J,X,ne,Q+"."+J,n);if(A)return A}return null}return b(q)}function F(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(F);if(v===null||l(v))return!0;var q=p(v);if(q){var ee=q.call(v),w;if(q!==v.entries){for(;!(w=ee.next()).done;)if(!F(w.value))return!1}else for(;!(w=ee.next()).done;){var X=w.value;if(X&&!F(X[1]))return!1}}else return!1;return!0;default:return!1}}function N(v,q){return v==="symbol"?!0:q?q["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&q instanceof Symbol:!1}function $(v){var q=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":N(q,v)?"symbol":q}function Y(v){if(typeof v>"u"||v===null)return""+v;var q=$(v);if(q==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return q}function G(v){var q=Y(v);switch(q){case"array":case"object":return"an "+q;case"boolean":case"date":case"regexp":return"a "+q;default:return q}}function Z(v){return!v.constructor||!v.constructor.name?h:v.constructor.name}return d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},si}var ai,Ia;function Zp(){if(Ia)return ai;Ia=1;var e=ri();function t(){}function n(){}return n.resetWarningCache=t,ai=function(){function r(s,l,c,u,f,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},ai}var Aa;function ed(){if(Aa)return zr.exports;if(Aa=1,process.env.NODE_ENV!=="production"){var e=wa(),t=!0;zr.exports=Qp()(e.isElement,t)}else zr.exports=Zp()();return zr.exports}var td=ed();const a=Wo(td);function nd(e){return e==null||Object.keys(e).length===0}function Na(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(nd(o)?n:o):t;return V.jsx(zp,{styles:r})}process.env.NODE_ENV!=="production"&&(Na.propTypes={defaultTheme:a.object,styles:a.oneOfType([a.array,a.string,a.object,a.func])});/**
65
+ * @mui/styled-engine v6.1.10
66
+ *
67
+ * @license MIT
68
+ * This source code is licensed under the MIT license found in the
69
+ * LICENSE file in the root directory of this source tree.
70
+ */function _a(e,t){const n=ei(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
71
+ `)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function rd(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Ma=[];function $a(e){return Ma[0]=e,Lr(Ma)}function $t(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 Fa(e){if(R.isValidElement(e)||!$t(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Fa(e[n])}),t}function st(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return $t(e)&&$t(t)&&Object.keys(t).forEach(o=>{R.isValidElement(t[o])?r[o]=t[o]:$t(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&$t(e[o])?r[o]=st(e[o],t[o],n):n.clone?r[o]=$t(t[o])?Fa(t[o]):t[o]:r[o]=t[o]}),r}const od=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function id(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=od(t),s=Object.keys(i);function l(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function c(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function u(h,d){const m=s.indexOf(d);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(m!==-1&&typeof t[s[m]]=="number"?t[s[m]]:d)-r/100}${n})`}function f(h){return s.indexOf(h)+1<s.length?u(h,s[s.indexOf(h)+1]):l(h)}function p(h){const d=s.indexOf(h);return d===0?l(s[1]):d===s.length-1?c(s[d]):u(h,s[s.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:c,between:u,only:f,not:p,unit:n,...o}}function sd(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function ad(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function ld(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
72
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:At(18,`(${t})`));return null}const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function ud(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const c=t(e.breakpoints.not(...l),s);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const cd={borderRadius:4},Gt=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.string,a.object,a.array]):{};function Kn(e,t){return t?st(e,t,{clone:!1}):e}const Vr={xs:0,sm:600,md:900,lg:1200,xl:1536},ja={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Vr[e]}px)`},fd={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Vr[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function qt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||ja;return t.reduce((s,l,c)=>(s[i.up(i.keys[c])]=n(t[c]),s),{})}if(typeof t=="object"){const i=r.breakpoints||ja;return Object.keys(t).reduce((s,l)=>{if(ad(i.keys,l)){const c=ld(r.containerQueries?r:fd,l);c&&(s[c]=n(t[l],l))}else if(Object.keys(i.values||Vr).includes(l)){const c=i.up(l);s[c]=n(t[l],l)}else{const c=l;s[c]=t[c]}return s},{})}return n(t)}function pd(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function dd(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function ce(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":At(7));return e.charAt(0).toUpperCase()+e.slice(1)}function qr(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Wr(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=qr(e,n)||r,t&&(o=t(o,r,e)),o}function Qe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],c=s.theme,u=qr(c,r)||{};return qt(s,l,p=>{let h=Wr(u,o,p);return p===h&&typeof p=="string"&&(h=Wr(u,o,`${t}${p==="default"?"":ce(p)}`,p)),n===!1?h:{[n]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Gt}:{},i.filterProps=[t],i}function hd(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const md={m:"margin",p:"padding"},gd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Da={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yd=hd(e=>{if(e.length>2)if(Da[e])e=Da[e];else return[e];const[t,n]=e.split(""),r=md[t],o=gd[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Hr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Yr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],bd=[...Hr,...Yr];function Gn(e,t,n,r){const o=qr(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),typeof o=="string"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(`
73
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
74
+ `)));const l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
75
+ `)),()=>{})}function li(e){return Gn(e,"spacing",8,"spacing")}function Xn(e,t){return typeof t=="string"||t==null?t:e(t)}function vd(e,t){return n=>e.reduce((r,o)=>(r[o]=Xn(t,n),r),{})}function xd(e,t,n,r){if(!t.includes(n))return null;const o=yd(n),i=vd(o,r),s=e[n];return qt(e,s,i)}function La(e,t){const n=li(e.theme);return Object.keys(e).map(r=>xd(e,t,r,n)).reduce(Kn,{})}function Ye(e){return La(e,Hr)}Ye.propTypes=process.env.NODE_ENV!=="production"?Hr.reduce((e,t)=>(e[t]=Gt,e),{}):{},Ye.filterProps=Hr;function Ke(e){return La(e,Yr)}Ke.propTypes=process.env.NODE_ENV!=="production"?Yr.reduce((e,t)=>(e[t]=Gt,e),{}):{},Ke.filterProps=Yr,process.env.NODE_ENV!=="production"&&bd.reduce((e,t)=>(e[t]=Gt,e),{});function Ba(e=8,t=li({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function Kr(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Kn(o,t[i](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Et(e){return typeof e!="number"?e:`${e}px solid`}function wt(e,t){return Qe({prop:e,themeKey:"borders",transform:t})}const Sd=wt("border",Et),Ed=wt("borderTop",Et),wd=wt("borderRight",Et),Cd=wt("borderBottom",Et),Td=wt("borderLeft",Et),kd=wt("borderColor"),Od=wt("borderTopColor"),Rd=wt("borderRightColor"),Pd=wt("borderBottomColor"),Id=wt("borderLeftColor"),Ad=wt("outline",Et),Nd=wt("outlineColor"),Gr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Gn(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Xn(t,r)});return qt(e,e.borderRadius,n)}return null};Gr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Gt}:{},Gr.filterProps=["borderRadius"],Kr(Sd,Ed,wd,Cd,Td,kd,Od,Rd,Pd,Id,Gr,Ad,Nd);const Xr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Gn(e.theme,"spacing",8,"gap"),n=r=>({gap:Xn(t,r)});return qt(e,e.gap,n)}return null};Xr.propTypes=process.env.NODE_ENV!=="production"?{gap:Gt}:{},Xr.filterProps=["gap"];const Jr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Gn(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Xn(t,r)});return qt(e,e.columnGap,n)}return null};Jr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Gt}:{},Jr.filterProps=["columnGap"];const Qr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Gn(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Xn(t,r)});return qt(e,e.rowGap,n)}return null};Qr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Gt}:{},Qr.filterProps=["rowGap"];const _d=Qe({prop:"gridColumn"}),Md=Qe({prop:"gridRow"}),$d=Qe({prop:"gridAutoFlow"}),Fd=Qe({prop:"gridAutoColumns"}),jd=Qe({prop:"gridAutoRows"}),Dd=Qe({prop:"gridTemplateColumns"}),Ld=Qe({prop:"gridTemplateRows"}),Bd=Qe({prop:"gridTemplateAreas"}),zd=Qe({prop:"gridArea"});Kr(Xr,Jr,Qr,_d,Md,$d,Fd,jd,Dd,Ld,Bd,zd);function Sn(e,t){return t==="grey"?t:e}const Ud=Qe({prop:"color",themeKey:"palette",transform:Sn}),Vd=Qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Sn}),qd=Qe({prop:"backgroundColor",themeKey:"palette",transform:Sn});Kr(Ud,Vd,qd);function gt(e){return e<=1&&e!==0?`${e*100}%`:e}const Wd=Qe({prop:"width",transform:gt}),ui=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,l,c;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||Vr[n];return r?((c=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:c.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:gt(n)}};return qt(e,e.maxWidth,t)}return null};ui.filterProps=["maxWidth"];const Hd=Qe({prop:"minWidth",transform:gt}),Yd=Qe({prop:"height",transform:gt}),Kd=Qe({prop:"maxHeight",transform:gt}),Gd=Qe({prop:"minHeight",transform:gt});Qe({prop:"size",cssProperty:"width",transform:gt}),Qe({prop:"size",cssProperty:"height",transform:gt});const Xd=Qe({prop:"boxSizing"});Kr(Wd,ui,Hd,Yd,Kd,Gd,Xd);const Jn={border:{themeKey:"borders",transform:Et},borderTop:{themeKey:"borders",transform:Et},borderRight:{themeKey:"borders",transform:Et},borderBottom:{themeKey:"borders",transform:Et},borderLeft:{themeKey:"borders",transform:Et},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Et},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Gr},color:{themeKey:"palette",transform:Sn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Sn},backgroundColor:{themeKey:"palette",transform:Sn},p:{style:Ke},pt:{style:Ke},pr:{style:Ke},pb:{style:Ke},pl:{style:Ke},px:{style:Ke},py:{style:Ke},padding:{style:Ke},paddingTop:{style:Ke},paddingRight:{style:Ke},paddingBottom:{style:Ke},paddingLeft:{style:Ke},paddingX:{style:Ke},paddingY:{style:Ke},paddingInline:{style:Ke},paddingInlineStart:{style:Ke},paddingInlineEnd:{style:Ke},paddingBlock:{style:Ke},paddingBlockStart:{style:Ke},paddingBlockEnd:{style:Ke},m:{style:Ye},mt:{style:Ye},mr:{style:Ye},mb:{style:Ye},ml:{style:Ye},mx:{style:Ye},my:{style:Ye},margin:{style:Ye},marginTop:{style:Ye},marginRight:{style:Ye},marginBottom:{style:Ye},marginLeft:{style:Ye},marginX:{style:Ye},marginY:{style:Ye},marginInline:{style:Ye},marginInlineStart:{style:Ye},marginInlineEnd:{style:Ye},marginBlock:{style:Ye},marginBlockStart:{style:Ye},marginBlockEnd:{style:Ye},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:Xr},rowGap:{style:Qr},columnGap:{style:Jr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:gt},maxWidth:{style:ui},minWidth:{transform:gt},height:{transform:gt},maxHeight:{transform:gt},minHeight:{transform:gt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Jd(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Qd(e,t){return typeof e=="function"?e(t):e}function Zd(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:c=n,themeKey:u,transform:f,style:p}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const h=qr(o,u)||{};return p?p(s):qt(s,r,m=>{let g=Wr(h,f,m);return m===g&&typeof m=="string"&&(g=Wr(h,f,`${n}${m==="default"?"":ce(m)}`,m)),c===!1?g:{[c]:g}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??Jn;function s(l){let c=l;if(typeof l=="function")c=l(o);else if(typeof l!="object")return l;if(!c)return null;const u=pd(o.breakpoints),f=Object.keys(u);let p=u;return Object.keys(c).forEach(h=>{const d=Qd(c[h],o);if(d!=null)if(typeof d=="object")if(i[h])p=Kn(p,e(h,d,o,i));else{const m=qt({theme:o},d,g=>({[h]:g}));Jd(m,d)?p[h]=t({sx:d,theme:o}):p=Kn(p,m)}else p=Kn(p,e(h,d,o,i))}),sd(o,dd(f,p))}return Array.isArray(r)?r.map(s):s(r)}return t}const tn=Zd();tn.filterProps=["sx"];function eh(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function ci(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,l=id(n),c=Ba(o);let u=st({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:c,shape:{...cd,...i}},s);return u=ud(u),u.applyStyles=eh,u=t.reduce((f,p)=>st(f,p),u),u.unstable_sxConfig={...Jn,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(p){return tn({sx:p,theme:this})},u}function th(e){return Object.keys(e).length===0}function za(e=null){const t=R.useContext(Zo);return!t||th(t)?e:t}const nh=ci();function fi(e=nh){return za(e)}function Ua({styles:e,themeId:t,defaultTheme:n={}}){const r=fi(n),o=typeof e=="function"?e(t&&r[t]||r):e;return V.jsx(Na,{styles:o})}process.env.NODE_ENV!=="production"&&(Ua.propTypes={defaultTheme:a.object,styles:a.oneOfType([a.array,a.func,a.number,a.object,a.string,a.bool]),themeId:a.string});const rh=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??Jn;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Va(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=rh(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return $t(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}const qa=e=>e,Wa=(()=>{let e=qa;return{configure(t){e=t},generate(t){return e(t)},reset(){e=qa}}})();function Ha(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ha(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ee(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ha(e))&&(r&&(r+=" "),r+=t);return r}function oh(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=_a("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(tn);return R.forwardRef(function(c,u){const f=fi(n),{className:p,component:h="div",...d}=Va(c);return V.jsx(i,{as:h,ref:u,className:Ee(p,o?o(r):r),theme:t&&f[t]||f,...d})})}const ih={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 Fe(e,t,n="Mui"){const r=ih[t];return r?`${n}-${r}`:`${Wa.generate(e)}-${t}`}function je(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Fe(e,o,n)}),r}var Zr={exports:{}},Ie={};/**
76
+ * @license React
77
+ * react-is.production.min.js
78
+ *
79
+ * Copyright (c) Facebook, Inc. and its affiliates.
80
+ *
81
+ * This source code is licensed under the MIT license found in the
82
+ * LICENSE file in the root directory of this source tree.
83
+ */var Ya;function sh(){if(Ya)return Ie;Ya=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function g(b){if(typeof b=="object"&&b!==null){var E=b.$$typeof;switch(E){case e:switch(b=b.type,b){case n:case o:case r:case u:case f:return b;default:switch(b=b&&b.$$typeof,b){case l:case s:case c:case h:case p:case i:return b;default:return E}}case t:return E}}}return Ie.ContextConsumer=s,Ie.ContextProvider=i,Ie.Element=e,Ie.ForwardRef=c,Ie.Fragment=n,Ie.Lazy=h,Ie.Memo=p,Ie.Portal=t,Ie.Profiler=o,Ie.StrictMode=r,Ie.Suspense=u,Ie.SuspenseList=f,Ie.isAsyncMode=function(){return!1},Ie.isConcurrentMode=function(){return!1},Ie.isContextConsumer=function(b){return g(b)===s},Ie.isContextProvider=function(b){return g(b)===i},Ie.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ie.isForwardRef=function(b){return g(b)===c},Ie.isFragment=function(b){return g(b)===n},Ie.isLazy=function(b){return g(b)===h},Ie.isMemo=function(b){return g(b)===p},Ie.isPortal=function(b){return g(b)===t},Ie.isProfiler=function(b){return g(b)===o},Ie.isStrictMode=function(b){return g(b)===r},Ie.isSuspense=function(b){return g(b)===u},Ie.isSuspenseList=function(b){return g(b)===f},Ie.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===o||b===r||b===u||b===f||b===d||typeof b=="object"&&b!==null&&(b.$$typeof===h||b.$$typeof===p||b.$$typeof===i||b.$$typeof===s||b.$$typeof===c||b.$$typeof===m||b.getModuleId!==void 0)},Ie.typeOf=g,Ie}var Ae={};/**
84
+ * @license React
85
+ * react-is.development.js
86
+ *
87
+ * Copyright (c) Facebook, Inc. and its affiliates.
88
+ *
89
+ * This source code is licensed under the MIT license found in the
90
+ * LICENSE file in the root directory of this source tree.
91
+ */var Ka;function ah(){return Ka||(Ka=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),m=!1,g=!1,b=!1,E=!1,k=!1,S;S=Symbol.for("react.module.reference");function C(H){return!!(typeof H=="string"||typeof H=="function"||H===n||H===o||k||H===r||H===u||H===f||E||H===d||m||g||b||typeof H=="object"&&H!==null&&(H.$$typeof===h||H.$$typeof===p||H.$$typeof===i||H.$$typeof===s||H.$$typeof===c||H.$$typeof===S||H.getModuleId!==void 0))}function x(H){if(typeof H=="object"&&H!==null){var ve=H.$$typeof;switch(ve){case e:var Xe=H.type;switch(Xe){case n:case o:case r:case u:case f:return Xe;default:var Be=Xe&&Xe.$$typeof;switch(Be){case l:case s:case c:case h:case p:case i:return Be;default:return ve}}case t:return ve}}}var T=s,P=i,z=e,U=c,y=n,I=h,_=p,j=t,F=o,N=r,$=u,Y=f,G=!1,Z=!1;function v(H){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(H){return Z||(Z=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(H){return x(H)===s}function w(H){return x(H)===i}function X(H){return typeof H=="object"&&H!==null&&H.$$typeof===e}function ne(H){return x(H)===c}function Q(H){return x(H)===n}function oe(H){return x(H)===h}function se(H){return x(H)===p}function ie(H){return x(H)===t}function J(H){return x(H)===o}function ae(H){return x(H)===r}function A(H){return x(H)===u}function be(H){return x(H)===f}Ae.ContextConsumer=T,Ae.ContextProvider=P,Ae.Element=z,Ae.ForwardRef=U,Ae.Fragment=y,Ae.Lazy=I,Ae.Memo=_,Ae.Portal=j,Ae.Profiler=F,Ae.StrictMode=N,Ae.Suspense=$,Ae.SuspenseList=Y,Ae.isAsyncMode=v,Ae.isConcurrentMode=q,Ae.isContextConsumer=ee,Ae.isContextProvider=w,Ae.isElement=X,Ae.isForwardRef=ne,Ae.isFragment=Q,Ae.isLazy=oe,Ae.isMemo=se,Ae.isPortal=ie,Ae.isProfiler=J,Ae.isStrictMode=ae,Ae.isSuspense=A,Ae.isSuspenseList=be,Ae.isValidElementType=C,Ae.typeOf=x}()),Ae}var Ga;function lh(){return Ga||(Ga=1,process.env.NODE_ENV==="production"?Zr.exports=sh():Zr.exports=ah()),Zr.exports}var Qn=lh();function Xa(e,t=""){return e.displayName||e.name||t}function Ja(e,t,n){const r=Xa(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function uh(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Xa(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Qn.ForwardRef:return Ja(e,e.render,"ForwardRef");case Qn.Memo:return Ja(e,e.type,"memo");default:return}}}function Qa(e){const{variants:t,...n}=e,r={variants:t,style:$a(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=$a(o.style))}),r}const ch=ci();function pi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function fh(e){return e?(t,n)=>n[e]:null}function ph(e,t,n){e.theme=gh(e.theme)?n:e.theme[t]||e.theme}function eo(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>eo(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:o,...i}=n;r=i}return Za(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function Za(e,t,n=[]){var o;let r;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(r??(r={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(r))continue}else for(const l in s.props)if(e[l]!==s.props[l]&&((o=e.ownerState)==null?void 0:o[l])!==s.props[l])continue e;typeof s.style=="function"?(r??(r={...e,...e.ownerState,ownerState:e.ownerState}),n.push(s.style(r))):n.push(s.style)}return n}function dh(e={}){const{themeId:t,defaultTheme:n=ch,rootShouldForwardProp:r=pi,slotShouldForwardProp:o=pi}=e;function i(l){ph(l,t,n)}return(l,c={})=>{rd(l,x=>x.filter(T=>T!==tn));const{name:u,slot:f,skipVariantsResolver:p,skipSx:h,overridesResolver:d=fh(el(f)),...m}=c,g=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,b=h||!1;let E=pi;f==="Root"||f==="root"?E=r:f?E=o:yh(l)&&(E=void 0);const k=_a(l,{shouldForwardProp:E,label:mh(u,f),...m}),S=x=>{if(typeof x=="function"&&x.__emotion_real!==x)return function(P){return eo(P,x)};if($t(x)){const T=Qa(x);return T.variants?function(z){return eo(z,T)}:T.style}return x},C=(...x)=>{const T=[],P=x.map(S),z=[];if(T.push(i),u&&d&&z.push(function(_){var $,Y;const F=(Y=($=_.theme.components)==null?void 0:$[u])==null?void 0:Y.styleOverrides;if(!F)return null;const N={};for(const G in F)N[G]=eo(_,F[G]);return d(_,N)}),u&&!g&&z.push(function(_){var N,$;const j=_.theme,F=($=(N=j==null?void 0:j.components)==null?void 0:N[u])==null?void 0:$.variants;return F?Za(_,F):null}),b||z.push(tn),Array.isArray(P[0])){const I=P.shift(),_=new Array(T.length).fill(""),j=new Array(z.length).fill("");let F;F=[..._,...I,...j],F.raw=[..._,...I.raw,...j],T.unshift(F)}const U=[...T,...P,...z],y=k(...U);return l.muiName&&(y.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(y.displayName=hh(u,f,l)),y};return k.withConfig&&(C.withConfig=k.withConfig),C}}function hh(e,t,n){return e?`${e}${ce(t||"")}`:`Styled(${uh(n)})`}function mh(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${el(t||"Root")}`),n}function gh(e){for(const t in e)return!1;return!0}function yh(e){return typeof e=="string"&&e.charCodeAt(0)>96}function el(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Zn(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const c=l;n[o][c]=Zn(i[c],s[c])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function bh(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Zn(t.components[n].defaultProps,r)}const Xt=typeof window<"u"?R.useLayoutEffect:R.useEffect;function vh(e,t,n,r,o){const[i,s]=R.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return Xt(()=>{if(!n)return;const l=n(e),c=()=>{s(l.matches)};return c(),l.addEventListener("change",c),()=>{l.removeEventListener("change",c)}},[e,n]),i}const tl={...R}.useSyncExternalStore;function xh(e,t,n,r,o){const i=R.useCallback(()=>t,[t]),s=R.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:f}=r(e);return()=>f}return i},[i,e,r,o,n]),[l,c]=R.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const f=n(e);return[()=>f.matches,p=>(f.addEventListener("change",p),()=>{f.removeEventListener("change",p)})]},[i,n,e]);return tl(c,l,s)}function Sh(e={}){const{themeId:t}=e;return function(r,o={}){let i=za();i&&t&&(i=i[t]||i);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:c=s?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:f=!1}=bh({name:"MuiUseMediaQuery",props:o,theme:i});process.env.NODE_ENV!=="production"&&typeof r=="function"&&i===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
92
+ `));let p=typeof r=="function"?r(i):r;p=p.replace(/^@media( ?)/m,"");const d=(tl!==void 0?xh:vh)(p,l,c,u,f);return process.env.NODE_ENV!=="production"&&R.useDebugValue({query:p,match:d}),d}}function Eh(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function di(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Eh(e,t,n)}function wh(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Jt(e){if(e.type)return e;if(e.charAt(0)==="#")return Jt(wh(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
93
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:At(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
94
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:At(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Ch=e=>{const t=Jt(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},er=(e,t)=>{try{return Ch(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function to(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function nl(e){e=Jt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,f=(u+n/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",c.push(t[3])),to({type:l,values:c})}function hi(e){e=Jt(e);let t=e.type==="hsl"||e.type==="hsla"?Jt(nl(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function rl(e,t){const n=hi(e),r=hi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ft(e,t){return e=Jt(e),t=di(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,to(e)}function no(e,t,n){try{return Ft(e,t)}catch{return e}}function ro(e,t){if(e=Jt(e),t=di(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return to(e)}function Ne(e,t,n){try{return ro(e,t)}catch{return e}}function oo(e,t){if(e=Jt(e),t=di(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return to(e)}function _e(e,t,n){try{return oo(e,t)}catch{return e}}function Th(e,t=.15){return hi(e)>.5?ro(e,t):oo(e,t)}function io(e,t,n){try{return Th(e,t)}catch{return e}}function En(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function kh(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ol(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let l;const c=i.type;return typeof c=="function"&&!kh(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const tr=En(a.element,ol);tr.isRequired=En(a.element.isRequired,ol);function Oh(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Rh(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let l;return typeof i=="function"&&!Oh(i)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const mi=En(a.elementType,Rh),Ph="exact-prop: ​";function il(e){return process.env.NODE_ENV==="production"?e:{...e,[Ph]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}function nr(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],s=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const Wt=a.oneOfType([a.func,a.object]);function sl(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function al(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function gi(e,t){var n,r,o;return R.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Ot(e){return e&&e.ownerDocument||document}function Ht(e){return Ot(e).defaultView||window}function yi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let ll=0;function Ih(e){const[t,n]=R.useState(e),r=e||t;return R.useEffect(()=>{t==null&&(ll+=1,n(`mui-${ll}`))},[t]),r}const ul={...R}.useId;function cl(e){if(ul!==void 0){const t=ul();return e??t}return Ih(e)}function fl({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=R.useRef(e!==void 0),[i,s]=R.useState(t),l=o?e:i;if(process.env.NODE_ENV!=="production"){R.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
95
+ `))},[r,n,e]);const{current:u}=R.useRef(t);R.useEffect(()=>{!o&&!Object.is(u,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
96
+ `))},[JSON.stringify(t)])}const c=R.useCallback(u=>{o||s(u)},[]);return[l,c]}function wn(e){const t=R.useRef(e);return Xt(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function at(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{yi(n,t)})},e)}const pl={};function dl(e,t){const n=R.useRef(pl);return n.current===pl&&(n.current=e(t)),n}const Ah=[];function Nh(e){R.useEffect(e,Ah)}class bi{constructor(){Or(this,"currentId",null);Or(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Or(this,"disposeEffect",()=>this.clear)}static create(){return new bi}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function hl(){const e=dl(bi.create).current;return Nh(e.disposeEffect),e}function ml(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
97
+ `))}return!1}function gl(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function _h(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function yl(e,t,n,r){const o=e[t];if(o==null||!Number.isInteger(o)){const i=_h(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function bl(e,t,...n){return e[t]===void 0?null:yl(e,t,...n)}function vi(){return null}bl.isRequired=yl,vi.isRequired=vi;const vl=process.env.NODE_ENV==="production"?vi:bl;function qe(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",l=!0;for(let c=0;c<i.length;c+=1){const u=i[c];u&&(s+=(l===!0?"":" ")+t(u),l=!1,n&&n[u]&&(s+=" "+n[u]))}r[o]=s}return r}function Mh(e){return typeof e=="string"}function xl(e,t,n){return e===void 0||Mh(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Sl(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function El(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function wl(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const d=Ee(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),m={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},g={...n,...o,...r};return d.length>0&&(g.className=d),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:void 0}}const s=Sl({...o,...r}),l=El(r),c=El(o),u=t(s),f=Ee(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),p={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},h={...u,...n,...c,...l};return f.length>0&&(h.className=f),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:u.ref}}function Cl(e,t,n){return typeof e=="function"?e(t,n):e}function Tl(e){var p;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:Cl(n,r),{props:l,internalRef:c}=wl({...i,externalSlotProps:s}),u=at(c,s==null?void 0:s.ref,(p=e.additionalProps)==null?void 0:p.ref);return xl(t,{...l,ref:u},r)}function rr(e){var t;return parseInt(R.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const $h=R.createContext();process.env.NODE_ENV!=="production"&&(a.node,a.bool);const kl=()=>R.useContext($h)??!1,Fh=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(a.node,a.object);function jh(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Zn(o.defaultProps,r):!o.styleOverrides&&!o.variants?Zn(o,r):r}function Dh({props:e,name:t}){const n=R.useContext(Fh);return jh({props:e,name:t,theme:{components:n}})}const Ol={theme:void 0};function Lh(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(Ol.theme=o.theme,i=Qa(e(Ol)),t=i,n=o.theme),i}}function Bh(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Rl=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},zh=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([l,c])=>{(!n||n&&!n([...i,l]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?r(c,[...i,l],Array.isArray(c)?[...s,l]:s):t([...i,l],c,s))})}r(e)},Uh=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function xi(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return zh(e,(l,c,u)=>{if((typeof c=="string"||typeof c=="number")&&(!r||!r(l,c))){const f=`--${n?`${n}-`:""}${l.join("-")}`,p=Uh(l,c);Object.assign(o,{[f]:p}),Rl(i,l,`var(${f})`,u),Rl(s,l,`var(${f}, ${p})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Vh(e,t={}){const{getSelector:n=b,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:f,varsWithDefaults:p}=xi(c,t);let h=p;const d={},{[l]:m,...g}=i;if(Object.entries(g||{}).forEach(([S,C])=>{const{vars:x,css:T,varsWithDefaults:P}=xi(C,t);h=st(h,P),d[S]={css:T,vars:x}}),m){const{css:S,vars:C,varsWithDefaults:x}=xi(m,t);h=st(h,x),d[l]={css:S,vars:C}}function b(S,C){var T,P;let x=o;if(o==="class"&&(x=".%s"),o==="data"&&(x="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(x=`[${o}="%s"]`),S){if(x==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${((P=(T=i[S])==null?void 0:T.palette)==null?void 0:P.mode)||S})`]:{":root":C}};if(x)return e.defaultColorScheme===S?`:root, ${x.replace("%s",String(S))}`:x.replace("%s",String(S))}return":root"}return{vars:h,generateThemeVars:()=>{let S={...u};return Object.entries(d).forEach(([,{vars:C}])=>{S=st(S,C)}),S},generateStyleSheets:()=>{var z,U;const S=[],C=e.defaultColorScheme||"light";function x(y,I){Object.keys(I).length&&S.push(typeof y=="string"?{[y]:{...I}}:y)}x(n(void 0,{...f}),f);const{[C]:T,...P}=d;if(T){const{css:y}=T,I=(U=(z=i[C])==null?void 0:z.palette)==null?void 0:U.mode,_=!r&&I?{colorScheme:I,...y}:{...y};x(n(C,{..._}),_)}return Object.entries(P).forEach(([y,{css:I}])=>{var F,N;const _=(N=(F=i[y])==null?void 0:F.palette)==null?void 0:N.mode,j=!r&&_?{colorScheme:_,...I}:{...I};x(n(y,{...j}),j)}),S}}}function qh(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function Pl(){return{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:Bn.white,default:Bn.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}}}const Wh=Pl();function Il(){return{text:{primary:Bn.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:Bn.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}}}const Al=Il();function Nl(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=oo(e.main,o):t==="dark"&&(e.dark=ro(e.main,i)))}function Hh(e="light"){return e==="dark"?{main:hn[200],light:hn[50],dark:hn[400]}:{main:hn[700],light:hn[400],dark:hn[800]}}function Yh(e="light"){return e==="dark"?{main:dn[200],light:dn[50],dark:dn[400]}:{main:dn[500],light:dn[300],dark:dn[700]}}function Kh(e="light"){return e==="dark"?{main:pn[500],light:pn[300],dark:pn[700]}:{main:pn[700],light:pn[400],dark:pn[800]}}function Gh(e="light"){return e==="dark"?{main:mn[400],light:mn[300],dark:mn[700]}:{main:mn[700],light:mn[500],dark:mn[900]}}function Xh(e="light"){return e==="dark"?{main:gn[400],light:gn[300],dark:gn[700]}:{main:gn[800],light:gn[500],dark:gn[900]}}function Jh(e="light"){return e==="dark"?{main:zn[400],light:zn[300],dark:zn[700]}:{main:"#ed6c02",light:zn[500],dark:zn[900]}}function Si(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||Hh(t),s=e.secondary||Yh(t),l=e.error||Kh(t),c=e.info||Gh(t),u=e.success||Xh(t),f=e.warning||Jh(t);function p(g){const b=rl(g,Al.text.primary)>=n?Al.text.primary:Wh.text.primary;if(process.env.NODE_ENV!=="production"){const E=rl(g,b);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${b} on ${g}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
98
+ `))}return b}const h=({color:g,name:b,mainShade:E=500,lightShade:k=300,darkShade:S=700})=>{if(g={...g},!g.main&&g[E]&&(g.main=g[E]),!g.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
99
+ The color object needs to have a \`main\` property or a \`${E}\` property.`:At(11,b?` (${b})`:"",E));if(typeof g.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
100
+ \`color.main\` should be a string, but \`${JSON.stringify(g.main)}\` was provided instead.
101
+
102
+ Did you intend to use one of the following approaches?
103
+
104
+ import { green } from "@mui/material/colors";
105
+
106
+ const theme1 = createTheme({ palette: {
107
+ primary: green,
108
+ } });
109
+
110
+ const theme2 = createTheme({ palette: {
111
+ primary: { main: green[500] },
112
+ } });`:At(12,b?` (${b})`:"",JSON.stringify(g.main)));return Nl(g,"light",k,r),Nl(g,"dark",S,r),g.contrastText||(g.contrastText=p(g.main)),g};let d;return t==="light"?d=Pl():t==="dark"&&(d=Il()),process.env.NODE_ENV!=="production"&&(d||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),st({common:{...Bn},mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:f,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:u,name:"success"}),grey:Yf,contrastThreshold:n,getContrastText:p,augmentColor:h,tonalOffset:r,...d},o)}function Qh(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Zh(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function em(e){return Math.round(e*1e5)/1e5}const _l={textTransform:"uppercase"},Ml='"Roboto", "Helvetica", "Arial", sans-serif';function tm(e,t){const{fontFamily:n=Ml,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:f,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=r/14,d=f||(b=>`${b/c*h}rem`),m=(b,E,k,S,C)=>({fontFamily:n,fontWeight:b,fontSize:d(E),lineHeight:k,...n===Ml?{letterSpacing:`${em(S/E)}em`}:{},...C,...u}),g={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(i,48,1.167,0),h4:m(i,34,1.235,.25),h5:m(i,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(i,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(i,16,1.5,.15),body2:m(i,14,1.43,.15),button:m(s,14,1.75,.4,_l),caption:m(i,12,1.66,.4),overline:m(i,12,2.66,1,_l),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return st({htmlFontSize:c,pxToRem:d,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...g},p,{clone:!1})}const nm=.2,rm=.14,om=.12;function De(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nm})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rm})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${om})`].join(",")}const im=["none",De(0,2,1,-1,0,1,1,0,0,1,3,0),De(0,3,1,-2,0,2,2,0,0,1,5,0),De(0,3,3,-2,0,3,4,0,0,1,8,0),De(0,2,4,-1,0,4,5,0,0,1,10,0),De(0,3,5,-1,0,5,8,0,0,1,14,0),De(0,3,5,-1,0,6,10,0,0,1,18,0),De(0,4,5,-2,0,7,10,1,0,2,16,1),De(0,5,5,-3,0,8,10,1,0,3,14,2),De(0,5,6,-3,0,9,12,1,0,3,16,2),De(0,6,6,-3,0,10,14,1,0,4,18,3),De(0,6,7,-4,0,11,15,1,0,4,20,3),De(0,7,8,-4,0,12,17,2,0,5,22,4),De(0,7,8,-4,0,13,19,2,0,5,24,4),De(0,7,9,-4,0,14,21,2,0,5,26,4),De(0,8,9,-5,0,15,22,2,0,6,28,5),De(0,8,10,-5,0,16,24,2,0,6,30,5),De(0,8,11,-5,0,17,26,2,0,6,32,5),De(0,9,11,-5,0,18,28,2,0,7,34,6),De(0,9,12,-6,0,19,29,2,0,7,36,6),De(0,10,13,-6,0,20,31,3,0,8,38,7),De(0,10,13,-6,0,21,33,3,0,8,40,7),De(0,10,14,-6,0,22,35,3,0,8,42,7),De(0,11,14,-7,0,23,36,3,0,9,44,8),De(0,11,15,-7,0,24,38,3,0,9,46,8)],sm={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)"},am={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function $l(e){return`${Math.round(e)}ms`}function lm(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function um(e){const t={...sm,...e.easing},n={...am,...e.duration};return{getAutoHeightDuration:lm,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:c=0,...u}=i;if(process.env.NODE_ENV!=="production"){const f=h=>typeof h=="string",p=h=>!Number.isNaN(parseFloat(h));!f(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(s)&&!f(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),f(l)||console.error('MUI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
113
+ `)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof s=="string"?s:$l(s)} ${l} ${typeof c=="string"?c:$l(c)}`).join(",")},...e,easing:t,duration:n}}const cm={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fm(e){return $t(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Fl(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i<o.length;i++){const[s,l]=o[i];!fm(l)||s.startsWith("unstable_")?delete r[s]:$t(l)&&(r[s]={...l},n(r[s]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
114
+
115
+ const theme = ${JSON.stringify(t,null,2)};
116
+
117
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
118
+ theme.transitions = createTransitions(theme.transitions || {});
119
+
120
+ export default theme;`}function Ei(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:c,...u}=e;if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":At(20));const f=Si(i),p=ci(e);let h=st(p,{mixins:Zh(p.breakpoints,r),palette:f,shadows:im.slice(),typography:tm(f,l),transitions:um(s),zIndex:{...cm}});if(h=st(h,u),h=t.reduce((d,m)=>st(d,m),h),process.env.NODE_ENV!=="production"){const d=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],m=(g,b)=>{let E;for(E in g){const k=g[E];if(d.includes(E)&&Object.keys(k).length>0){if(process.env.NODE_ENV!=="production"){const S=Fe("",E);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${E}\` internal state.`,"You can not override it like this: ",JSON.stringify(g,null,2),"",`Instead, you need to use the '&.${S}' syntax:`,JSON.stringify({root:{[`&.${S}`]:k}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
121
+ `))}g[E]={}}}};Object.keys(h.components).forEach(g=>{const b=h.components[g].styleOverrides;b&&g.startsWith("Mui")&&m(b,g)})}return h.unstable_sxConfig={...Jn,...u==null?void 0:u.unstable_sxConfig},h.unstable_sx=function(m){return tn({sx:m,theme:this})},h.toRuntimeSource=Fl,h}function wi(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const pm=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=wi(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function jl(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Dl(e){return e==="dark"?pm:[]}function dm(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=Si(t);return{palette:i,opacity:{...jl(i.mode),...n},overlays:r||Dl(i.mode),...o}}function hm(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const mm=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],gm=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return mm(e.cssVarPrefix).forEach(l=>{s[l]=n[l],delete n[l]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:i?{[i.replace("%s",t)]:s,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...s}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function ym(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function L(e,t,n){!e[t]&&n&&(e[t]=n)}function or(e){return typeof e!="string"||!e.startsWith("hsl")?e:nl(e)}function Yt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=er(or(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
122
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function bm(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const jt=e=>{try{return e()}catch{}},vm=(e="mui")=>Bh(e);function Ci(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=dm({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Ei({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...jl(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||Dl(o)},s}function xm(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=hm,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,rootSelector:c=":root",...u}=e,f=Object.keys(n)[0],p=r||(n.light&&f!=="light"?"light":f),h=vm(i),{[p]:d,light:m,dark:g,...b}=n,E={...b};let k=d;if((p==="dark"&&!("dark"in n)||p==="light"&&!("light"in n))&&(k=!0),!k)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:At(21,p));const S=Ci(E,k,u,p);m&&!E.light&&Ci(E,m,void 0,"light"),g&&!E.dark&&Ci(E,g,void 0,"dark");let C={defaultColorScheme:p,...S,cssVarPrefix:i,colorSchemeSelector:l,rootSelector:c,getCssVar:h,colorSchemes:E,font:{...Qh(S.typography),...S.font},spacing:bm(u.spacing)};Object.keys(C.colorSchemes).forEach(U=>{const y=C.colorSchemes[U].palette,I=_=>{const j=_.split("-"),F=j[1],N=j[2];return h(_,y[F][N])};if(y.mode==="light"&&(L(y.common,"background","#fff"),L(y.common,"onBackground","#000")),y.mode==="dark"&&(L(y.common,"background","#000"),L(y.common,"onBackground","#fff")),ym(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){L(y.Alert,"errorColor",Ne(y.error.light,.6)),L(y.Alert,"infoColor",Ne(y.info.light,.6)),L(y.Alert,"successColor",Ne(y.success.light,.6)),L(y.Alert,"warningColor",Ne(y.warning.light,.6)),L(y.Alert,"errorFilledBg",I("palette-error-main")),L(y.Alert,"infoFilledBg",I("palette-info-main")),L(y.Alert,"successFilledBg",I("palette-success-main")),L(y.Alert,"warningFilledBg",I("palette-warning-main")),L(y.Alert,"errorFilledColor",jt(()=>y.getContrastText(y.error.main))),L(y.Alert,"infoFilledColor",jt(()=>y.getContrastText(y.info.main))),L(y.Alert,"successFilledColor",jt(()=>y.getContrastText(y.success.main))),L(y.Alert,"warningFilledColor",jt(()=>y.getContrastText(y.warning.main))),L(y.Alert,"errorStandardBg",_e(y.error.light,.9)),L(y.Alert,"infoStandardBg",_e(y.info.light,.9)),L(y.Alert,"successStandardBg",_e(y.success.light,.9)),L(y.Alert,"warningStandardBg",_e(y.warning.light,.9)),L(y.Alert,"errorIconColor",I("palette-error-main")),L(y.Alert,"infoIconColor",I("palette-info-main")),L(y.Alert,"successIconColor",I("palette-success-main")),L(y.Alert,"warningIconColor",I("palette-warning-main")),L(y.AppBar,"defaultBg",I("palette-grey-100")),L(y.Avatar,"defaultBg",I("palette-grey-400")),L(y.Button,"inheritContainedBg",I("palette-grey-300")),L(y.Button,"inheritContainedHoverBg",I("palette-grey-A100")),L(y.Chip,"defaultBorder",I("palette-grey-400")),L(y.Chip,"defaultAvatarColor",I("palette-grey-700")),L(y.Chip,"defaultIconColor",I("palette-grey-700")),L(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),L(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),L(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),L(y.LinearProgress,"primaryBg",_e(y.primary.main,.62)),L(y.LinearProgress,"secondaryBg",_e(y.secondary.main,.62)),L(y.LinearProgress,"errorBg",_e(y.error.main,.62)),L(y.LinearProgress,"infoBg",_e(y.info.main,.62)),L(y.LinearProgress,"successBg",_e(y.success.main,.62)),L(y.LinearProgress,"warningBg",_e(y.warning.main,.62)),L(y.Skeleton,"bg",`rgba(${I("palette-text-primaryChannel")} / 0.11)`),L(y.Slider,"primaryTrack",_e(y.primary.main,.62)),L(y.Slider,"secondaryTrack",_e(y.secondary.main,.62)),L(y.Slider,"errorTrack",_e(y.error.main,.62)),L(y.Slider,"infoTrack",_e(y.info.main,.62)),L(y.Slider,"successTrack",_e(y.success.main,.62)),L(y.Slider,"warningTrack",_e(y.warning.main,.62));const _=io(y.background.default,.8);L(y.SnackbarContent,"bg",_),L(y.SnackbarContent,"color",jt(()=>y.getContrastText(_))),L(y.SpeedDialAction,"fabHoverBg",io(y.background.paper,.15)),L(y.StepConnector,"border",I("palette-grey-400")),L(y.StepContent,"border",I("palette-grey-400")),L(y.Switch,"defaultColor",I("palette-common-white")),L(y.Switch,"defaultDisabledColor",I("palette-grey-100")),L(y.Switch,"primaryDisabledColor",_e(y.primary.main,.62)),L(y.Switch,"secondaryDisabledColor",_e(y.secondary.main,.62)),L(y.Switch,"errorDisabledColor",_e(y.error.main,.62)),L(y.Switch,"infoDisabledColor",_e(y.info.main,.62)),L(y.Switch,"successDisabledColor",_e(y.success.main,.62)),L(y.Switch,"warningDisabledColor",_e(y.warning.main,.62)),L(y.TableCell,"border",_e(no(y.divider,1),.88)),L(y.Tooltip,"bg",no(y.grey[700],.92))}if(y.mode==="dark"){L(y.Alert,"errorColor",_e(y.error.light,.6)),L(y.Alert,"infoColor",_e(y.info.light,.6)),L(y.Alert,"successColor",_e(y.success.light,.6)),L(y.Alert,"warningColor",_e(y.warning.light,.6)),L(y.Alert,"errorFilledBg",I("palette-error-dark")),L(y.Alert,"infoFilledBg",I("palette-info-dark")),L(y.Alert,"successFilledBg",I("palette-success-dark")),L(y.Alert,"warningFilledBg",I("palette-warning-dark")),L(y.Alert,"errorFilledColor",jt(()=>y.getContrastText(y.error.dark))),L(y.Alert,"infoFilledColor",jt(()=>y.getContrastText(y.info.dark))),L(y.Alert,"successFilledColor",jt(()=>y.getContrastText(y.success.dark))),L(y.Alert,"warningFilledColor",jt(()=>y.getContrastText(y.warning.dark))),L(y.Alert,"errorStandardBg",Ne(y.error.light,.9)),L(y.Alert,"infoStandardBg",Ne(y.info.light,.9)),L(y.Alert,"successStandardBg",Ne(y.success.light,.9)),L(y.Alert,"warningStandardBg",Ne(y.warning.light,.9)),L(y.Alert,"errorIconColor",I("palette-error-main")),L(y.Alert,"infoIconColor",I("palette-info-main")),L(y.Alert,"successIconColor",I("palette-success-main")),L(y.Alert,"warningIconColor",I("palette-warning-main")),L(y.AppBar,"defaultBg",I("palette-grey-900")),L(y.AppBar,"darkBg",I("palette-background-paper")),L(y.AppBar,"darkColor",I("palette-text-primary")),L(y.Avatar,"defaultBg",I("palette-grey-600")),L(y.Button,"inheritContainedBg",I("palette-grey-800")),L(y.Button,"inheritContainedHoverBg",I("palette-grey-700")),L(y.Chip,"defaultBorder",I("palette-grey-700")),L(y.Chip,"defaultAvatarColor",I("palette-grey-300")),L(y.Chip,"defaultIconColor",I("palette-grey-300")),L(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),L(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),L(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),L(y.LinearProgress,"primaryBg",Ne(y.primary.main,.5)),L(y.LinearProgress,"secondaryBg",Ne(y.secondary.main,.5)),L(y.LinearProgress,"errorBg",Ne(y.error.main,.5)),L(y.LinearProgress,"infoBg",Ne(y.info.main,.5)),L(y.LinearProgress,"successBg",Ne(y.success.main,.5)),L(y.LinearProgress,"warningBg",Ne(y.warning.main,.5)),L(y.Skeleton,"bg",`rgba(${I("palette-text-primaryChannel")} / 0.13)`),L(y.Slider,"primaryTrack",Ne(y.primary.main,.5)),L(y.Slider,"secondaryTrack",Ne(y.secondary.main,.5)),L(y.Slider,"errorTrack",Ne(y.error.main,.5)),L(y.Slider,"infoTrack",Ne(y.info.main,.5)),L(y.Slider,"successTrack",Ne(y.success.main,.5)),L(y.Slider,"warningTrack",Ne(y.warning.main,.5));const _=io(y.background.default,.98);L(y.SnackbarContent,"bg",_),L(y.SnackbarContent,"color",jt(()=>y.getContrastText(_))),L(y.SpeedDialAction,"fabHoverBg",io(y.background.paper,.15)),L(y.StepConnector,"border",I("palette-grey-600")),L(y.StepContent,"border",I("palette-grey-600")),L(y.Switch,"defaultColor",I("palette-grey-300")),L(y.Switch,"defaultDisabledColor",I("palette-grey-600")),L(y.Switch,"primaryDisabledColor",Ne(y.primary.main,.55)),L(y.Switch,"secondaryDisabledColor",Ne(y.secondary.main,.55)),L(y.Switch,"errorDisabledColor",Ne(y.error.main,.55)),L(y.Switch,"infoDisabledColor",Ne(y.info.main,.55)),L(y.Switch,"successDisabledColor",Ne(y.success.main,.55)),L(y.Switch,"warningDisabledColor",Ne(y.warning.main,.55)),L(y.TableCell,"border",Ne(no(y.divider,1),.68)),L(y.Tooltip,"bg",no(y.grey[700],.92))}Yt(y.background,"default"),Yt(y.background,"paper"),Yt(y.common,"background"),Yt(y.common,"onBackground"),Yt(y,"divider"),Object.keys(y).forEach(_=>{const j=y[_];_!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&L(y[_],"mainChannel",er(or(j.main))),j.light&&L(y[_],"lightChannel",er(or(j.light))),j.dark&&L(y[_],"darkChannel",er(or(j.dark))),j.contrastText&&L(y[_],"contrastTextChannel",er(or(j.contrastText))),_==="text"&&(Yt(y[_],"primary"),Yt(y[_],"secondary")),_==="action"&&(j.active&&Yt(y[_],"active"),j.selected&&Yt(y[_],"selected")))})}),C=t.reduce((U,y)=>st(U,y),C);const x={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:gm(C)},{vars:T,generateThemeVars:P,generateStyleSheets:z}=Vh(C,x);return C.vars=T,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([U,y])=>{C[U]=y}),C.generateThemeVars=P,C.generateStyleSheets=z,C.generateSpacing=function(){return Ba(u.spacing,li(this))},C.getColorSchemeSelector=qh(l),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Jn,...u==null?void 0:u.unstable_sxConfig},C.unstable_sx=function(y){return tn({sx:y,theme:this})},C.toRuntimeSource=Fl,C}function Ll(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Si({...n===!0?{}:n.palette,mode:t})})}function Bl(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,l=i||"light",c=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof c!="boolean"&&c,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Ei(e,...t);let f=n;"palette"in e||u[l]&&(u[l]!==!0?f=u[l].palette:l==="dark"&&(f={mode:"dark"}));const p=Ei({...e,palette:f},...t);return p.defaultColorScheme=l,p.colorSchemes=u,p.palette.mode==="light"&&(p.colorSchemes.light={...u.light!==!0&&u.light,palette:p.palette},Ll(p,"dark",u.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:p.palette},Ll(p,"light",u.light)),p}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),xm({...s,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const Ti=Bl();function ki(){const e=fi(Ti);return process.env.NODE_ENV!=="production"&&R.useDebugValue(e),e[Un]||e}function zl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Rt=e=>zl(e)&&e!=="classes",fe=dh({themeId:Un,defaultTheme:Ti,rootShouldForwardProp:Rt});function Ul(e){return V.jsx(Ua,{...e,defaultTheme:Ti,themeId:Un})}process.env.NODE_ENV!=="production"&&(Ul.propTypes={styles:a.oneOfType([a.array,a.func,a.number,a.object,a.string,a.bool])});function Sm(e){return function(n){return V.jsx(Ul,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Em(){return Va}const Le=Lh;process.env.NODE_ENV!=="production"&&(a.node,a.object.isRequired);function We(e){return Dh(e)}function wm(e){return Fe("MuiSvgIcon",e)}je("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Cm=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return qe(o,wm,r)},Tm=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(Le(({theme:e})=>{var t,n,r,o,i,s,l,c,u,f,p,h,d,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:g=>!g.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((c=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,g])=>g&&g.main).map(([g])=>{var b,E;return{props:{color:g},style:{color:(E=(b=(e.vars??e).palette)==null?void 0:b[g])==null?void 0:E.main}}}),{props:{color:"action"},style:{color:(h=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(m=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:m.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),ir=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:p,viewBox:h="0 0 24 24",...d}=r,m=R.isValidElement(o)&&o.type==="svg",g={...r,color:s,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:h,hasSvgAsChild:m},b={};f||(b.viewBox=h);const E=Cm(g);return V.jsxs(Tm,{as:l,className:Ee(E.root,i),focusable:"false",color:u,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n,...b,...d,...m&&o.props,ownerState:g,children:[m?o.props.children:o,p?V.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(ir.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,fontSize:a.oneOfType([a.oneOf(["inherit","large","medium","small"]),a.string]),htmlColor:a.string,inheritViewBox:a.bool,shapeRendering:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),titleAccess:a.string,viewBox:a.string}),ir&&(ir.muiName="SvgIcon");function Vl(e,t){function n(r,o){return V.jsx(ir,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=ir.muiName,R.memo(R.forwardRef(n))}function ql(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Oi(e,t){return Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Oi(e,t)}function Wl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oi(e,t)}const Hl={disabled:!1};var km=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.shape({enter:a.number,exit:a.number,appear:a.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&a.oneOfType([a.string,a.shape({enter:a.string,exit:a.string,active:a.string}),a.shape({enter:a.string,enterDone:a.string,enterActive:a.string,exit:a.string,exitDone:a.string,exitActive:a.string})]);const so=he.createContext(null);var Om=function(t){return t.scrollTop},sr="unmounted",nn="exited",rn="entering",Cn="entered",Ri="exiting",Dt=function(e){Wl(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,c;return i.appearStatus=null,r.in?l?(c=nn,i.appearStatus=rn):c=Cn:r.unmountOnExit||r.mountOnEnter?c=sr:c=nn,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===sr?{status:nn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==rn&&s!==Cn&&(i=rn):(s===rn||s===Cn)&&(i=Ri)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===rn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:nt.findDOMNode(this);s&&Om(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===nn&&this.setState({status:sr})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,c=this.props.nodeRef?[l]:[nt.findDOMNode(this),l],u=c[0],f=c[1],p=this.getTimeouts(),h=l?p.appear:p.enter;if(!o&&!s||Hl.disabled){this.safeSetState({status:Cn},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:rn},function(){i.props.onEntering(u,f),i.onTransitionEnd(h,function(){i.safeSetState({status:Cn},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:nt.findDOMNode(this);if(!i||Hl.disabled){this.safeSetState({status:nn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ri},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:nn},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:nt.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=c[0],f=c[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===sr)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=ql(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return he.createElement(so.Provider,{value:null},typeof s=="function"?s(o,l):he.cloneElement(he.Children.only(s),l))},t}(he.Component);Dt.contextType=so,Dt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:a.shape({current:typeof Element>"u"?a.any:function(e,t,n,r,o,i){var s=e[t];return a.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:a.oneOfType([a.func.isRequired,a.element.isRequired]).isRequired,in:a.bool,mountOnEnter:a.bool,unmountOnExit:a.bool,appear:a.bool,enter:a.bool,exit:a.bool,timeout:function(t){var n=km;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[t].concat(o))},addEndListener:a.func,onEnter:a.func,onEntering:a.func,onEntered:a.func,onExit:a.func,onExiting:a.func,onExited:a.func}:{};function Tn(){}Dt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Tn,onEntering:Tn,onEntered:Tn,onExit:Tn,onExiting:Tn,onExited:Tn},Dt.UNMOUNTED=sr,Dt.EXITED=nn,Dt.ENTERING=rn,Dt.ENTERED=Cn,Dt.EXITING=Ri;function Rm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pi(e,t){var n=function(i){return t&&he.isValidElement(i)?t(i):i},r=Object.create(null);return e&&he.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Pm(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var c in t){if(r[c])for(s=0;s<r[c].length;s++){var u=r[c][s];l[r[c][s]]=n(u)}l[c]=n(c)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function on(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Im(e,t){return Pi(e.children,function(n){return he.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:on(n,"appear",e),enter:on(n,"enter",e),exit:on(n,"exit",e)})})}function Am(e,t,n){var r=Pi(e.children),o=Pm(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(he.isValidElement(s)){var l=i in t,c=i in r,u=t[i],f=he.isValidElement(u)&&!u.props.in;c&&(!l||f)?o[i]=he.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:on(s,"exit",e),enter:on(s,"enter",e)}):!c&&l&&!f?o[i]=he.cloneElement(s,{in:!1}):c&&l&&he.isValidElement(u)&&(o[i]=he.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:on(s,"exit",e),enter:on(s,"enter",e)}))}}),o}var Nm=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_m={component:"div",childFactory:function(t){return t}},Ii=function(e){Wl(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(Rm(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,c=i.firstRender;return{children:c?Im(o,l):Am(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=Pi(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var c=Pr({},l.children);return delete c[o.key],{children:c}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=ql(o,["component","childFactory"]),c=this.state.contextValue,u=Nm(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?he.createElement(so.Provider,{value:c},u):he.createElement(so.Provider,{value:c},he.createElement(i,l,u))},t}(he.Component);Ii.propTypes=process.env.NODE_ENV!=="production"?{component:a.any,children:a.node,appear:a.bool,enter:a.bool,exit:a.bool,childFactory:a.func}:{},Ii.defaultProps=_m;const Yl=e=>e.scrollTop;function ao(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Mm(e){return Fe("MuiPaper",e)}je("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 $m=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return qe(i,Mm,o)},Fm=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(Le(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ai=R.forwardRef(function(t,n){var d;const r=We({props:t,name:"MuiPaper"}),o=ki(),{className:i,component:s="div",elevation:l=1,square:c=!1,variant:u="elevation",...f}=r,p={...r,component:s,elevation:l,square:c,variant:u},h=$m(p);return process.env.NODE_ENV!=="production"&&o.shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
123
+ `)),V.jsx(Fm,{as:s,ownerState:p,className:Ee(h.root,i),ref:n,...f,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(d=o.vars.overlays)==null?void 0:d[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Ft("#fff",wi(l))}, ${Ft("#fff",wi(l))})`}},...f.style}})});process.env.NODE_ENV!=="production"&&(Ai.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,elevation:En(vl,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:a.bool,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["elevation","outlined"]),a.string])});function Pt(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:s,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:f={[e]:void 0},...p}=i,h=u[e]||r,d=Cl(f[e],o),{props:{component:m,...g},internalRef:b}=wl({className:n,...l,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:d}),E=at(b,d==null?void 0:d.ref,t.ref),k=e==="root"?m||c:m,S=xl(h,{...e==="root"&&!c&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...g,...k&&{as:k},ref:E},o);return[h,S]}class lo{constructor(){Or(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new lo}static use(){const t=dl(lo.create).current,[n,r]=R.useState(!1);return t.shouldMount=n,t.setShouldMount=r,R.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=Dm(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function jm(){return lo.use()}function Dm(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Kl(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:c,timeout:u}=e,[f,p]=R.useState(!1),h=Ee(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),d={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},m=Ee(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&p(!0),R.useEffect(()=>{if(!l&&c!=null){const g=setTimeout(c,u);return()=>{clearTimeout(g)}}},[c,l,u]),V.jsx("span",{className:h,style:d,children:V.jsx("span",{className:m})})}process.env.NODE_ENV!=="production"&&(Kl.propTypes={classes:a.object.isRequired,className:a.string,in:a.bool,onExited:a.func,pulsate:a.bool,rippleSize:a.number,rippleX:a.number,rippleY:a.number,timeout:a.number.isRequired});const Ct=je("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ni=550,Lm=80,Bm=xn`
124
+ 0% {
125
+ transform: scale(0);
126
+ opacity: 0.1;
127
+ }
128
+
129
+ 100% {
130
+ transform: scale(1);
131
+ opacity: 0.3;
132
+ }
133
+ `,zm=xn`
134
+ 0% {
135
+ opacity: 1;
136
+ }
137
+
138
+ 100% {
139
+ opacity: 0;
140
+ }
141
+ `,Um=xn`
142
+ 0% {
143
+ transform: scale(1);
144
+ }
145
+
146
+ 50% {
147
+ transform: scale(0.92);
148
+ }
149
+
150
+ 100% {
151
+ transform: scale(1);
152
+ }
153
+ `,Vm=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qm=fe(Kl,{name:"MuiTouchRipple",slot:"Ripple"})`
154
+ opacity: 0;
155
+ position: absolute;
156
+
157
+ &.${Ct.rippleVisible} {
158
+ opacity: 0.3;
159
+ transform: scale(1);
160
+ animation-name: ${Bm};
161
+ animation-duration: ${Ni}ms;
162
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
163
+ }
164
+
165
+ &.${Ct.ripplePulsate} {
166
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
167
+ }
168
+
169
+ & .${Ct.child} {
170
+ opacity: 1;
171
+ display: block;
172
+ width: 100%;
173
+ height: 100%;
174
+ border-radius: 50%;
175
+ background-color: currentColor;
176
+ }
177
+
178
+ & .${Ct.childLeaving} {
179
+ opacity: 0;
180
+ animation-name: ${zm};
181
+ animation-duration: ${Ni}ms;
182
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
183
+ }
184
+
185
+ & .${Ct.childPulsate} {
186
+ position: absolute;
187
+ /* @noflip */
188
+ left: 0px;
189
+ top: 0;
190
+ animation-name: ${Um};
191
+ animation-duration: 2500ms;
192
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
193
+ animation-iteration-count: infinite;
194
+ animation-delay: 200ms;
195
+ }
196
+ `,Gl=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...l}=r,[c,u]=R.useState([]),f=R.useRef(0),p=R.useRef(null);R.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);const h=R.useRef(!1),d=hl(),m=R.useRef(null),g=R.useRef(null),b=R.useCallback(C=>{const{pulsate:x,rippleX:T,rippleY:P,rippleSize:z,cb:U}=C;u(y=>[...y,V.jsx(qm,{classes:{ripple:Ee(i.ripple,Ct.ripple),rippleVisible:Ee(i.rippleVisible,Ct.rippleVisible),ripplePulsate:Ee(i.ripplePulsate,Ct.ripplePulsate),child:Ee(i.child,Ct.child),childLeaving:Ee(i.childLeaving,Ct.childLeaving),childPulsate:Ee(i.childPulsate,Ct.childPulsate)},timeout:Ni,pulsate:x,rippleX:T,rippleY:P,rippleSize:z},f.current)]),f.current+=1,p.current=U},[i]),E=R.useCallback((C={},x={},T=()=>{})=>{const{pulsate:P=!1,center:z=o||x.pulsate,fakeElement:U=!1}=x;if((C==null?void 0:C.type)==="mousedown"&&h.current){h.current=!1;return}(C==null?void 0:C.type)==="touchstart"&&(h.current=!0);const y=U?null:g.current,I=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};let _,j,F;if(z||C===void 0||C.clientX===0&&C.clientY===0||!C.clientX&&!C.touches)_=Math.round(I.width/2),j=Math.round(I.height/2);else{const{clientX:N,clientY:$}=C.touches&&C.touches.length>0?C.touches[0]:C;_=Math.round(N-I.left),j=Math.round($-I.top)}if(z)F=Math.sqrt((2*I.width**2+I.height**2)/3),F%2===0&&(F+=1);else{const N=Math.max(Math.abs((y?y.clientWidth:0)-_),_)*2+2,$=Math.max(Math.abs((y?y.clientHeight:0)-j),j)*2+2;F=Math.sqrt(N**2+$**2)}C!=null&&C.touches?m.current===null&&(m.current=()=>{b({pulsate:P,rippleX:_,rippleY:j,rippleSize:F,cb:T})},d.start(Lm,()=>{m.current&&(m.current(),m.current=null)})):b({pulsate:P,rippleX:_,rippleY:j,rippleSize:F,cb:T})},[o,b,d]),k=R.useCallback(()=>{E({},{pulsate:!0})},[E]),S=R.useCallback((C,x)=>{if(d.clear(),(C==null?void 0:C.type)==="touchend"&&m.current){m.current(),m.current=null,d.start(0,()=>{S(C,x)});return}m.current=null,u(T=>T.length>0?T.slice(1):T),p.current=x},[d]);return R.useImperativeHandle(n,()=>({pulsate:k,start:E,stop:S}),[k,E,S]),V.jsx(Vm,{className:Ee(Ct.root,i.root,s),ref:g,...l,children:V.jsx(Ii,{component:null,exit:!0,children:c})})});process.env.NODE_ENV!=="production"&&(Gl.propTypes={center:a.bool,classes:a.object,className:a.string});function Wm(e){return Fe("MuiButtonBase",e)}const Hm=je("MuiButtonBase",["root","disabled","focusVisible"]),Ym=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=qe({root:["root",t&&"disabled",n&&"focusVisible"]},Wm,o);return n&&r&&(s.root+=` ${r}`),s},Km=fe("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"},[`&.${Hm.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),_i=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:c="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:h=!1,focusVisibleClassName:d,LinkComponent:m="a",onBlur:g,onClick:b,onContextMenu:E,onDragLeave:k,onFocus:S,onFocusVisible:C,onKeyDown:x,onKeyUp:T,onMouseDown:P,onMouseLeave:z,onMouseUp:U,onTouchEnd:y,onTouchMove:I,onTouchStart:_,tabIndex:j=0,TouchRippleProps:F,touchRippleRef:N,type:$,...Y}=r,G=R.useRef(null),Z=jm(),v=at(Z.ref,N),[q,ee]=R.useState(!1);u&&q&&ee(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{ee(!0),G.current.focus()}}),[]);const w=Z.shouldMount&&!f&&!u;R.useEffect(()=>{q&&h&&!f&&Z.pulsate()},[f,h,q,Z]);const X=Kt(Z,"start",P,p),ne=Kt(Z,"stop",E,p),Q=Kt(Z,"stop",k,p),oe=Kt(Z,"stop",U,p),se=Kt(Z,"stop",W=>{q&&W.preventDefault(),z&&z(W)},p),ie=Kt(Z,"start",_,p),J=Kt(Z,"stop",y,p),ae=Kt(Z,"stop",I,p),A=Kt(Z,"stop",W=>{ml(W.target)||ee(!1),g&&g(W)},!1),be=wn(W=>{G.current||(G.current=W.currentTarget),ml(W.target)&&(ee(!0),C&&C(W)),S&&S(W)}),H=()=>{const W=G.current;return c&&c!=="button"&&!(W.tagName==="A"&&W.href)},ve=wn(W=>{h&&!W.repeat&&q&&W.key===" "&&Z.stop(W,()=>{Z.start(W)}),W.target===W.currentTarget&&H()&&W.key===" "&&W.preventDefault(),x&&x(W),W.target===W.currentTarget&&H()&&W.key==="Enter"&&!u&&(W.preventDefault(),b&&b(W))}),Xe=wn(W=>{h&&W.key===" "&&q&&!W.defaultPrevented&&Z.stop(W,()=>{Z.pulsate(W)}),T&&T(W),b&&W.target===W.currentTarget&&H()&&W.key===" "&&!W.defaultPrevented&&b(W)});let Be=c;Be==="button"&&(Y.href||Y.to)&&(Be=m);const He={};Be==="button"?(He.type=$===void 0?"button":$,He.disabled=u):(!Y.href&&!Y.to&&(He.role="button"),u&&(He["aria-disabled"]=u));const Je=at(n,G),ot={...r,centerRipple:i,component:c,disabled:u,disableRipple:f,disableTouchRipple:p,focusRipple:h,tabIndex:j,focusVisible:q},O=Ym(ot);return V.jsxs(Km,{as:Be,className:Ee(O.root,l),ownerState:ot,onBlur:A,onClick:b,onContextMenu:ne,onFocus:be,onKeyDown:ve,onKeyUp:Xe,onMouseDown:X,onMouseLeave:se,onMouseUp:oe,onDragLeave:Q,onTouchEnd:J,onTouchMove:ae,onTouchStart:ie,ref:Je,tabIndex:u?-1:j,type:$,...He,...Y,children:[s,w?V.jsx(Gl,{ref:v,center:i,...F}):null]})});function Kt(e,t,n,r=!1){return wn(o=>(n&&n(o),r||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(_i.propTypes={action:Wt,centerRipple:a.bool,children:a.node,classes:a.object,className:a.string,component:mi,disabled:a.bool,disableRipple:a.bool,disableTouchRipple:a.bool,focusRipple:a.bool,focusVisibleClassName:a.string,href:a.any,LinkComponent:a.elementType,onBlur:a.func,onClick:a.func,onContextMenu:a.func,onDragLeave:a.func,onFocus:a.func,onFocusVisible:a.func,onKeyDown:a.func,onKeyUp:a.func,onMouseDown:a.func,onMouseLeave:a.func,onMouseUp:a.func,onTouchEnd:a.func,onTouchMove:a.func,onTouchStart:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number,TouchRippleProps:a.object,touchRippleRef:a.oneOfType([a.func,a.shape({current:a.shape({pulsate:a.func.isRequired,start:a.func.isRequired,stop:a.func.isRequired})})]),type:a.oneOfType([a.oneOf(["button","reset","submit"]),a.string])});function Gm(e){return typeof e.main=="string"}function Xm(e,t=[]){if(!Gm(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function yt(e=[]){return([,t])=>t&&Xm(t,e)}function Jm(e){return Fe("MuiIconButton",e)}const Qm=je("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Zm=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${ce(r)}`,o&&`edge${ce(o)}`,`size${ce(i)}`]};return qe(s,Jm,t)},eg=fe(_i,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],n.edge&&t[`edge${ce(n.edge)}`],t[`size${ce(n.size)}`]]}})(Le(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),Le(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Qm.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Mi=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:f="medium",...p}=r,h={...r,edge:o,color:l,disabled:c,disableFocusRipple:u,size:f},d=Zm(h);return V.jsx(eg,{className:Ee(d.root,s),centerRipple:!0,focusRipple:!u,disabled:c,ref:n,...p,ownerState:h,children:i})});process.env.NODE_ENV!=="production"&&(Mi.propTypes={children:En(a.node,e=>R.Children.toArray(e.children).some(n=>R.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
197
+ `)):null),classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),a.string]),disabled:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,edge:a.oneOf(["end","start",!1]),size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function tg(e){return Fe("MuiTypography",e)}je("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ng={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},rg=Em(),og=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${ce(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return qe(l,tg,s)},ig=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ce(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(Le(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(yt()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${ce(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),Xl={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ar=R.forwardRef(function(t,n){const{color:r,...o}=We({props:t,name:"MuiTypography"}),i=!ng[r],s=rg({...o,...i&&{color:r}}),{align:l="inherit",className:c,component:u,gutterBottom:f=!1,noWrap:p=!1,paragraph:h=!1,variant:d="body1",variantMapping:m=Xl,...g}=s,b={...s,align:l,color:r,className:c,component:u,gutterBottom:f,noWrap:p,paragraph:h,variant:d,variantMapping:m},E=u||(h?"p":m[d]||Xl[d])||"span",k=og(b);return V.jsx(ig,{as:E,ref:n,className:Ee(k.root,c),...g,ownerState:b,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...g.style}})});process.env.NODE_ENV!=="production"&&(ar.propTypes={align:a.oneOf(["center","inherit","justify","left","right"]),children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),a.string]),component:a.elementType,gutterBottom:a.bool,noWrap:a.bool,paragraph:a.bool,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),a.string]),variantMapping:a.object});function sg(e){return typeof e=="function"?e():e}const uo=R.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=R.useState(null),c=at(R.isValidElement(r)?rr(r):null,n);if(Xt(()=>{i||l(sg(o)||document.body)},[o,i]),Xt(()=>{if(s&&!i)return yi(n,s),()=>{yi(n,null)}},[n,s,i]),i){if(R.isValidElement(r)){const u={ref:c};return R.cloneElement(r,u)}return r}return s&&Vf.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(uo.propTypes={children:a.node,container:a.oneOfType([nr,a.func]),disablePortal:a.bool}),process.env.NODE_ENV!=="production"&&(uo.propTypes=il(uo.propTypes));function co(e){return parseInt(e,10)||0}const ag={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function lg(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const Jl=R.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l,...c}=t,{current:u}=R.useRef(l!=null),f=R.useRef(null),p=at(n,f),h=R.useRef(null),d=R.useRef(null),m=R.useCallback(()=>{const E=f.current,S=Ht(E).getComputedStyle(E);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};const C=d.current;C.style.width=S.width,C.value=E.value||t.placeholder||"x",C.value.slice(-1)===`
198
+ `&&(C.value+=" ");const x=S.boxSizing,T=co(S.paddingBottom)+co(S.paddingTop),P=co(S.borderBottomWidth)+co(S.borderTopWidth),z=C.scrollHeight;C.value="x";const U=C.scrollHeight;let y=z;i&&(y=Math.max(Number(i)*U,y)),o&&(y=Math.min(Number(o)*U,y)),y=Math.max(y,U);const I=y+(x==="border-box"?T+P:0),_=Math.abs(y-z)<=1;return{outerHeightStyle:I,overflowing:_}},[o,i,t.placeholder]),g=R.useCallback(()=>{const E=m();if(lg(E))return;const k=E.outerHeightStyle,S=f.current;h.current!==k&&(h.current=k,S.style.height=`${k}px`),S.style.overflow=E.overflowing?"hidden":""},[m]);Xt(()=>{const E=()=>{g()};let k;const S=()=>{cancelAnimationFrame(k),k=requestAnimationFrame(()=>{E()})},C=al(E),x=f.current,T=Ht(x);T.addEventListener("resize",C);let P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver(process.env.NODE_ENV==="test"?S:E),P.observe(x)),()=>{C.clear(),cancelAnimationFrame(k),T.removeEventListener("resize",C),P&&P.disconnect()}},[m,g]),Xt(()=>{g()});const b=E=>{u||g(),r&&r(E)};return V.jsxs(R.Fragment,{children:[V.jsx("textarea",{value:l,onChange:b,ref:p,rows:i,style:s,...c}),V.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:{...ag.shadow,...s,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(Jl.propTypes={className:a.string,maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),onChange:a.func,placeholder:a.string,style:a.object,value:a.oneOfType([a.arrayOf(a.string),a.number,a.string])});function $i(e){return typeof e=="string"}function kn({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const fo=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(fo.displayName="FormControlContext");function On(){return R.useContext(fo)}function Ql(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function po(e,t=!1){return e&&(Ql(e.value)&&e.value!==""||t&&Ql(e.defaultValue)&&e.defaultValue!=="")}function ug(e){return e.startAdornment}function cg(e){return Fe("MuiInputBase",e)}const Rn=je("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Zl;const ho=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ce(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},mo=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},fg=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:c,hiddenLabel:u,multiline:f,readOnly:p,size:h,startAdornment:d,type:m}=e,g={root:["root",`color${ce(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",h&&h!=="medium"&&`size${ce(h)}`,f&&"multiline",d&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled",m==="search"&&"inputTypeSearch",f&&"inputMultiline",h==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",d&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return qe(g,cg,t)},go=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ho})(Le(({theme:e})=>({...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",[`&.${Rn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),yo=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:mo})(Le(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{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%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Rn.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Rn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),eu=Sm({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),bo=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:l,color:c,components:u={},componentsProps:f={},defaultValue:p,disabled:h,disableInjectingGlobalStyles:d,endAdornment:m,error:g,fullWidth:b=!1,id:E,inputComponent:k="input",inputProps:S={},inputRef:C,margin:x,maxRows:T,minRows:P,multiline:z=!1,name:U,onBlur:y,onChange:I,onClick:_,onFocus:j,onKeyDown:F,onKeyUp:N,placeholder:$,readOnly:Y,renderSuffix:G,rows:Z,size:v,slotProps:q={},slots:ee={},startAdornment:w,type:X="text",value:ne,...Q}=r,oe=S.value!=null?S.value:ne,{current:se}=R.useRef(oe!=null),ie=R.useRef(),J=R.useCallback(ge=>{process.env.NODE_ENV!=="production"&&ge&&ge.nodeName!=="INPUT"&&!ge.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
199
+ `))},[]),ae=at(ie,C,S.ref,J),[A,be]=R.useState(!1),H=On();process.env.NODE_ENV!=="production"&&R.useEffect(()=>{if(H)return H.registerEffect()},[H]);const ve=kn({props:r,muiFormControl:H,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ve.focused=H?H.focused:A,R.useEffect(()=>{!H&&h&&A&&(be(!1),y&&y())},[H,h,A,y]);const Xe=H&&H.onFilled,Be=H&&H.onEmpty,He=R.useCallback(ge=>{po(ge)?Xe&&Xe():Be&&Be()},[Xe,Be]);Xt(()=>{se&&He({value:oe})},[oe,He,se]);const Je=ge=>{j&&j(ge),S.onFocus&&S.onFocus(ge),H&&H.onFocus?H.onFocus(ge):be(!0)},ot=ge=>{y&&y(ge),S.onBlur&&S.onBlur(ge),H&&H.onBlur?H.onBlur(ge):be(!1)},O=(ge,...tt)=>{if(!se){const Ue=ge.target||ie.current;if(Ue==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":At(1));He({value:Ue.value})}S.onChange&&S.onChange(ge,...tt),I&&I(ge,...tt)};R.useEffect(()=>{He(ie.current)},[]);const W=ge=>{ie.current&&ge.currentTarget===ge.target&&ie.current.focus(),_&&_(ge)};let te=k,de=S;z&&te==="input"&&(Z?(process.env.NODE_ENV!=="production"&&(P||T)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),de={type:void 0,minRows:Z,maxRows:Z,...de}):de={type:void 0,maxRows:T,minRows:P,...de},te=Jl);const ze=ge=>{He(ge.animationName==="mui-auto-fill-cancel"?ie.current:{value:"x"})};R.useEffect(()=>{H&&H.setAdornedStart(!!w)},[H,w]);const M={...r,color:ve.color||"primary",disabled:ve.disabled,endAdornment:m,error:ve.error,focused:ve.focused,formControl:H,fullWidth:b,hiddenLabel:ve.hiddenLabel,multiline:z,size:ve.size,startAdornment:w,type:X},B=fg(M),le=ee.root||u.Root||go,pe=q.root||f.root||{},ue=ee.input||u.Input||yo;return de={...de,...q.input??f.input},V.jsxs(R.Fragment,{children:[!d&&typeof eu=="function"&&(Zl||(Zl=V.jsx(eu,{}))),V.jsxs(le,{...pe,ref:n,onClick:W,...Q,...!$i(le)&&{ownerState:{...M,...pe.ownerState}},className:Ee(B.root,pe.className,l,Y&&"MuiInputBase-readOnly"),children:[w,V.jsx(fo.Provider,{value:null,children:V.jsx(ue,{"aria-invalid":ve.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:p,disabled:ve.disabled,id:E,onAnimationStart:ze,name:U,placeholder:$,readOnly:Y,required:ve.required,rows:Z,value:oe,onKeyDown:F,onKeyUp:N,type:X,...de,...!$i(ue)&&{as:te,ownerState:{...M,...de.ownerState}},ref:ae,className:Ee(B.input,de.className,Y&&"MuiInputBase-readOnly"),onBlur:ot,onChange:O,onFocus:Je})}),m,G?G({...ve,startAdornment:w}):null]})]})});process.env.NODE_ENV!=="production"&&(bo.propTypes={"aria-describedby":a.string,autoComplete:a.string,autoFocus:a.bool,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableInjectingGlobalStyles:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:mi,inputProps:a.object,inputRef:Wt,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onClick:a.func,onFocus:a.func,onInvalid:a.func,onKeyDown:a.func,onKeyUp:a.func,placeholder:a.string,readOnly:a.bool,renderSuffix:a.func,required:a.bool,rows:a.oneOfType([a.number,a.string]),size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any});function pg(e){return Fe("MuiInput",e)}const lr={...Rn,...je("MuiInput",["root","underline","input"])};function dg(e){return Fe("MuiOutlinedInput",e)}const Lt={...Rn,...je("MuiOutlinedInput",["root","notchedOutline","input"])};function hg(e){return Fe("MuiFilledInput",e)}const sn={...Rn,...je("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},mg=Vl(V.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),gg={entering:{opacity:1},entered:{opacity:1}},tu=R.forwardRef(function(t,n){const r=ki(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:c,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:d,onExited:m,onExiting:g,style:b,timeout:E=o,TransitionComponent:k=Dt,...S}=t,C=R.useRef(null),x=at(C,rr(l),n),T=F=>N=>{if(F){const $=C.current;N===void 0?F($):F($,N)}},P=T(h),z=T((F,N)=>{Yl(F);const $=ao({style:b,timeout:E,easing:c},{mode:"enter"});F.style.webkitTransition=r.transitions.create("opacity",$),F.style.transition=r.transitions.create("opacity",$),f&&f(F,N)}),U=T(p),y=T(g),I=T(F=>{const N=ao({style:b,timeout:E,easing:c},{mode:"exit"});F.style.webkitTransition=r.transitions.create("opacity",N),F.style.transition=r.transitions.create("opacity",N),d&&d(F)}),_=T(m),j=F=>{i&&i(C.current,F)};return V.jsx(k,{appear:s,in:u,nodeRef:C,onEnter:z,onEntered:U,onEntering:P,onExit:I,onExited:_,onExiting:y,addEndListener:j,timeout:E,...S,children:(F,N)=>R.cloneElement(l,{style:{opacity:0,visibility:F==="exited"&&!u?"hidden":void 0,...gg[F],...b,...l.props.style},ref:x,...N})})});process.env.NODE_ENV!=="production"&&(tu.propTypes={addEndListener:a.func,appear:a.bool,children:tr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function yg(e){return Fe("MuiBackdrop",e)}je("MuiBackdrop",["root","invisible"]);const bg=e=>{const{ownerState:t,...n}=e;return n},vg=e=>{const{classes:t,invisible:n}=e;return qe({root:["root",n&&"invisible"]},yg,t)},xg=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),nu=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:l=!1,open:c,components:u={},componentsProps:f={},slotProps:p={},slots:h={},TransitionComponent:d,transitionDuration:m,...g}=r,b={...r,component:s,invisible:l},E=vg(b),k={transition:d,root:u.Root,...h},S={...f,...p},C={slots:k,slotProps:S},[x,T]=Pt("root",{elementType:xg,externalForwardedProps:C,className:Ee(E.root,i),ownerState:b}),[P,z]=Pt("transition",{elementType:tu,externalForwardedProps:C,ownerState:b}),U=bg(z);return V.jsx(P,{in:c,timeout:m,...g,...U,children:V.jsx(x,{"aria-hidden":!0,...T,classes:E,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(nu.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.object}),invisible:a.bool,open:a.bool.isRequired,slotProps:a.shape({root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});const Sg=je("MuiBox",["root"]),Eg=Bl(),an=oh({themeId:Un,defaultTheme:Eg,defaultClassName:Sg.root,generateClassName:Wa.generate});process.env.NODE_ENV!=="production"&&(an.propTypes={children:a.node,component:a.elementType,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function wg(e){return Fe("MuiButton",e)}const Pn=je("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"]),ru=R.createContext({});process.env.NODE_ENV!=="production"&&(ru.displayName="ButtonGroupContext");const ou=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(ou.displayName="ButtonGroupButtonContext");const Cg=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${ce(t)}`,`size${ce(o)}`,`${i}Size${ce(o)}`,`color${ce(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ce(o)}`],endIcon:["icon","endIcon",`iconSize${ce(o)}`]},c=qe(l,wg,s);return{...s,...c}},iu=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Tg=fe(_i,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color)}`],t[`size${ce(n.size)}`],t[`${n.variant}Size${ce(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(Le(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Pn.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Pn.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Pn.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Pn.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(yt()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[r].mainChannel} / 0.5)`:Ft(e.palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft(e.palette[r].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[r].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft(e.palette[r].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ft(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Pn.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Pn.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),kg=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ce(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...iu]}),Og=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ce(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...iu]}),vo=R.forwardRef(function(t,n){const r=R.useContext(ru),o=R.useContext(ou),i=Zn(r,t),s=We({props:i,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:f,disabled:p=!1,disableElevation:h=!1,disableFocusRipple:d=!1,endIcon:m,focusVisibleClassName:g,fullWidth:b=!1,size:E="medium",startIcon:k,type:S,variant:C="text",...x}=s,T={...s,color:c,component:u,disabled:p,disableElevation:h,disableFocusRipple:d,fullWidth:b,size:E,type:S,variant:C},P=Cg(T),z=k&&V.jsx(kg,{className:P.startIcon,ownerState:T,children:k}),U=m&&V.jsx(Og,{className:P.endIcon,ownerState:T,children:m}),y=o||"";return V.jsxs(Tg,{ownerState:T,className:Ee(r.className,P.root,f,y),component:u,disabled:p,focusRipple:!d,focusVisibleClassName:Ee(P.focusVisible,g),ref:n,type:S,...x,classes:P,children:[z,l,U]})});process.env.NODE_ENV!=="production"&&(vo.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","primary","secondary","success","error","info","warning"]),a.string]),component:a.elementType,disabled:a.bool,disableElevation:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,endIcon:a.node,focusVisibleClassName:a.string,fullWidth:a.bool,href:a.string,size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),startIcon:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.oneOfType([a.oneOf(["button","reset","submit"]),a.string]),variant:a.oneOfType([a.oneOf(["contained","outlined","text"]),a.string])});function Rg(e){const t=Ot(e);return t.body===e?Ht(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ur(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function su(e){return parseInt(Ht(e).getComputedStyle(e).paddingRight,10)||0}function Pg(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function au(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=!i.includes(s),c=!Pg(s);l&&c&&ur(s,o)})}function Fi(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Ig(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Rg(r)){const s=gl(Ht(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${su(r)+s}px`;const l=Ot(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${su(c)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Ot(r).body;else{const s=r.parentElement,l=Ht(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function Ag(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Ng{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ur(t.modalRef,!1);const o=Ag(n);au(n,t.mount,t.modalRef,o,!0);const i=Fi(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Fi(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=Ig(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Fi(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ur(t.modalRef,n),au(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&ur(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const _g=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Mg(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 $g(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Fg(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||$g(e))}function jg(e){const t=[],n=[];return Array.from(e.querySelectorAll(_g)).forEach((r,o)=>{const i=Mg(r);i===-1||!Fg(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Dg(){return!0}function xo(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=jg,isEnabled:s=Dg,open:l}=e,c=R.useRef(!1),u=R.useRef(null),f=R.useRef(null),p=R.useRef(null),h=R.useRef(null),d=R.useRef(!1),m=R.useRef(null),g=at(rr(t),m),b=R.useRef(null);R.useEffect(()=>{!l||!m.current||(d.current=!n)},[n,l]),R.useEffect(()=>{if(!l||!m.current)return;const S=Ot(m.current);return m.current.contains(S.activeElement)||(m.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
200
+ `)),m.current.setAttribute("tabIndex","-1")),d.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),R.useEffect(()=>{if(!l||!m.current)return;const S=Ot(m.current),C=P=>{b.current=P,!(r||!s()||P.key!=="Tab")&&S.activeElement===m.current&&P.shiftKey&&(c.current=!0,f.current&&f.current.focus())},x=()=>{var U,y;const P=m.current;if(P===null)return;if(!S.hasFocus()||!s()||c.current){c.current=!1;return}if(P.contains(S.activeElement)||r&&S.activeElement!==u.current&&S.activeElement!==f.current)return;if(S.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!d.current)return;let z=[];if((S.activeElement===u.current||S.activeElement===f.current)&&(z=i(m.current)),z.length>0){const I=!!((U=b.current)!=null&&U.shiftKey&&((y=b.current)==null?void 0:y.key)==="Tab"),_=z[0],j=z[z.length-1];typeof _!="string"&&typeof j!="string"&&(I?j.focus():_.focus())}else P.focus()};S.addEventListener("focusin",x),S.addEventListener("keydown",C,!0);const T=setInterval(()=>{S.activeElement&&S.activeElement.tagName==="BODY"&&x()},50);return()=>{clearInterval(T),S.removeEventListener("focusin",x),S.removeEventListener("keydown",C,!0)}},[n,r,o,s,l,i]);const E=S=>{p.current===null&&(p.current=S.relatedTarget),d.current=!0,h.current=S.target;const C=t.props.onFocus;C&&C(S)},k=S=>{p.current===null&&(p.current=S.relatedTarget),d.current=!0};return V.jsxs(R.Fragment,{children:[V.jsx("div",{tabIndex:l?0:-1,onFocus:k,ref:u,"data-testid":"sentinelStart"}),R.cloneElement(t,{ref:g,onFocus:E}),V.jsx("div",{tabIndex:l?0:-1,onFocus:k,ref:f,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(xo.propTypes={children:tr,disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableRestoreFocus:a.bool,getTabbable:a.func,isEnabled:a.func,open:a.bool.isRequired}),process.env.NODE_ENV!=="production"&&(xo.propTypes=il(xo.propTypes));function Lg(e){return typeof e=="function"?e():e}function Bg(e){return e?e.props.hasOwnProperty("in"):!1}const lu=()=>{},So=new Ng;function zg(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:f}=e,p=R.useRef({}),h=R.useRef(null),d=R.useRef(null),m=at(d,f),[g,b]=R.useState(!u),E=Bg(l);let k=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(k=!1);const S=()=>Ot(h.current),C=()=>(p.current.modalRef=d.current,p.current.mount=h.current,p.current),x=()=>{So.mount(C(),{disableScrollLock:r}),d.current&&(d.current.scrollTop=0)},T=wn(()=>{const N=Lg(t)||S().body;So.add(C(),N),d.current&&x()}),P=()=>So.isTopModal(C()),z=wn(N=>{h.current=N,N&&(u&&P()?x():d.current&&ur(d.current,k))}),U=R.useCallback(()=>{So.remove(C(),k)},[k]);R.useEffect(()=>()=>{U()},[U]),R.useEffect(()=>{u?T():(!E||!o)&&U()},[u,U,E,o,T]);const y=N=>$=>{var Y;(Y=N.onKeyDown)==null||Y.call(N,$),!($.key!=="Escape"||$.which===229||!P())&&(n||($.stopPropagation(),c&&c($,"escapeKeyDown")))},I=N=>$=>{var Y;(Y=N.onClick)==null||Y.call(N,$),$.target===$.currentTarget&&c&&c($,"backdropClick")};return{getRootProps:(N={})=>{const $=Sl(e);delete $.onTransitionEnter,delete $.onTransitionExited;const Y={...$,...N};return{role:"presentation",...Y,onKeyDown:y(Y),ref:m}},getBackdropProps:(N={})=>{const $=N;return{"aria-hidden":!0,...$,onClick:I($),open:u}},getTransitionProps:()=>{const N=()=>{b(!1),i&&i()},$=()=>{b(!0),s&&s(),o&&U()};return{onEnter:sl(N,(l==null?void 0:l.props.onEnter)??lu),onExited:sl($,(l==null?void 0:l.props.onExited)??lu)}},rootRef:m,portalRef:z,isTopModal:P,exited:g,hasTransition:E}}function Ug(e){return Fe("MuiModal",e)}je("MuiModal",["root","hidden","backdrop"]);const Vg=e=>{const{open:t,exited:n,classes:r}=e;return qe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Ug,r)},qg=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(Le(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Wg=fe(nu,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),uu=R.forwardRef(function(t,n){const r=We({name:"MuiModal",props:t}),{BackdropComponent:o=Wg,BackdropProps:i,classes:s,className:l,closeAfterTransition:c=!1,children:u,container:f,component:p,components:h={},componentsProps:d={},disableAutoFocus:m=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:b=!1,disablePortal:E=!1,disableRestoreFocus:k=!1,disableScrollLock:S=!1,hideBackdrop:C=!1,keepMounted:x=!1,onBackdropClick:T,onClose:P,onTransitionEnter:z,onTransitionExited:U,open:y,slotProps:I={},slots:_={},theme:j,...F}=r,N={...r,closeAfterTransition:c,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:b,disablePortal:E,disableRestoreFocus:k,disableScrollLock:S,hideBackdrop:C,keepMounted:x},{getRootProps:$,getBackdropProps:Y,getTransitionProps:G,portalRef:Z,isTopModal:v,exited:q,hasTransition:ee}=zg({...N,rootRef:n}),w={...N,exited:q},X=Vg(w),ne={};if(u.props.tabIndex===void 0&&(ne.tabIndex="-1"),ee){const{onEnter:A,onExited:be}=G();ne.onEnter=A,ne.onExited=be}const Q={...F,slots:{root:h.Root,backdrop:h.Backdrop,..._},slotProps:{...d,...I}},[oe,se]=Pt("root",{elementType:qg,externalForwardedProps:Q,getSlotProps:$,additionalProps:{ref:n,as:p},ownerState:w,className:Ee(l,X==null?void 0:X.root,!w.open&&w.exited&&(X==null?void 0:X.hidden))}),[ie,J]=Pt("backdrop",{elementType:o,externalForwardedProps:Q,additionalProps:i,getSlotProps:A=>Y({...A,onClick:be=>{T&&T(be),A!=null&&A.onClick&&A.onClick(be)}}),className:Ee(i==null?void 0:i.className,X==null?void 0:X.backdrop),ownerState:w}),ae=at(i==null?void 0:i.ref,J.ref);return!x&&!y&&(!ee||q)?null:V.jsx(uo,{ref:Z,container:f,disablePortal:E,children:V.jsxs(oe,{...se,children:[!C&&o?V.jsx(ie,{...J,ref:ae}):null,V.jsx(xo,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:k,isEnabled:v,open:y,children:R.cloneElement(u,ne)})]})})});process.env.NODE_ENV!=="production"&&(uu.propTypes={BackdropComponent:a.elementType,BackdropProps:a.object,children:tr.isRequired,classes:a.object,className:a.string,closeAfterTransition:a.bool,component:a.elementType,components:a.shape({Backdrop:a.elementType,Root:a.elementType}),componentsProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([nr,a.func]),disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableEscapeKeyDown:a.bool,disablePortal:a.bool,disableRestoreFocus:a.bool,disableScrollLock:a.bool,hideBackdrop:a.bool,keepMounted:a.bool,onBackdropClick:a.func,onClose:a.func,onTransitionEnter:a.func,onTransitionExited:a.func,open:a.bool.isRequired,slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const Hg=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:l}=e,c={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${ce(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},u=qe(c,hg,t);return{...t,...u}},Yg=fe(go,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ho(e,t),!n.disableUnderline&&t.underline]}})(Le(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,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:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${sn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${sn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{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"},[`&.${sn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${sn.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})`: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(.${sn.disabled}, .${sn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${sn.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(yt()).map(([s])=>{var l;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[s])==null?void 0:l.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Kg=fe(yo,{name:"MuiFilledInput",slot:"Input",overridesResolver:mo})(Le(({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),cr=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:c,inputComponent:u="input",multiline:f=!1,slotProps:p,slots:h={},type:d="text",...m}=r,g={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:f,type:d},b=Hg(r),E={root:{ownerState:g},input:{ownerState:g}},k=p??s?st(E,p??s):E,S=h.root??i.Root??Yg,C=h.input??i.Input??Kg;return V.jsx(bo,{slots:{root:S,input:C},slotProps:k,fullWidth:l,inputComponent:u,multiline:f,ref:n,type:d,...m,classes:b})});process.env.NODE_ENV!=="production"&&(cr.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableUnderline:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,hiddenLabel:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:Wt,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),cr&&(cr.muiName="Input");function Gg(e){return Fe("MuiFormControl",e)}je("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Xg=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ce(n)}`,r&&"fullWidth"]};return qe(o,Gg,t)},Jg=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${ce(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),cu=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:c=!1,error:u=!1,focused:f,fullWidth:p=!1,hiddenLabel:h=!1,margin:d="none",required:m=!1,size:g="medium",variant:b="outlined",...E}=r,k={...r,color:s,component:l,disabled:c,error:u,fullWidth:p,hiddenLabel:h,margin:d,required:m,size:g,variant:b},S=Xg(k),[C,x]=R.useState(()=>{let F=!1;return o&&R.Children.forEach(o,N=>{if(!gi(N,["Input","Select"]))return;const $=gi(N,["Select"])?N.props.input:N;$&&ug($.props)&&(F=!0)}),F}),[T,P]=R.useState(()=>{let F=!1;return o&&R.Children.forEach(o,N=>{gi(N,["Input","Select"])&&(po(N.props,!0)||po(N.props.inputProps,!0))&&(F=!0)}),F}),[z,U]=R.useState(!1);c&&z&&U(!1);const y=f!==void 0&&!c?f:z;let I;const _=R.useRef(!1);process.env.NODE_ENV!=="production"&&(I=()=>(_.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
201
+ `)),_.current=!0,()=>{_.current=!1}));const j=R.useMemo(()=>({adornedStart:C,setAdornedStart:x,color:s,disabled:c,error:u,filled:T,focused:y,fullWidth:p,hiddenLabel:h,size:g,onBlur:()=>{U(!1)},onEmpty:()=>{P(!1)},onFilled:()=>{P(!0)},onFocus:()=>{U(!0)},registerEffect:I,required:m,variant:b}),[C,s,c,u,T,y,p,h,I,m,g,b]);return V.jsx(fo.Provider,{value:j,children:V.jsx(Jg,{as:l,ownerState:k,className:Ee(S.root,i),ref:n,...E,children:o})})});process.env.NODE_ENV!=="production"&&(cu.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,disabled:a.bool,error:a.bool,focused:a.bool,fullWidth:a.bool,hiddenLabel:a.bool,margin:a.oneOf(["dense","none","normal"]),required:a.bool,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOf(["filled","outlined","standard"])});function Qg(e){return Fe("MuiFormHelperText",e)}const fu=je("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var pu;const Zg=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:l,required:c}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${ce(r)}`,n&&"contained",l&&"focused",s&&"filled",c&&"required"]};return qe(u,Qg,t)},ey=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ce(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(Le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${fu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fu.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),du=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:l,error:c,filled:u,focused:f,margin:p,required:h,variant:d,...m}=r,g=On(),b=kn({props:r,muiFormControl:g,states:["variant","size","disabled","error","filled","focused","required"]}),E={...r,component:s,contained:b.variant==="filled"||b.variant==="outlined",variant:b.variant,size:b.size,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required};delete E.ownerState;const k=Zg(E);return V.jsx(ey,{as:s,className:Ee(k.root,i),ref:n,...m,ownerState:E,children:o===" "?pu||(pu=V.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):o})});process.env.NODE_ENV!=="production"&&(du.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,disabled:a.bool,error:a.bool,filled:a.bool,focused:a.bool,margin:a.oneOf(["dense"]),required:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["filled","outlined","standard"]),a.string])});function ty(e){return Fe("MuiFormLabel",e)}const fr=je("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ny=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,c={root:["root",`color${ce(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return qe(c,ty,t)},ry=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(Le(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{[`&.${fr.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${fr.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fr.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),oy=fe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(Le(({theme:e})=>({[`&.${fr.error}`]:{color:(e.vars||e).palette.error.main}}))),hu=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:l="label",disabled:c,error:u,filled:f,focused:p,required:h,...d}=r,m=On(),g=kn({props:r,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),b={...r,color:g.color||"primary",component:l,disabled:g.disabled,error:g.error,filled:g.filled,focused:g.focused,required:g.required},E=ny(b);return V.jsxs(ry,{as:l,ownerState:b,className:Ee(E.root,i),ref:n,...d,children:[o,g.required&&V.jsxs(oy,{ownerState:b,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(hu.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["error","info","primary","secondary","success","warning"]),a.string]),component:a.elementType,disabled:a.bool,error:a.bool,filled:a.bool,focused:a.bool,required:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function ji(e){return`scale(${e}, ${e**2})`}const iy={entering:{opacity:1,transform:ji(1)},entered:{opacity:1,transform:"none"}},Di=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Eo=R.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:c,onEntered:u,onEntering:f,onExit:p,onExited:h,onExiting:d,style:m,timeout:g="auto",TransitionComponent:b=Dt,...E}=t,k=hl(),S=R.useRef(),C=ki(),x=R.useRef(null),T=at(x,rr(i),n),P=N=>$=>{if(N){const Y=x.current;$===void 0?N(Y):N(Y,$)}},z=P(f),U=P((N,$)=>{Yl(N);const{duration:Y,delay:G,easing:Z}=ao({style:m,timeout:g,easing:s},{mode:"enter"});let v;g==="auto"?(v=C.transitions.getAutoHeightDuration(N.clientHeight),S.current=v):v=Y,N.style.transition=[C.transitions.create("opacity",{duration:v,delay:G}),C.transitions.create("transform",{duration:Di?v:v*.666,delay:G,easing:Z})].join(","),c&&c(N,$)}),y=P(u),I=P(d),_=P(N=>{const{duration:$,delay:Y,easing:G}=ao({style:m,timeout:g,easing:s},{mode:"exit"});let Z;g==="auto"?(Z=C.transitions.getAutoHeightDuration(N.clientHeight),S.current=Z):Z=$,N.style.transition=[C.transitions.create("opacity",{duration:Z,delay:Y}),C.transitions.create("transform",{duration:Di?Z:Z*.666,delay:Di?Y:Y||Z*.333,easing:G})].join(","),N.style.opacity=0,N.style.transform=ji(.75),p&&p(N)}),j=P(h),F=N=>{g==="auto"&&k.start(S.current||0,N),r&&r(x.current,N)};return V.jsx(b,{appear:o,in:l,nodeRef:x,onEnter:U,onEntered:y,onEntering:z,onExit:_,onExited:j,onExiting:I,addEndListener:F,timeout:g==="auto"?null:g,...E,children:(N,$)=>R.cloneElement(i,{style:{opacity:0,transform:ji(.75),visibility:N==="exited"&&!l?"hidden":void 0,...iy[N],...m,...i.props.style},ref:T,...$})})});process.env.NODE_ENV!=="production"&&(Eo.propTypes={addEndListener:a.func,appear:a.bool,children:tr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])}),Eo&&(Eo.muiSupportAuto=!0);const mu=Sh({themeId:Un}),sy=e=>{const{classes:t,disableUnderline:n}=e,o=qe({root:["root",!n&&"underline"],input:["input"]},pg,t);return{...t,...o}},ay=fe(go,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ho(e,t),!n.disableUnderline&&t.underline]}})(Le(({theme:e})=>{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})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{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"},[`&.${lr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lr.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(.${lr.disabled}, .${lr.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${lr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(yt()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),ly=fe(yo,{name:"MuiInput",slot:"Input",overridesResolver:mo})({}),pr=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:c="input",multiline:u=!1,slotProps:f,slots:p={},type:h="text",...d}=r,m=sy(r),b={root:{ownerState:{disableUnderline:o}}},E=f??s?st(f??s,b):b,k=p.root??i.Root??ay,S=p.input??i.Input??ly;return V.jsx(bo,{slots:{root:k,input:S},slotProps:E,fullWidth:l,inputComponent:c,multiline:u,ref:n,type:h,...d,classes:m})});process.env.NODE_ENV!=="production"&&(pr.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableUnderline:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:Wt,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),pr&&(pr.muiName="Input");function uy(e){return Fe("MuiInputLabel",e)}je("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const cy=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,c={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ce(r)}`,s],asterisk:[l&&"asterisk"]},u=qe(c,uy,t);return{...t,...u}},fy=fe(hu,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${fr.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(Le(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),gu=R.forwardRef(function(t,n){const r=We({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:l,className:c,...u}=r,f=On();let p=s;typeof p>"u"&&f&&(p=f.filled||f.focused||f.adornedStart);const h=kn({props:r,muiFormControl:f,states:["size","variant","required","focused"]}),d={...r,disableAnimation:o,formControl:f,shrink:p,size:h.size,variant:h.variant,required:h.required,focused:h.focused},m=cy(d);return V.jsx(fy,{"data-shrink":p,ref:n,className:Ee(m.root,c),...u,ownerState:d,classes:m})});process.env.NODE_ENV!=="production"&&(gu.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["error","info","primary","secondary","success","warning"]),a.string]),disableAnimation:a.bool,disabled:a.bool,error:a.bool,focused:a.bool,margin:a.oneOf(["dense"]),required:a.bool,shrink:a.bool,size:a.oneOfType([a.oneOf(["normal","small"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOf(["filled","outlined","standard"])});function py(e){return Fe("MuiLinearProgress",e)}je("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Li=4,Bi=xn`
202
+ 0% {
203
+ left: -35%;
204
+ right: 100%;
205
+ }
206
+
207
+ 60% {
208
+ left: 100%;
209
+ right: -90%;
210
+ }
211
+
212
+ 100% {
213
+ left: 100%;
214
+ right: -90%;
215
+ }
216
+ `,dy=typeof Bi!="string"?Br`
217
+ animation: ${Bi} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
218
+ `:null,zi=xn`
219
+ 0% {
220
+ left: -200%;
221
+ right: 100%;
222
+ }
223
+
224
+ 60% {
225
+ left: 107%;
226
+ right: -8%;
227
+ }
228
+
229
+ 100% {
230
+ left: 107%;
231
+ right: -8%;
232
+ }
233
+ `,hy=typeof zi!="string"?Br`
234
+ animation: ${zi} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
235
+ `:null,Ui=xn`
236
+ 0% {
237
+ opacity: 1;
238
+ background-position: 0 -23px;
239
+ }
240
+
241
+ 60% {
242
+ opacity: 0;
243
+ background-position: 0 -23px;
244
+ }
245
+
246
+ 100% {
247
+ opacity: 1;
248
+ background-position: -200px -23px;
249
+ }
250
+ `,my=typeof Ui!="string"?Br`
251
+ animation: ${Ui} 3s infinite linear;
252
+ `:null,gy=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${ce(r)}`,n],dashed:["dashed",`dashedColor${ce(r)}`],bar1:["bar",`barColor${ce(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${ce(r)}`,n==="buffer"&&`color${ce(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return qe(o,py,t)},Vi=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?oo(e.palette[t].main,.62):ro(e.palette[t].main,.5),yy=fe("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ce(n.color)}`],t[n.variant]]}})(Le(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{backgroundColor:Vi(e,t)}})),{props:({ownerState:t})=>t.color==="inherit"&&t.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),by=fe("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${ce(n.color)}`]]}})(Le(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(yt()).map(([t])=>{const n=Vi(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),my||{animation:`${Ui} 3s infinite linear`}),vy=fe("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(Le(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Li}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Li}s linear`}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:dy||{animation:`${Bi} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),xy=fe("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(Le(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:t})=>t.variant!=="buffer"&&t.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:t})=>t.variant!=="buffer"&&t.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(yt()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Vi(e,t),transition:`transform .${Li}s linear`}})),{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:hy||{animation:`${zi} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),yu=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:s,valueBuffer:l,variant:c="indeterminate",...u}=r,f={...r,color:i,variant:c},p=gy(f),h=kl(),d={},m={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(s!==void 0){d["aria-valuenow"]=Math.round(s),d["aria-valuemin"]=0,d["aria-valuemax"]=100;let g=s-100;h&&(g=-g),m.bar1.transform=`translateX(${g}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(c==="buffer")if(l!==void 0){let g=(l||0)-100;h&&(g=-g),m.bar2.transform=`translateX(${g}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return V.jsxs(yy,{className:Ee(p.root,o),ownerState:f,role:"progressbar",...d,ref:n,...u,children:[c==="buffer"?V.jsx(by,{className:p.dashed,ownerState:f}):null,V.jsx(vy,{className:p.bar1,ownerState:f,style:m.bar1}),c==="determinate"?null:V.jsx(xy,{className:p.bar2,ownerState:f,style:m.bar2})]})});process.env.NODE_ENV!=="production"&&(yu.propTypes={classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","primary","secondary"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.number,valueBuffer:a.number,variant:a.oneOf(["buffer","determinate","indeterminate","query"])});const bu=R.createContext({});process.env.NODE_ENV!=="production"&&(bu.displayName="ListContext");function Sy(e){return Fe("MuiList",e)}je("MuiList",["root","padding","dense","subheader"]);const Ey=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return qe({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Sy,t)},wy=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),vu=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:c=!1,subheader:u,...f}=r,p=R.useMemo(()=>({dense:l}),[l]),h={...r,component:s,dense:l,disablePadding:c},d=Ey(h);return V.jsx(bu.Provider,{value:p,children:V.jsxs(wy,{as:s,className:Ee(d.root,i),ref:n,ownerState:h,...f,children:[u,o]})})});process.env.NODE_ENV!=="production"&&(vu.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,dense:a.bool,disablePadding:a.bool,subheader:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function qi(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function xu(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Su(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function dr(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const c=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!Su(l,i)||c)l=o(e,l,n);else return l.focus(),!0}return!1}const Eu=R.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:f,variant:p="selectedMenu",...h}=t,d=R.useRef(null),m=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Xt(()=>{o&&d.current.focus()},[o]),R.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(S,{direction:C})=>{const x=!d.current.style.width;if(S.clientHeight<d.current.clientHeight&&x){const T=`${gl(Ht(S))}px`;d.current.style[C==="rtl"?"paddingLeft":"paddingRight"]=T,d.current.style.width=`calc(100% + ${T})`}return d.current}}),[]);const g=S=>{const C=d.current,x=S.key;if(S.ctrlKey||S.metaKey||S.altKey){f&&f(S);return}const P=Ot(C).activeElement;if(x==="ArrowDown")S.preventDefault(),dr(C,P,u,c,qi);else if(x==="ArrowUp")S.preventDefault(),dr(C,P,u,c,xu);else if(x==="Home")S.preventDefault(),dr(C,null,u,c,qi);else if(x==="End")S.preventDefault(),dr(C,null,u,c,xu);else if(x.length===1){const z=m.current,U=x.toLowerCase(),y=performance.now();z.keys.length>0&&(y-z.lastTime>500?(z.keys=[],z.repeating=!0,z.previousKeyMatched=!0):z.repeating&&U!==z.keys[0]&&(z.repeating=!1)),z.lastTime=y,z.keys.push(U);const I=P&&!z.repeating&&Su(P,z);z.previousKeyMatched&&(I||dr(C,P,!1,c,qi,z))?S.preventDefault():z.previousKeyMatched=!1}f&&f(S)},b=at(d,n);let E=-1;R.Children.forEach(s,(S,C)=>{if(!R.isValidElement(S)){E===C&&(E+=1,E>=s.length&&(E=-1));return}process.env.NODE_ENV!=="production"&&Qn.isFragment(S)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
253
+ `)),S.props.disabled||(p==="selectedMenu"&&S.props.selected||E===-1)&&(E=C),E===C&&(S.props.disabled||S.props.muiSkipListHighlight||S.type.muiSkipListHighlight)&&(E+=1,E>=s.length&&(E=-1))});const k=R.Children.map(s,(S,C)=>{if(C===E){const x={};return i&&(x.autoFocus=!0),S.props.tabIndex===void 0&&p==="selectedMenu"&&(x.tabIndex=0),R.cloneElement(S,x)}return S});return V.jsx(vu,{role:"menu",ref:b,className:l,onKeyDown:g,tabIndex:o?0:-1,...h,children:k})});process.env.NODE_ENV!=="production"&&(Eu.propTypes={autoFocus:a.bool,autoFocusItem:a.bool,children:a.node,className:a.string,disabledItemsFocusable:a.bool,disableListWrap:a.bool,onKeyDown:a.func,variant:a.oneOf(["menu","selectedMenu"])});function Cy(e){return Fe("MuiPopover",e)}je("MuiPopover",["root","paper"]);function wu(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Cu(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Tu(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function wo(e){return typeof e=="function"?e():e}const Ty=e=>{const{classes:t}=e;return qe({root:["root"],paper:["paper"]},Cy,t)},ky=fe(uu,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ku=fe(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}),Ou=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:u,className:f,container:p,elevation:h=8,marginThreshold:d=16,open:m,PaperProps:g={},slots:b={},slotProps:E={},transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:S=Eo,transitionDuration:C="auto",TransitionProps:{onEntering:x,...T}={},disableScrollLock:P=!1,...z}=r,U=(E==null?void 0:E.paper)??g,y=R.useRef(),I={...r,anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:d,externalPaperSlotProps:U,transformOrigin:k,TransitionComponent:S,transitionDuration:C,TransitionProps:T},_=Ty(I),j=R.useCallback(()=>{if(c==="anchorPosition")return process.env.NODE_ENV!=="production"&&(l||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),l;const J=wo(i),ae=J&&J.nodeType===1?J:Ot(y.current).body,A=ae.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const be=ae.getBoundingClientRect();process.env.NODE_ENV!=="test"&&be.top===0&&be.left===0&&be.right===0&&be.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
254
+ `))}return{top:A.top+wu(A,s.vertical),left:A.left+Cu(A,s.horizontal)}},[i,s.horizontal,s.vertical,l,c]),F=R.useCallback(J=>({vertical:wu(J,k.vertical),horizontal:Cu(J,k.horizontal)}),[k.horizontal,k.vertical]),N=R.useCallback(J=>{const ae={width:J.offsetWidth,height:J.offsetHeight},A=F(ae);if(c==="none")return{top:null,left:null,transformOrigin:Tu(A)};const be=j();let H=be.top-A.vertical,ve=be.left-A.horizontal;const Xe=H+ae.height,Be=ve+ae.width,He=Ht(wo(i)),Je=He.innerHeight-d,ot=He.innerWidth-d;if(d!==null&&H<d){const O=H-d;H-=O,A.vertical+=O}else if(d!==null&&Xe>Je){const O=Xe-Je;H-=O,A.vertical+=O}if(process.env.NODE_ENV!=="production"&&ae.height>Je&&ae.height&&Je&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${ae.height-Je}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
255
+ `)),d!==null&&ve<d){const O=ve-d;ve-=O,A.horizontal+=O}else if(Be>ot){const O=Be-ot;ve-=O,A.horizontal+=O}return{top:`${Math.round(H)}px`,left:`${Math.round(ve)}px`,transformOrigin:Tu(A)}},[i,c,j,F,d]),[$,Y]=R.useState(m),G=R.useCallback(()=>{const J=y.current;if(!J)return;const ae=N(J);ae.top!==null&&J.style.setProperty("top",ae.top),ae.left!==null&&(J.style.left=ae.left),J.style.transformOrigin=ae.transformOrigin,Y(!0)},[N]);R.useEffect(()=>(P&&window.addEventListener("scroll",G),()=>window.removeEventListener("scroll",G)),[i,P,G]);const Z=(J,ae)=>{x&&x(J,ae),G()},v=()=>{Y(!1)};R.useEffect(()=>{m&&G()}),R.useImperativeHandle(o,()=>m?{updatePosition:()=>{G()}}:null,[m,G]),R.useEffect(()=>{if(!m)return;const J=al(()=>{G()}),ae=Ht(i);return ae.addEventListener("resize",J),()=>{J.clear(),ae.removeEventListener("resize",J)}},[i,m,G]);let q=C;C==="auto"&&!S.muiSupportAuto&&(q=void 0);const ee=p||(i?Ot(wo(i)).body:void 0),w={slots:b,slotProps:{...E,paper:U}},[X,ne]=Pt("paper",{elementType:ku,externalForwardedProps:w,additionalProps:{elevation:h,className:Ee(_.paper,U==null?void 0:U.className),style:$?U.style:{...U.style,opacity:0}},ownerState:I}),[Q,{slotProps:oe,...se}]=Pt("root",{elementType:ky,externalForwardedProps:w,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:ee,open:m},ownerState:I,className:Ee(_.root,f)}),ie=at(y,ne.ref);return V.jsx(Q,{...se,...!$i(Q)&&{slotProps:oe,disableScrollLock:P},...z,ref:n,children:V.jsx(S,{appear:!0,in:m,onEntering:Z,onExited:v,timeout:q,...T,children:V.jsx(X,{...ne,ref:ie,children:u})})})});process.env.NODE_ENV!=="production"&&(Ou.propTypes={action:Wt,anchorEl:En(a.oneOfType([nr,a.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=wo(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
256
+ `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
257
+ `))}return null}),anchorOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),anchorPosition:a.shape({left:a.number.isRequired,top:a.number.isRequired}),anchorReference:a.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:a.elementType,BackdropProps:a.object,children:a.node,classes:a.object,className:a.string,container:a.oneOfType([nr,a.func]),disableScrollLock:a.bool,elevation:vl,marginThreshold:a.number,onClose:a.func,open:a.bool.isRequired,PaperProps:a.shape({component:mi}),slotProps:a.shape({paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({paper:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transformOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object});function Oy(e){return Fe("MuiMenu",e)}je("MuiMenu",["root","paper","list"]);const Ry={vertical:"top",horizontal:"right"},Py={vertical:"top",horizontal:"left"},Iy=e=>{const{classes:t}=e;return qe({root:["root"],paper:["paper"],list:["list"]},Oy,t)},Ay=fe(Ou,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ny=fe(ku,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),_y=fe(Eu,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Ru=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:f,PaperProps:p={},PopoverClasses:h,transitionDuration:d="auto",TransitionProps:{onEntering:m,...g}={},variant:b="selectedMenu",slots:E={},slotProps:k={},...S}=r,C=kl(),x={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:d,TransitionProps:g,variant:b},T=Iy(x),P=o&&!l&&f,z=R.useRef(null),U=($,Y)=>{z.current&&z.current.adjustStyleForScrollbar($,{direction:C?"rtl":"ltr"}),m&&m($,Y)},y=$=>{$.key==="Tab"&&($.preventDefault(),u&&u($,"tabKeyDown"))};let I=-1;R.Children.map(i,($,Y)=>{R.isValidElement($)&&(process.env.NODE_ENV!=="production"&&Qn.isFragment($)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
258
+ `)),$.props.disabled||(b==="selectedMenu"&&$.props.selected||I===-1)&&(I=Y))});const _=E.paper??Ny,j=k.paper??p,F=Tl({elementType:E.root,externalSlotProps:k.root,ownerState:x,className:[T.root,s]}),N=Tl({elementType:_,externalSlotProps:j,ownerState:x,className:T.paper});return V.jsx(Ay,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?Ry:Py,slots:{paper:_,root:E.root},slotProps:{root:F,paper:N},open:f,ref:n,transitionDuration:d,TransitionProps:{onEntering:U,...g},ownerState:x,...S,classes:h,children:V.jsx(_y,{onKeyDown:y,actions:z,autoFocus:o&&(I===-1||l),autoFocusItem:P,variant:b,...c,className:Ee(T.list,c.className),children:i})})});process.env.NODE_ENV!=="production"&&(Ru.propTypes={anchorEl:a.oneOfType([nr,a.func]),autoFocus:a.bool,children:a.node,classes:a.object,className:a.string,disableAutoFocusItem:a.bool,MenuListProps:a.object,onClose:a.func,open:a.bool.isRequired,PaperProps:a.object,PopoverClasses:a.object,slotProps:a.shape({paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({paper:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object,variant:a.oneOf(["menu","selectedMenu"])});function My(e){return Fe("MuiNativeSelect",e)}const Wi=je("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),$y=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ce(n)}`,i&&"iconOpen",r&&"disabled"]};return qe(l,My,t)},Pu=fe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Wi.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Fy=fe(Pu,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Rt,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Wi.multiple}`]:t.multiple}]}})({}),Iu=fe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Wi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),jy=fe(Iu,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})({}),Au=R.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:c="standard",...u}=t,f={...t,disabled:o,variant:c,error:i},p=$y(f);return V.jsxs(R.Fragment,{children:[V.jsx(Fy,{ownerState:f,className:Ee(p.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:V.jsx(jy,{as:s,ownerState:f,className:p.icon})]})});process.env.NODE_ENV!=="production"&&(Au.propTypes={children:a.node,classes:a.object,className:a.string,disabled:a.bool,error:a.bool,IconComponent:a.elementType.isRequired,inputRef:Wt,multiple:a.bool,name:a.string,onChange:a.func,value:a.any,variant:a.oneOf(["standard","outlined","filled"])});var Nu;const Dy=fe("fieldset",{shouldForwardProp:Rt})({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%"}),Ly=fe("legend",{shouldForwardProp:Rt})(Le(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function _u(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,l=o!=null&&o!=="",c={...e,notched:i,withLabel:l};return V.jsx(Dy,{"aria-hidden":!0,className:r,ownerState:c,...s,children:V.jsx(Ly,{ownerState:c,children:l?V.jsx("span",{children:o}):Nu||(Nu=V.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}process.env.NODE_ENV!=="production"&&(_u.propTypes={children:a.node,classes:a.object,className:a.string,label:a.node,notched:a.bool.isRequired,style:a.object});const By=e=>{const{classes:t}=e,r=qe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},dg,t);return{...t,...r}},zy=fe(go,{shouldForwardProp:e=>Rt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ho})(Le(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Lt.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Lt.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Lt.focused} .${Lt.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(yt()).map(([n])=>({props:{color:n},style:{[`&.${Lt.focused} .${Lt.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${Lt.error} .${Lt.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Lt.disabled} .${Lt.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),Uy=fe(_u,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(Le(({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}})),Vy=fe(yo,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:mo})(Le(({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),hr=R.forwardRef(function(t,n){var r;const o=We({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:c,multiline:u=!1,notched:f,slots:p={},type:h="text",...d}=o,m=By(o),g=On(),b=kn({props:o,muiFormControl:g,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),E={...o,color:b.color||"primary",disabled:b.disabled,error:b.error,focused:b.focused,formControl:g,fullWidth:s,hiddenLabel:b.hiddenLabel,multiline:u,size:b.size,type:h},k=p.root??i.Root??zy,S=p.input??i.Input??Vy;return V.jsx(bo,{slots:{root:k,input:S},renderSuffix:C=>V.jsx(Uy,{ownerState:E,className:m.notchedOutline,label:c!=null&&c!==""&&b.required?r||(r=V.jsxs(R.Fragment,{children:[c," ","*"]})):c,notched:typeof f<"u"?f:!!(C.startAdornment||C.filled||C.focused)}),fullWidth:s,inputComponent:l,multiline:u,ref:n,type:h,...d,classes:{...m,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(hr.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),defaultValue:a.any,disabled:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:Wt,label:a.node,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,notched:a.bool,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),hr&&(hr.muiName="Input");function qy(e){return Fe("MuiSelect",e)}const mr=je("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Mu;const Wy=fe(Pu,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${mr.select}`]:t.select},{[`&.${mr.select}`]:t[n.variant]},{[`&.${mr.error}`]:t.error},{[`&.${mr.multiple}`]:t.multiple}]}})({[`&.${mr.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Hy=fe(Iu,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})({}),Yy=fe("input",{shouldForwardProp:e=>zl(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function $u(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Ky(e){return e==null||typeof e=="string"&&!e.trim()}const Gy=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ce(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return qe(l,qy,t)},Fu=R.forwardRef(function(t,n){var St;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:f,disabled:p,displayEmpty:h,error:d=!1,IconComponent:m,inputRef:g,labelId:b,MenuProps:E={},multiple:k,name:S,onBlur:C,onChange:x,onClose:T,onFocus:P,onOpen:z,open:U,readOnly:y,renderValue:I,SelectDisplayProps:_={},tabIndex:j,type:F,value:N,variant:$="standard",...Y}=t,[G,Z]=fl({controlled:N,default:f,name:"Select"}),[v,q]=fl({controlled:U,default:u,name:"Select"}),ee=R.useRef(null),w=R.useRef(null),[X,ne]=R.useState(null),{current:Q}=R.useRef(U!=null),[oe,se]=R.useState(),ie=at(n,g),J=R.useCallback(re=>{w.current=re,re&&ne(re)},[]),ae=X==null?void 0:X.parentNode;R.useImperativeHandle(ie,()=>({focus:()=>{w.current.focus()},node:ee.current,value:G}),[G]),R.useEffect(()=>{u&&v&&X&&!Q&&(se(s?null:ae.clientWidth),w.current.focus())},[X,s]),R.useEffect(()=>{i&&w.current.focus()},[i]),R.useEffect(()=>{if(!b)return;const re=Ot(w.current).getElementById(b);if(re){const ye=()=>{getSelection().isCollapsed&&w.current.focus()};return re.addEventListener("click",ye),()=>{re.removeEventListener("click",ye)}}},[b]);const A=(re,ye)=>{re?z&&z(ye):T&&T(ye),Q||(se(s?null:ae.clientWidth),q(re))},be=re=>{re.button===0&&(re.preventDefault(),w.current.focus(),A(!0,re))},H=re=>{A(!1,re)},ve=R.Children.toArray(l),Xe=re=>{const ye=ve.find(Ve=>Ve.props.value===re.target.value);ye!==void 0&&(Z(ye.props.value),x&&x(re,ye))},Be=re=>ye=>{let Ve;if(ye.currentTarget.hasAttribute("tabindex")){if(k){Ve=Array.isArray(G)?G.slice():[];const ct=G.indexOf(re.props.value);ct===-1?Ve.push(re.props.value):Ve.splice(ct,1)}else Ve=re.props.value;if(re.props.onClick&&re.props.onClick(ye),G!==Ve&&(Z(Ve),x)){const ct=ye.nativeEvent||ye,Uf=new ct.constructor(ct.type,ct);Object.defineProperty(Uf,"target",{writable:!0,value:{value:Ve,name:S}}),x(Uf,re)}k||A(!1,ye)}},He=re=>{y||[" ","ArrowUp","ArrowDown","Enter"].includes(re.key)&&(re.preventDefault(),A(!0,re))},Je=X!==null&&v,ot=re=>{!Je&&C&&(Object.defineProperty(re,"target",{writable:!0,value:{value:G,name:S}}),C(re))};delete Y["aria-invalid"];let O,W;const te=[];let de=!1,ze=!1;(po({value:G})||h)&&(I?O=I(G):de=!0);const M=ve.map(re=>{if(!R.isValidElement(re))return null;process.env.NODE_ENV!=="production"&&Qn.isFragment(re)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
259
+ `));let ye;if(k){if(!Array.isArray(G))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":At(2));ye=G.some(Ve=>$u(Ve,re.props.value)),ye&&de&&te.push(re.props.children)}else ye=$u(G,re.props.value),ye&&de&&(W=re.props.children);return ye&&(ze=!0),R.cloneElement(re,{"aria-selected":ye?"true":"false",onClick:Be(re),onKeyUp:Ve=>{Ve.key===" "&&Ve.preventDefault(),re.props.onKeyUp&&re.props.onKeyUp(Ve)},role:"option",selected:ye,value:void 0,"data-value":re.props.value})});process.env.NODE_ENV!=="production"&&R.useEffect(()=>{if(!ze&&!k&&G!==""){const re=ve.map(ye=>ye.props.value);console.warn([`MUI: You have provided an out-of-range value \`${G}\` for the select ${S?`(name="${S}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${re.filter(ye=>ye!=null).map(ye=>`\`${ye}\``).join(", ")||'""'}.`].join(`
260
+ `))}},[ze,ve,k,S,G]),de&&(k?te.length===0?O=null:O=te.reduce((re,ye,Ve)=>(re.push(ye),Ve<te.length-1&&re.push(", "),re),[]):O=W);let B=oe;!s&&Q&&X&&(B=ae.clientWidth);let le;typeof j<"u"?le=j:le=p?null:0;const pe=_.id||(S?`mui-component-select-${S}`:void 0),ue={...t,variant:$,value:G,open:Je,error:d},ge=Gy(ue),tt={...E.PaperProps,...(St=E.slotProps)==null?void 0:St.paper},Ue=cl();return V.jsxs(R.Fragment,{children:[V.jsx(Wy,{as:"div",ref:J,tabIndex:le,role:"combobox","aria-controls":Ue,"aria-disabled":p?"true":void 0,"aria-expanded":Je?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[b,pe].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:He,onMouseDown:p||y?null:be,onBlur:ot,onFocus:P,..._,ownerState:ue,className:Ee(_.className,ge.select,c),id:pe,children:Ky(O)?Mu||(Mu=V.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):O}),V.jsx(Yy,{"aria-invalid":d,value:Array.isArray(G)?G.join(","):G,name:S,ref:ee,"aria-hidden":!0,onChange:Xe,tabIndex:-1,disabled:p,className:ge.nativeInput,autoFocus:i,...Y,ownerState:ue}),V.jsx(Hy,{as:m,className:ge.icon,ownerState:ue}),V.jsx(Ru,{id:`menu-${S||""}`,anchorEl:ae,open:Je,onClose:H,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...E,MenuListProps:{"aria-labelledby":b,role:"listbox","aria-multiselectable":k?"true":void 0,disableListWrap:!0,id:Ue,...E.MenuListProps},slotProps:{...E.slotProps,paper:{...tt,style:{minWidth:B,...tt!=null?tt.style:null}}},children:M})]})});process.env.NODE_ENV!=="production"&&(Fu.propTypes={"aria-describedby":a.string,"aria-label":a.string,autoFocus:a.bool,autoWidth:a.bool,children:a.node,classes:a.object,className:a.string,defaultOpen:a.bool,defaultValue:a.any,disabled:a.bool,displayEmpty:a.bool,error:a.bool,IconComponent:a.elementType.isRequired,inputRef:Wt,labelId:a.string,MenuProps:a.object,multiple:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onClose:a.func,onFocus:a.func,onOpen:a.func,open:a.bool,readOnly:a.bool,renderValue:a.func,SelectDisplayProps:a.object,tabIndex:a.oneOfType([a.number,a.string]),type:a.any,value:a.any,variant:a.oneOf(["standard","outlined","filled"])});const Xy=e=>{const{classes:t}=e;return t},Hi={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Rt(e)&&e!=="variant",slot:"Root"},Jy=fe(pr,Hi)(""),Qy=fe(hr,Hi)(""),Zy=fe(cr,Hi)(""),Yi=R.forwardRef(function(t,n){const r=We({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:f=mg,id:p,input:h,inputProps:d,label:m,labelId:g,MenuProps:b,multiple:E=!1,native:k=!1,onClose:S,onOpen:C,open:x,renderValue:T,SelectDisplayProps:P,variant:z="outlined",...U}=r,y=k?Au:Fu,I=On(),_=kn({props:r,muiFormControl:I,states:["variant","error"]}),j=_.variant||z,F={...r,variant:j,classes:s},N=Xy(F),{root:$,...Y}=N,G=h||{standard:V.jsx(Jy,{ownerState:F}),outlined:V.jsx(Qy,{label:m,ownerState:F}),filled:V.jsx(Zy,{ownerState:F})}[j],Z=at(n,rr(G));return V.jsx(R.Fragment,{children:R.cloneElement(G,{inputComponent:y,inputProps:{children:i,error:_.error,IconComponent:f,variant:j,type:void 0,multiple:E,...k?{id:p}:{autoWidth:o,defaultOpen:c,displayEmpty:u,labelId:g,MenuProps:b,onClose:S,onOpen:C,open:x,renderValue:T,SelectDisplayProps:{id:p,...P}},...d,classes:d?st(Y,d.classes):Y,...h?h.props.inputProps:{}},...(E&&k||u)&&j==="outlined"?{notched:!0}:{},ref:Z,className:Ee(G.props.className,l,N.root),...!h&&{variant:j},...U})})});process.env.NODE_ENV!=="production"&&(Yi.propTypes={autoWidth:a.bool,children:a.node,classes:a.object,className:a.string,defaultOpen:a.bool,defaultValue:a.any,displayEmpty:a.bool,IconComponent:a.elementType,id:a.string,input:a.element,inputProps:a.object,label:a.node,labelId:a.string,MenuProps:a.object,multiple:a.bool,native:a.bool,onChange:a.func,onClose:a.func,onOpen:a.func,open:a.bool,renderValue:a.func,SelectDisplayProps:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.oneOfType([a.oneOf([""]),a.any]),variant:a.oneOf(["filled","outlined","standard"])}),Yi.muiName="Select";function eb(e){return Fe("MuiTextField",e)}je("MuiTextField",["root"]);const tb={standard:pr,filled:cr,outlined:hr},nb=e=>{const{classes:t}=e;return qe({root:["root"]},eb,t)},rb=fe(cu,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ju=R.forwardRef(function(t,n){const r=We({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:l,color:c="primary",defaultValue:u,disabled:f=!1,error:p=!1,FormHelperTextProps:h,fullWidth:d=!1,helperText:m,id:g,InputLabelProps:b,inputProps:E,InputProps:k,inputRef:S,label:C,maxRows:x,minRows:T,multiline:P=!1,name:z,onBlur:U,onChange:y,onFocus:I,placeholder:_,required:j=!1,rows:F,select:N=!1,SelectProps:$,slots:Y={},slotProps:G={},type:Z,value:v,variant:q="outlined",...ee}=r,w={...r,autoFocus:i,color:c,disabled:f,error:p,fullWidth:d,multiline:P,required:j,select:N,variant:q},X=nb(w);process.env.NODE_ENV!=="production"&&N&&!s&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const ne=cl(g),Q=m&&ne?`${ne}-helper-text`:void 0,oe=C&&ne?`${ne}-label`:void 0,se=tb[q],ie={slots:Y,slotProps:{input:k,inputLabel:b,htmlInput:E,formHelperText:h,select:$,...G}},J={},ae=ie.slotProps.inputLabel;q==="outlined"&&(ae&&typeof ae.shrink<"u"&&(J.notched=ae.shrink),J.label=C),N&&((!$||!$.native)&&(J.id=void 0),J["aria-describedby"]=void 0);const[A,be]=Pt("input",{elementType:se,externalForwardedProps:ie,additionalProps:J,ownerState:w}),[H,ve]=Pt("inputLabel",{elementType:gu,externalForwardedProps:ie,ownerState:w}),[Xe,Be]=Pt("htmlInput",{elementType:"input",externalForwardedProps:ie,ownerState:w}),[He,Je]=Pt("formHelperText",{elementType:du,externalForwardedProps:ie,ownerState:w}),[ot,O]=Pt("select",{elementType:Yi,externalForwardedProps:ie,ownerState:w}),W=V.jsx(A,{"aria-describedby":Q,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:d,multiline:P,name:z,rows:F,maxRows:x,minRows:T,type:Z,value:v,id:ne,inputRef:S,onBlur:U,onChange:y,onFocus:I,placeholder:_,inputProps:Be,slots:{input:Y.htmlInput?Xe:void 0},...be});return V.jsxs(rb,{className:Ee(X.root,l),disabled:f,error:p,fullWidth:d,ref:n,required:j,color:c,variant:q,ownerState:w,...ee,children:[C!=null&&C!==""&&V.jsx(H,{htmlFor:ne,id:oe,...ve,children:C}),N?V.jsx(ot,{"aria-describedby":Q,id:ne,labelId:oe,value:v,input:W,...O,children:s}):W,m&&V.jsx(He,{id:Q,...Je,children:m})]})});process.env.NODE_ENV!=="production"&&(ju.propTypes={autoComplete:a.string,autoFocus:a.bool,children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),defaultValue:a.any,disabled:a.bool,error:a.bool,FormHelperTextProps:a.object,fullWidth:a.bool,helperText:a.node,id:a.string,InputLabelProps:a.object,inputProps:a.object,InputProps:a.object,inputRef:Wt,label:a.node,margin:a.oneOf(["dense","none","normal"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onFocus:a.func,placeholder:a.string,required:a.bool,rows:a.oneOfType([a.number,a.string]),select:a.bool,SelectProps:a.object,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),slotProps:a.shape({formHelperText:a.oneOfType([a.func,a.object]),htmlInput:a.oneOfType([a.func,a.object]),input:a.oneOfType([a.func,a.object]),inputLabel:a.oneOfType([a.func,a.object]),select:a.oneOfType([a.func,a.object])}),slots:a.shape({formHelperText:a.elementType,htmlInput:a.elementType,input:a.elementType,inputLabel:a.elementType,select:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any,variant:a.oneOf(["filled","outlined","standard"])});const ob=Vl(V.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-2M6 9h12v2H6zm8 5H6v-2h8zm4-6H6V6h12z"}),"Chat");function Du(e,t){return function(){return e.apply(t,arguments)}}const{toString:ib}=Object.prototype,{getPrototypeOf:Ki}=Object,Co=(e=>t=>{const n=ib.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),It=e=>(e=e.toLowerCase(),t=>Co(t)===e),To=e=>t=>typeof t===e,{isArray:In}=Array,gr=To("undefined");function sb(e){return e!==null&&!gr(e)&&e.constructor!==null&&!gr(e.constructor)&&bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Lu=It("ArrayBuffer");function ab(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Lu(e.buffer),t}const lb=To("string"),bt=To("function"),Bu=To("number"),ko=e=>e!==null&&typeof e=="object",ub=e=>e===!0||e===!1,Oo=e=>{if(Co(e)!=="object")return!1;const t=Ki(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},cb=It("Date"),fb=It("File"),pb=It("Blob"),db=It("FileList"),hb=e=>ko(e)&&bt(e.pipe),mb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||bt(e.append)&&((t=Co(e))==="formdata"||t==="object"&&bt(e.toString)&&e.toString()==="[object FormData]"))},gb=It("URLSearchParams"),[yb,bb,vb,xb]=["ReadableStream","Request","Response","Headers"].map(It),Sb=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),In(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],t.call(null,e[l],l,e)}}function zu(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Uu=e=>!gr(e)&&e!==ln;function Gi(){const{caseless:e}=Uu(this)&&this||{},t={},n=(r,o)=>{const i=e&&zu(t,o)||o;Oo(t[i])&&Oo(r)?t[i]=Gi(t[i],r):Oo(r)?t[i]=Gi({},r):In(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&yr(arguments[r],n);return t}const Eb=(e,t,n,{allOwnKeys:r}={})=>(yr(t,(o,i)=>{n&&bt(o)?e[i]=Du(o,n):e[i]=o},{allOwnKeys:r}),e),wb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Cb=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Tb=(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Ki(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kb=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ob=e=>{if(!e)return null;if(In(e))return e;let t=e.length;if(!Bu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Rb=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ki(Uint8Array)),Pb=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Ib=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ab=It("HTMLFormElement"),Nb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Vu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),_b=It("RegExp"),qu=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yr(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},Mb=e=>{qu(e,(t,n)=>{if(bt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(bt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$b=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return In(e)?r(e):r(String(e).split(t)),n},Fb=()=>{},jb=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Xi="abcdefghijklmnopqrstuvwxyz",Wu="0123456789",Hu={DIGIT:Wu,ALPHA:Xi,ALPHA_DIGIT:Xi+Xi.toUpperCase()+Wu},Db=(e=16,t=Hu.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Lb(e){return!!(e&&bt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Bb=e=>{const t=new Array(10),n=(r,o)=>{if(ko(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=In(r)?[]:{};return yr(r,(s,l)=>{const c=n(s,o+1);!gr(c)&&(i[l]=c)}),t[o]=void 0,i}}return r};return n(e,0)},zb=It("AsyncFunction"),Ub=e=>e&&(ko(e)||bt(e))&&bt(e.then)&&bt(e.catch),Yu=((e,t)=>e?setImmediate:t?((n,r)=>(ln.addEventListener("message",({source:o,data:i})=>{o===ln&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),ln.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",bt(ln.postMessage)),Vb=typeof queueMicrotask<"u"?queueMicrotask.bind(ln):typeof process<"u"&&process.nextTick||Yu,D={isArray:In,isArrayBuffer:Lu,isBuffer:sb,isFormData:mb,isArrayBufferView:ab,isString:lb,isNumber:Bu,isBoolean:ub,isObject:ko,isPlainObject:Oo,isReadableStream:yb,isRequest:bb,isResponse:vb,isHeaders:xb,isUndefined:gr,isDate:cb,isFile:fb,isBlob:pb,isRegExp:_b,isFunction:bt,isStream:hb,isURLSearchParams:gb,isTypedArray:Rb,isFileList:db,forEach:yr,merge:Gi,extend:Eb,trim:Sb,stripBOM:wb,inherits:Cb,toFlatObject:Tb,kindOf:Co,kindOfTest:It,endsWith:kb,toArray:Ob,forEachEntry:Pb,matchAll:Ib,isHTMLForm:Ab,hasOwnProperty:Vu,hasOwnProp:Vu,reduceDescriptors:qu,freezeMethods:Mb,toObjectSet:$b,toCamelCase:Nb,noop:Fb,toFiniteNumber:jb,findKey:zu,global:ln,isContextDefined:Uu,ALPHABET:Hu,generateString:Db,isSpecCompliantForm:Lb,toJSONObject:Bb,isAsyncFn:zb,isThenable:Ub,setImmediate:Yu,asap:Vb};function xe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}D.inherits(xe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:D.toJSONObject(this.config),code:this.code,status:this.status}}});const Ku=xe.prototype,Gu={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Gu[e]={value:e}}),Object.defineProperties(xe,Gu),Object.defineProperty(Ku,"isAxiosError",{value:!0}),xe.from=(e,t,n,r,o,i)=>{const s=Object.create(Ku);return D.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),xe.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const qb=null;function Ji(e){return D.isPlainObject(e)||D.isArray(e)}function Xu(e){return D.endsWith(e,"[]")?e.slice(0,-2):e}function Ju(e,t,n){return e?e.concat(t).map(function(o,i){return o=Xu(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Wb(e){return D.isArray(e)&&!e.some(Ji)}const Hb=D.toFlatObject(D,{},null,function(t){return/^is[A-Z]/.test(t)});function Ro(e,t,n){if(!D.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=D.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!D.isUndefined(b[g])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&D.isSpecCompliantForm(t);if(!D.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(D.isDate(m))return m.toISOString();if(!c&&D.isBlob(m))throw new xe("Blob is not supported. Use a Buffer instead.");return D.isArrayBuffer(m)||D.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function f(m,g,b){let E=m;if(m&&!b&&typeof m=="object"){if(D.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(D.isArray(m)&&Wb(m)||(D.isFileList(m)||D.endsWith(g,"[]"))&&(E=D.toArray(m)))return g=Xu(g),E.forEach(function(S,C){!(D.isUndefined(S)||S===null)&&t.append(s===!0?Ju([g],C,i):s===null?g:g+"[]",u(S))}),!1}return Ji(m)?!0:(t.append(Ju(b,g,i),u(m)),!1)}const p=[],h=Object.assign(Hb,{defaultVisitor:f,convertValue:u,isVisitable:Ji});function d(m,g){if(!D.isUndefined(m)){if(p.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));p.push(m),D.forEach(m,function(E,k){(!(D.isUndefined(E)||E===null)&&o.call(t,E,D.isString(k)?k.trim():k,g,h))===!0&&d(E,g?g.concat(k):[k])}),p.pop()}}if(!D.isObject(e))throw new TypeError("data must be an object");return d(e),t}function Qu(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Qi(e,t){this._pairs=[],e&&Ro(e,this,t)}const Zu=Qi.prototype;Zu.append=function(t,n){this._pairs.push([t,n])},Zu.toString=function(t){const n=t?function(r){return t.call(this,r,Qu)}:Qu;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Yb(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ec(e,t,n){if(!t)return e;const r=n&&n.encode||Yb;D.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=D.isURLSearchParams(t)?t.toString():new Qi(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class tc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){D.forEach(this.handlers,function(r){r!==null&&t(r)})}}const nc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kb={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Qi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Zi=typeof window<"u"&&typeof document<"u",es=typeof navigator=="object"&&navigator||void 0,Gb=Zi&&(!es||["ReactNative","NativeScript","NS"].indexOf(es.product)<0),Xb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Jb=Zi&&window.location.href||"http://localhost",lt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zi,hasStandardBrowserEnv:Gb,hasStandardBrowserWebWorkerEnv:Xb,navigator:es,origin:Jb},Symbol.toStringTag,{value:"Module"})),...Kb};function Qb(e,t){return Ro(e,new lt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return lt.isNode&&D.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Zb(e){return D.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function e0(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function rc(e){function t(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=n.length;return s=!s&&D.isArray(o)?o.length:s,c?(D.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!D.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&D.isArray(o[s])&&(o[s]=e0(o[s])),!l)}if(D.isFormData(e)&&D.isFunction(e.entries)){const n={};return D.forEachEntry(e,(r,o)=>{t(Zb(r),o,n,0)}),n}return null}function t0(e,t,n){if(D.isString(e))try{return(t||JSON.parse)(e),D.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const br={transitional:nc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=D.isObject(t);if(i&&D.isHTMLForm(t)&&(t=new FormData(t)),D.isFormData(t))return o?JSON.stringify(rc(t)):t;if(D.isArrayBuffer(t)||D.isBuffer(t)||D.isStream(t)||D.isFile(t)||D.isBlob(t)||D.isReadableStream(t))return t;if(D.isArrayBufferView(t))return t.buffer;if(D.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Qb(t,this.formSerializer).toString();if((l=D.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ro(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),t0(t)):t}],transformResponse:[function(t){const n=this.transitional||br.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(D.isResponse(t)||D.isReadableStream(t))return t;if(t&&D.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?xe.from(l,xe.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lt.classes.FormData,Blob:lt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};D.forEach(["delete","get","head","post","put","patch"],e=>{br.headers[e]={}});const n0=D.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),r0=e=>{const t={};let n,r,o;return e&&e.split(`
261
+ `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&n0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},oc=Symbol("internals");function vr(e){return e&&String(e).trim().toLowerCase()}function Po(e){return e===!1||e==null?e:D.isArray(e)?e.map(Po):String(e)}function o0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const i0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ts(e,t,n,r,o){if(D.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!D.isString(t)){if(D.isString(r))return t.indexOf(r)!==-1;if(D.isRegExp(r))return r.test(t)}}function s0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function a0(e,t){const n=D.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class pt{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,c,u){const f=vr(c);if(!f)throw new Error("header name must be a non-empty string");const p=D.findKey(o,f);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=Po(l))}const s=(l,c)=>D.forEach(l,(u,f)=>i(u,f,c));if(D.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(D.isString(t)&&(t=t.trim())&&!i0(t))s(r0(t),n);else if(D.isHeaders(t))for(const[l,c]of t.entries())i(c,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=vr(t),t){const r=D.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return o0(o);if(D.isFunction(n))return n.call(this,o,r);if(D.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vr(t),t){const r=D.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ts(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=vr(s),s){const l=D.findKey(r,s);l&&(!n||ts(r,r[l],l,n))&&(delete r[l],o=!0)}}return D.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||ts(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return D.forEach(this,(o,i)=>{const s=D.findKey(r,i);if(s){n[s]=Po(o),delete n[i];return}const l=t?s0(i):String(i).trim();l!==i&&delete n[i],n[l]=Po(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return D.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&D.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
262
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[oc]=this[oc]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=vr(s);r[l]||(a0(o,s),r[l]=!0)}return D.isArray(t)?t.forEach(i):i(t),this}}pt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),D.reduceDescriptors(pt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),D.freezeMethods(pt);function ns(e,t){const n=this||br,r=t||n,o=pt.from(r.headers);let i=r.data;return D.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ic(e){return!!(e&&e.__CANCEL__)}function An(e,t,n){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,n),this.name="CanceledError"}D.inherits(An,xe,{__CANCEL__:!0});function sc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new xe("Request failed with status code "+n.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function l0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function u0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[i];s||(s=u),n[o]=c,r[o]=u;let p=i,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const d=f&&u-f;return d?Math.round(h*1e3/d):void 0}}function c0(e,t){let n=0,r=1e3/t,o,i;const s=(u,f=Date.now())=>{n=f,o=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),p=f-n;p>=r?s(u,f):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},r-p)))},()=>o&&s(o)]}const Io=(e,t,n=3)=>{let r=0;const o=u0(50,250);return c0(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,c=s-r,u=o(c),f=s<=l;r=s;const p={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&f?(l-s)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},ac=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},lc=e=>(...t)=>D.asap(()=>e(...t)),f0=lt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,lt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(lt.origin),lt.navigator&&/(msie|trident)/i.test(lt.navigator.userAgent)):()=>!0,p0=lt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];D.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),D.isString(r)&&s.push("path="+r),D.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function d0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function h0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function uc(e,t){return e&&!d0(t)?h0(e,t):t}const cc=e=>e instanceof pt?{...e}:e;function un(e,t){t=t||{};const n={};function r(u,f,p,h){return D.isPlainObject(u)&&D.isPlainObject(f)?D.merge.call({caseless:h},u,f):D.isPlainObject(f)?D.merge({},f):D.isArray(f)?f.slice():f}function o(u,f,p,h){if(D.isUndefined(f)){if(!D.isUndefined(u))return r(void 0,u,p,h)}else return r(u,f,p,h)}function i(u,f){if(!D.isUndefined(f))return r(void 0,f)}function s(u,f){if(D.isUndefined(f)){if(!D.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,p){if(p in t)return r(u,f);if(p in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,f,p)=>o(cc(u),cc(f),p,!0)};return D.forEach(Object.keys(Object.assign({},e,t)),function(f){const p=c[f]||o,h=p(e[f],t[f],f);D.isUndefined(h)&&p!==l||(n[f]=h)}),n}const fc=e=>{const t=un({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=t;t.headers=s=pt.from(s),t.url=ec(uc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(D.isFormData(n)){if(lt.hasStandardBrowserEnv||lt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[u,...f]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...f].join("; "))}}if(lt.hasStandardBrowserEnv&&(r&&D.isFunction(r)&&(r=r(t)),r||r!==!1&&f0(t.url))){const u=o&&i&&p0.read(i);u&&s.set(o,u)}return t},m0=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=fc(e);let i=o.data;const s=pt.from(o.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=o,f,p,h,d,m;function g(){d&&d(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function E(){if(!b)return;const S=pt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),x={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:S,config:e,request:b};sc(function(P){n(P),g()},function(P){r(P),g()},x),b=null}"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(E)},b.onabort=function(){b&&(r(new xe("Request aborted",xe.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new xe("Network Error",xe.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const x=o.transitional||nc;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new xe(C,x.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&D.forEach(s.toJSON(),function(C,x){b.setRequestHeader(x,C)}),D.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),l&&l!=="json"&&(b.responseType=o.responseType),u&&([h,m]=Io(u,!0),b.addEventListener("progress",h)),c&&b.upload&&([p,d]=Io(c),b.upload.addEventListener("progress",p),b.upload.addEventListener("loadend",d)),(o.cancelToken||o.signal)&&(f=S=>{b&&(r(!S||S.type?new An(null,e,b):S),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const k=l0(o.url);if(k&&lt.protocols.indexOf(k)===-1){r(new xe("Unsupported protocol "+k+":",xe.ERR_BAD_REQUEST,e));return}b.send(i||null)})},g0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,l();const f=u instanceof Error?u:this.reason;r.abort(f instanceof xe?f:new An(f instanceof Error?f.message:f))}};let s=t&&setTimeout(()=>{s=null,i(new xe(`timeout ${t} of ms exceeded`,xe.ETIMEDOUT))},t);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>D.asap(l),c}},y0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},b0=async function*(e,t){for await(const n of v0(e))yield*y0(n,t)},v0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},pc=(e,t,n,r)=>{const o=b0(e,t);let i=0,s,l=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:f}=await o.next();if(u){l(),c.close();return}let p=f.byteLength;if(n){let h=i+=p;n(h)}c.enqueue(new Uint8Array(f))}catch(u){throw l(u),u}},cancel(c){return l(c),o.return()}},{highWaterMark:2})},Ao=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",dc=Ao&&typeof ReadableStream=="function",x0=Ao&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),hc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},S0=dc&&hc(()=>{let e=!1;const t=new Request(lt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),mc=64*1024,rs=dc&&hc(()=>D.isReadableStream(new Response("").body)),No={stream:rs&&(e=>e.body)};Ao&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!No[t]&&(No[t]=D.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new xe(`Response type '${t}' is not supported`,xe.ERR_NOT_SUPPORT,r)})})})(new Response);const E0=async e=>{if(e==null)return 0;if(D.isBlob(e))return e.size;if(D.isSpecCompliantForm(e))return(await new Request(lt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(D.isArrayBufferView(e)||D.isArrayBuffer(e))return e.byteLength;if(D.isURLSearchParams(e)&&(e=e+""),D.isString(e))return(await x0(e)).byteLength},w0=async(e,t)=>{const n=D.toFiniteNumber(e.getContentLength());return n??E0(t)},os={http:qb,xhr:m0,fetch:Ao&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:f,withCredentials:p="same-origin",fetchOptions:h}=fc(e);u=u?(u+"").toLowerCase():"text";let d=g0([o,i&&i.toAbortSignal()],s),m;const g=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let b;try{if(c&&S0&&n!=="get"&&n!=="head"&&(b=await w0(f,r))!==0){let x=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(D.isFormData(r)&&(T=x.headers.get("content-type"))&&f.setContentType(T),x.body){const[P,z]=ac(b,Io(lc(c)));r=pc(x.body,mc,P,z)}}D.isString(p)||(p=p?"include":"omit");const E="credentials"in Request.prototype;m=new Request(t,{...h,signal:d,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:E?p:void 0});let k=await fetch(m);const S=rs&&(u==="stream"||u==="response");if(rs&&(l||S&&g)){const x={};["status","statusText","headers"].forEach(U=>{x[U]=k[U]});const T=D.toFiniteNumber(k.headers.get("content-length")),[P,z]=l&&ac(T,Io(lc(l),!0))||[];k=new Response(pc(k.body,mc,P,()=>{z&&z(),g&&g()}),x)}u=u||"text";let C=await No[D.findKey(No,u)||"text"](k,e);return!S&&g&&g(),await new Promise((x,T)=>{sc(x,T,{data:C,headers:pt.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:m})})}catch(E){throw g&&g(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new xe("Network Error",xe.ERR_NETWORK,e,m),{cause:E.cause||E}):xe.from(E,E&&E.code,e,m)}})};D.forEach(os,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const gc=e=>`- ${e}`,C0=e=>D.isFunction(e)||e===null||e===!1,yc={getAdapter:e=>{e=D.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let s;if(r=n,!C0(n)&&(r=os[(s=String(n)).toLowerCase()],r===void 0))throw new xe(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since :
263
+ `+i.map(gc).join(`
264
+ `):" "+gc(i[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:os};function is(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new An(null,e)}function bc(e){return is(e),e.headers=pt.from(e.headers),e.data=ns.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),yc.getAdapter(e.adapter||br.adapter)(e).then(function(r){return is(e),r.data=ns.call(e,e.transformResponse,r),r.headers=pt.from(r.headers),r},function(r){return ic(r)||(is(e),r&&r.response&&(r.response.data=ns.call(e,e.transformResponse,r.response),r.response.headers=pt.from(r.response.headers))),Promise.reject(r)})}const vc="1.7.9",_o={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const xc={};_o.transitional=function(t,n,r){function o(i,s){return"[Axios v"+vc+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new xe(o(s," has been removed"+(n?" in "+n:"")),xe.ERR_DEPRECATED);return n&&!xc[s]&&(xc[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}},_o.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function T0(e,t,n){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],c=l===void 0||s(l,i,e);if(c!==!0)throw new xe("option "+i+" must be "+c,xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new xe("Unknown option "+i,xe.ERR_BAD_OPTION)}}const Mo={assertOptions:T0,validators:_o},Bt=Mo.validators;class cn{constructor(t){this.defaults=t,this.interceptors={request:new tc,response:new tc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
265
+ `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=un(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Mo.assertOptions(r,{silentJSONParsing:Bt.transitional(Bt.boolean),forcedJSONParsing:Bt.transitional(Bt.boolean),clarifyTimeoutError:Bt.transitional(Bt.boolean)},!1),o!=null&&(D.isFunction(o)?n.paramsSerializer={serialize:o}:Mo.assertOptions(o,{encode:Bt.function,serialize:Bt.function},!0)),Mo.assertOptions(n,{baseUrl:Bt.spelling("baseURL"),withXsrfToken:Bt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&D.merge(i.common,i[n.method]);i&&D.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=pt.concat(s,i);const l=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let f,p=0,h;if(!c){const m=[bc.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),h=m.length,f=Promise.resolve(n);p<h;)f=f.then(m[p++],m[p++]);return f}h=l.length;let d=n;for(p=0;p<h;){const m=l[p++],g=l[p++];try{d=m(d)}catch(b){g.call(this,b);break}}try{f=bc.call(this,d)}catch(m){return Promise.reject(m)}for(p=0,h=u.length;p<h;)f=f.then(u[p++],u[p++]);return f}getUri(t){t=un(this.defaults,t);const n=uc(t.baseURL,t.url);return ec(n,t.params,t.paramsSerializer)}}D.forEach(["delete","get","head","options"],function(t){cn.prototype[t]=function(n,r){return this.request(un(r||{},{method:t,url:n,data:(r||{}).data}))}}),D.forEach(["post","put","patch"],function(t){function n(r){return function(i,s,l){return this.request(un(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}cn.prototype[t]=n(),cn.prototype[t+"Form"]=n(!0)});class ss{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new An(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ss(function(o){t=o}),cancel:t}}}function k0(e){return function(n){return e.apply(null,n)}}function O0(e){return D.isObject(e)&&e.isAxiosError===!0}const as={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(as).forEach(([e,t])=>{as[t]=e});function Sc(e){const t=new cn(e),n=Du(cn.prototype.request,t);return D.extend(n,cn.prototype,t,{allOwnKeys:!0}),D.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Sc(un(e,o))},n}const Ge=Sc(br);Ge.Axios=cn,Ge.CanceledError=An,Ge.CancelToken=ss,Ge.isCancel=ic,Ge.VERSION=vc,Ge.toFormData=Ro,Ge.AxiosError=xe,Ge.Cancel=Ge.CanceledError,Ge.all=function(t){return Promise.all(t)},Ge.spread=k0,Ge.isAxiosError=O0,Ge.mergeConfig=un,Ge.AxiosHeaders=pt,Ge.formToJSON=e=>rc(D.isHTMLForm(e)?new FormData(e):e),Ge.getAdapter=yc.getAdapter,Ge.HttpStatusCode=as,Ge.default=Ge;function KE(){}function GE(){}function R0(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const P0=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,I0=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,A0={};function Ec(e,t){return(A0.jsx?I0:P0).test(e)}const N0=/[ \t\n\f\r]/g;function _0(e){return typeof e=="object"?e.type==="text"?wc(e.value):!1:wc(e)}function wc(e){return e.replace(N0,"")===""}class xr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}xr.prototype.property={},xr.prototype.normal={},xr.prototype.space=null;function Cc(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new xr(n,r,t)}function ls(e){return e.toLowerCase()}class Tt{constructor(t,n){this.property=t,this.attribute=n}}Tt.prototype.space=null,Tt.prototype.boolean=!1,Tt.prototype.booleanish=!1,Tt.prototype.overloadedBoolean=!1,Tt.prototype.number=!1,Tt.prototype.commaSeparated=!1,Tt.prototype.spaceSeparated=!1,Tt.prototype.commaOrSpaceSeparated=!1,Tt.prototype.mustUseProperty=!1,Tt.prototype.defined=!1;let M0=0;const Se=fn(),et=fn(),Tc=fn(),K=fn(),Me=fn(),Nn=fn(),vt=fn();function fn(){return 2**++M0}const us=Object.freeze(Object.defineProperty({__proto__:null,boolean:Se,booleanish:et,commaOrSpaceSeparated:vt,commaSeparated:Nn,number:K,overloadedBoolean:Tc,spaceSeparated:Me},Symbol.toStringTag,{value:"Module"})),cs=Object.keys(us);class fs extends Tt{constructor(t,n,r,o){let i=-1;if(super(t,n),kc(this,"space",o),typeof r=="number")for(;++i<cs.length;){const s=cs[i];kc(this,cs[i],(r&us[s])===us[s])}}}fs.prototype.defined=!0;function kc(e,t,n){n&&(e[t]=n)}const $0={}.hasOwnProperty;function _n(e){const t={},n={};let r;for(r in e.properties)if($0.call(e.properties,r)){const o=e.properties[r],i=new fs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ls(r)]=r,n[ls(i.attribute)]=r}return new xr(t,n,e.space)}const Oc=_n({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Rc=_n({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Pc(e,t){return t in e?e[t]:t}function Ic(e,t){return Pc(e,t.toLowerCase())}const Ac=_n({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Ic,properties:{xmlns:null,xmlnsXLink:null}}),Nc=_n({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:et,ariaAutoComplete:null,ariaBusy:et,ariaChecked:et,ariaColCount:K,ariaColIndex:K,ariaColSpan:K,ariaControls:Me,ariaCurrent:null,ariaDescribedBy:Me,ariaDetails:null,ariaDisabled:et,ariaDropEffect:Me,ariaErrorMessage:null,ariaExpanded:et,ariaFlowTo:Me,ariaGrabbed:et,ariaHasPopup:null,ariaHidden:et,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Me,ariaLevel:K,ariaLive:null,ariaModal:et,ariaMultiLine:et,ariaMultiSelectable:et,ariaOrientation:null,ariaOwns:Me,ariaPlaceholder:null,ariaPosInSet:K,ariaPressed:et,ariaReadOnly:et,ariaRelevant:null,ariaRequired:et,ariaRoleDescription:Me,ariaRowCount:K,ariaRowIndex:K,ariaRowSpan:K,ariaSelected:et,ariaSetSize:K,ariaSort:null,ariaValueMax:K,ariaValueMin:K,ariaValueNow:K,ariaValueText:null,role:null}}),F0=_n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Ic,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Nn,acceptCharset:Me,accessKey:Me,action:null,allow:null,allowFullScreen:Se,allowPaymentRequest:Se,allowUserMedia:Se,alt:null,as:null,async:Se,autoCapitalize:null,autoComplete:Me,autoFocus:Se,autoPlay:Se,blocking:Me,capture:null,charSet:null,checked:Se,cite:null,className:Me,cols:K,colSpan:null,content:null,contentEditable:et,controls:Se,controlsList:Me,coords:K|Nn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Se,defer:Se,dir:null,dirName:null,disabled:Se,download:Tc,draggable:et,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Se,formTarget:null,headers:Me,height:K,hidden:Se,high:K,href:null,hrefLang:null,htmlFor:Me,httpEquiv:Me,id:null,imageSizes:null,imageSrcSet:null,inert:Se,inputMode:null,integrity:null,is:null,isMap:Se,itemId:null,itemProp:Me,itemRef:Me,itemScope:Se,itemType:Me,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Se,low:K,manifest:null,max:null,maxLength:K,media:null,method:null,min:null,minLength:K,multiple:Se,muted:Se,name:null,nonce:null,noModule:Se,noValidate:Se,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Se,optimum:K,pattern:null,ping:Me,placeholder:null,playsInline:Se,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Se,referrerPolicy:null,rel:Me,required:Se,reversed:Se,rows:K,rowSpan:K,sandbox:Me,scope:null,scoped:Se,seamless:Se,selected:Se,shadowRootClonable:Se,shadowRootDelegatesFocus:Se,shadowRootMode:null,shape:null,size:K,sizes:null,slot:null,span:K,spellCheck:et,src:null,srcDoc:null,srcLang:null,srcSet:null,start:K,step:null,style:null,tabIndex:K,target:null,title:null,translate:null,type:null,typeMustMatch:Se,useMap:null,value:et,width:K,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Me,axis:null,background:null,bgColor:null,border:K,borderColor:null,bottomMargin:K,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Se,declare:Se,event:null,face:null,frame:null,frameBorder:null,hSpace:K,leftMargin:K,link:null,longDesc:null,lowSrc:null,marginHeight:K,marginWidth:K,noResize:Se,noHref:Se,noShade:Se,noWrap:Se,object:null,profile:null,prompt:null,rev:null,rightMargin:K,rules:null,scheme:null,scrolling:et,standby:null,summary:null,text:null,topMargin:K,valueType:null,version:null,vAlign:null,vLink:null,vSpace:K,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Se,disableRemotePlayback:Se,prefix:null,property:null,results:K,security:null,unselectable:null}}),j0=_n({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Pc,properties:{about:vt,accentHeight:K,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:K,amplitude:K,arabicForm:null,ascent:K,attributeName:null,attributeType:null,azimuth:K,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:K,by:null,calcMode:null,capHeight:K,className:Me,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:K,diffuseConstant:K,direction:null,display:null,dur:null,divisor:K,dominantBaseline:null,download:Se,dx:null,dy:null,edgeMode:null,editable:null,elevation:K,enableBackground:null,end:null,event:null,exponent:K,externalResourcesRequired:null,fill:null,fillOpacity:K,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Nn,g2:Nn,glyphName:Nn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:K,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:K,horizOriginX:K,horizOriginY:K,id:null,ideographic:K,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:K,k:K,k1:K,k2:K,k3:K,k4:K,kernelMatrix:vt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:K,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:K,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:K,overlineThickness:K,paintOrder:null,panose1:null,path:null,pathLength:K,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Me,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:K,pointsAtY:K,pointsAtZ:K,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:vt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:vt,rev:vt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:vt,requiredFeatures:vt,requiredFonts:vt,requiredFormats:vt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:K,specularExponent:K,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:K,strikethroughThickness:K,string:null,stroke:null,strokeDashArray:vt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:K,strokeOpacity:K,strokeWidth:null,style:null,surfaceScale:K,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:vt,tabIndex:K,tableValues:null,target:null,targetX:K,targetY:K,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:vt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:K,underlineThickness:K,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:K,values:null,vAlphabetic:K,vMathematical:K,vectorEffect:null,vHanging:K,vIdeographic:K,version:null,vertAdvY:K,vertOriginX:K,vertOriginY:K,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:K,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),D0=/^data[-\w.:]+$/i,_c=/-[a-z]/g,L0=/[A-Z]/g;function B0(e,t){const n=ls(t);let r=t,o=Tt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&D0.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(_c,U0);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!_c.test(i)){let s=i.replace(L0,z0);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=fs}return new o(r,t)}function z0(e){return"-"+e.toLowerCase()}function U0(e){return e.charAt(1).toUpperCase()}const V0={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},q0=Cc([Rc,Oc,Ac,Nc,F0],"html"),ps=Cc([Rc,Oc,Ac,Nc,j0],"svg");function W0(e){return e.join(" ").trim()}var Mn={},ds,Mc;function H0(){if(Mc)return ds;Mc=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
266
+ `,u="/",f="*",p="",h="comment",d="declaration";ds=function(g,b){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];b=b||{};var E=1,k=1;function S(j){var F=j.match(t);F&&(E+=F.length);var N=j.lastIndexOf(c);k=~N?j.length-N:k+j.length}function C(){var j={line:E,column:k};return function(F){return F.position=new x(j),z(),F}}function x(j){this.start=j,this.end={line:E,column:k},this.source=b.source}x.prototype.content=g;function T(j){var F=new Error(b.source+":"+E+":"+k+": "+j);if(F.reason=j,F.filename=b.source,F.line=E,F.column=k,F.source=g,!b.silent)throw F}function P(j){var F=j.exec(g);if(F){var N=F[0];return S(N),g=g.slice(N.length),F}}function z(){P(n)}function U(j){var F;for(j=j||[];F=y();)F!==!1&&j.push(F);return j}function y(){var j=C();if(!(u!=g.charAt(0)||f!=g.charAt(1))){for(var F=2;p!=g.charAt(F)&&(f!=g.charAt(F)||u!=g.charAt(F+1));)++F;if(F+=2,p===g.charAt(F-1))return T("End of comment missing");var N=g.slice(2,F-2);return k+=2,S(N),g=g.slice(F),k+=2,j({type:h,comment:N})}}function I(){var j=C(),F=P(r);if(F){if(y(),!P(o))return T("property missing ':'");var N=P(i),$=j({type:d,property:m(F[0].replace(e,p)),value:N?m(N[0].replace(e,p)):p});return P(s),$}}function _(){var j=[];U(j);for(var F;F=I();)F!==!1&&(j.push(F),U(j));return j}return z(),_()};function m(g){return g?g.replace(l,p):p}return ds}var $c;function Y0(){if($c)return Mn;$c=1;var e=Mn&&Mn.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Mn,"__esModule",{value:!0}),Mn.default=n;var t=e(H0());function n(r,o){var i=null;if(!r||typeof r!="string")return i;var s=(0,t.default)(r),l=typeof o=="function";return s.forEach(function(c){if(c.type==="declaration"){var u=c.property,f=c.value;l?o(u,f,c):f&&(i=i||{},i[u]=f)}}),i}return Mn}var K0=Y0();const Fc=Wo(K0),G0=Fc.default||Fc,jc=Dc("end"),hs=Dc("start");function Dc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function X0(e){const t=hs(e),n=jc(e);if(t&&n)return{start:t,end:n}}function Sr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Lc(e.position):"start"in e||"end"in e?Lc(e):"line"in e||"column"in e?ms(e):""}function ms(e){return Bc(e&&e.line)+":"+Bc(e&&e.column)}function Lc(e){return ms(e&&e.start)+"-"+ms(e&&e.end)}function Bc(e){return e&&typeof e=="number"?e:1}class ut extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let o="",i={},s=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?o=t:!i.cause&&t&&(s=!0,o=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?i.ruleId=r:(i.source=r.slice(0,c),i.ruleId=r.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const l=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file,this.message=o,this.line=l?l.line:void 0,this.name=Sr(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}ut.prototype.file="",ut.prototype.name="",ut.prototype.reason="",ut.prototype.message="",ut.prototype.stack="",ut.prototype.column=void 0,ut.prototype.line=void 0,ut.prototype.ancestors=void 0,ut.prototype.cause=void 0,ut.prototype.fatal=void 0,ut.prototype.place=void 0,ut.prototype.ruleId=void 0,ut.prototype.source=void 0;const gs={}.hasOwnProperty,J0=new Map,Q0=/[A-Z]/g,Z0=/-([a-z])/g,ev=new Set(["table","tbody","thead","tfoot","tr"]),tv=new Set(["td","th"]),zc="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nv(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=cv(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=uv(n,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ps:q0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Uc(o,e,void 0);return i&&typeof i!="string"?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function Uc(e,t,n){if(t.type==="element")return rv(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return ov(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return sv(e,t,n);if(t.type==="mdxjsEsm")return iv(e,t);if(t.type==="root")return av(e,t,n);if(t.type==="text")return lv(e,t)}function rv(e,t,n){const r=e.schema;let o=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(o=ps,e.schema=o),e.ancestors.push(t);const i=qc(e,t.tagName,!1),s=fv(e,t);let l=bs(e,t);return ev.has(t.tagName)&&(l=l.filter(function(c){return typeof c=="string"?!_0(c):!0})),Vc(e,s,i,t),ys(s,l),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}function ov(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Er(e,t.position)}function iv(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Er(e,t.position)}function sv(e,t,n){const r=e.schema;let o=r;t.name==="svg"&&r.space==="html"&&(o=ps,e.schema=o),e.ancestors.push(t);const i=t.name===null?e.Fragment:qc(e,t.name,!0),s=pv(e,t),l=bs(e,t);return Vc(e,s,i,t),ys(s,l),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}function av(e,t,n){const r={};return ys(r,bs(e,t)),e.create(t,e.Fragment,r,n)}function lv(e,t){return t.value}function Vc(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ys(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function uv(e,t,n){return r;function r(o,i,s,l){const u=Array.isArray(s.children)?n:t;return l?u(i,s,l):u(i,s)}}function cv(e,t){return n;function n(r,o,i,s){const l=Array.isArray(i.children),c=hs(r);return t(o,i,s,l,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function fv(e,t){const n={};let r,o;for(o in t.properties)if(o!=="children"&&gs.call(t.properties,o)){const i=dv(e,o,t.properties[o]);if(i){const[s,l]=i;e.tableCellAlignToStyle&&s==="align"&&typeof l=="string"&&tv.has(t.tagName)?r=l:n[s]=l}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function pv(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const s=i.expression;s.type;const l=s.properties[0];l.type,Object.assign(n,e.evaluater.evaluateExpression(l.argument))}else Er(e,t.position);else{const o=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const l=r.value.data.estree.body[0];l.type,i=e.evaluater.evaluateExpression(l.expression)}else Er(e,t.position);else i=r.value===null?!0:r.value;n[o]=i}return n}function bs(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:J0;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const c=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(c){const u=o.get(c)||0;s=c+"-"+u,o.set(c,u+1)}}const l=Uc(e,i,s);l!==void 0&&n.push(l)}return n}function dv(e,t,n){const r=B0(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?R0(n):W0(n)),r.property==="style"){let o=typeof n=="object"?n:hv(e,String(n));return e.stylePropertyNameCase==="css"&&(o=mv(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&r.space?V0[r.property]||r.property:r.attribute,n]}}function hv(e,t){const n={};try{G0(t,r)}catch(o){if(!e.ignoreInvalidStyle){const i=o,s=new ut("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=zc+"#cannot-parse-style-attribute",s}}return n;function r(o,i){let s=o;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(Z0,yv)),n[s]=i}}function qc(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const o=t.split(".");let i=-1,s;for(;++i<o.length;){const l=Ec(o[i])?{type:"Identifier",name:o[i]}:{type:"Literal",value:o[i]};s=s?{type:"MemberExpression",object:s,property:l,computed:!!(i&&l.type==="Literal"),optional:!1}:l}r=s}else r=Ec(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const o=r.value;return gs.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(r);Er(e)}function Er(e,t){const n=new ut("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=zc+"#cannot-handle-mdx-estrees-without-createevaluater",n}function mv(e){const t={};let n;for(n in e)gs.call(e,n)&&(t[gv(n)]=e[n]);return t}function gv(e){let t=e.replace(Q0,bv);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function yv(e,t){return t.toUpperCase()}function bv(e){return"-"+e.toLowerCase()}const vs={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},vv={};function xv(e,t){const n=vv,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Wc(e,r,o)}function Wc(e,t,n){if(Sv(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Hc(e.children,t,n)}return Array.isArray(e)?Hc(e,t,n):""}function Hc(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Wc(e[o],t,n);return r.join("")}function Sv(e){return!!(e&&typeof e=="object")}const Yc=document.createElement("i");function xs(e){const t="&"+e+";";Yc.innerHTML=t;const n=Yc.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function zt(e,t,n,r){const o=e.length;let i=0,s;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);i<r.length;)s=r.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function kt(e,t){return e.length>0?(zt(e,e.length,0,t),e):t}const Kc={}.hasOwnProperty;function Ev(e){const t={};let n=-1;for(;++n<e.length;)wv(t,e[n]);return t}function wv(e,t){let n;for(n in t){const o=(Kc.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let s;if(i)for(s in i){Kc.call(o,s)||(o[s]=[]);const l=i[s];Cv(o[s],Array.isArray(l)?l:l?[l]:[])}}}function Cv(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);zt(e,0,0,r)}function Gc(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function $n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ut=Qt(/[A-Za-z]/),xt=Qt(/[\dA-Za-z]/),Tv=Qt(/[#-'*+\--9=?A-Z^-~]/);function Ss(e){return e!==null&&(e<32||e===127)}const Es=Qt(/\d/),kv=Qt(/[\dA-Fa-f]/),Ov=Qt(/[!-/:-@[-`{-~]/);function me(e){return e!==null&&e<-2}function dt(e){return e!==null&&(e<0||e===32)}function Te(e){return e===-2||e===-1||e===32}const Rv=Qt(new RegExp("\\p{P}|\\p{S}","u")),Pv=Qt(/\s/);function Qt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Fn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(i===37&&xt(e.charCodeAt(n+1))&&xt(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const l=e.charCodeAt(n+1);i<56320&&l>56319&&l<57344?(s=String.fromCharCode(i,l),o=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function $e(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(c){return Te(c)?(e.enter(n),l(c)):t(c)}function l(c){return Te(c)&&i++<o?(e.consume(c),l):(e.exit(n),t(c))}}const Iv={tokenize:Av};function Av(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),$e(e,t,"linePrefix")}function o(l){return e.enter("paragraph"),i(l)}function i(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,s(l)}function s(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return me(l)?(e.consume(l),e.exit("chunkText"),i):(e.consume(l),s)}}const Nv={tokenize:_v},Xc={tokenize:Mv};function _v(e){const t=this,n=[];let r=0,o,i,s;return l;function l(S){if(r<n.length){const C=n[r];return t.containerState=C[1],e.attempt(C[0].continuation,c,u)(S)}return u(S)}function c(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&k();const C=t.events.length;let x=C,T;for(;x--;)if(t.events[x][0]==="exit"&&t.events[x][1].type==="chunkFlow"){T=t.events[x][1].end;break}E(r);let P=C;for(;P<t.events.length;)t.events[P][1].end={...T},P++;return zt(t.events,x+1,0,t.events.slice(C)),t.events.length=P,u(S)}return l(S)}function u(S){if(r===n.length){if(!o)return h(S);if(o.currentConstruct&&o.currentConstruct.concrete)return m(S);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Xc,f,p)(S)}function f(S){return o&&k(),E(r),h(S)}function p(S){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,m(S)}function h(S){return t.containerState={},e.attempt(Xc,d,m)(S)}function d(S){return r++,n.push([t.currentConstruct,t.containerState]),h(S)}function m(S){if(S===null){o&&k(),E(0),e.consume(S);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:i}),g(S)}function g(S){if(S===null){b(e.exit("chunkFlow"),!0),E(0),e.consume(S);return}return me(S)?(e.consume(S),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(S),g)}function b(S,C){const x=t.sliceStream(S);if(C&&x.push(null),S.previous=i,i&&(i.next=S),i=S,o.defineSkip(S.start),o.write(x),t.parser.lazy[S.start.line]){let T=o.events.length;for(;T--;)if(o.events[T][1].start.offset<s&&(!o.events[T][1].end||o.events[T][1].end.offset>s))return;const P=t.events.length;let z=P,U,y;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(U){y=t.events[z][1].end;break}U=!0}for(E(r),T=P;T<t.events.length;)t.events[T][1].end={...y},T++;zt(t.events,z+1,0,t.events.slice(P)),t.events.length=T}}function E(S){let C=n.length;for(;C-- >S;){const x=n[C];t.containerState=x[1],x[0].exit.call(t,e)}n.length=S}function k(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Mv(e,t,n){return $e(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Jc(e){if(e===null||dt(e)||Pv(e))return 1;if(Rv(e))return 2}function ws(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Cs={name:"attention",resolveAll:$v,tokenize:Fv};function $v(e,t){let n=-1,r,o,i,s,l,c,u,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},h={...e[n][1].start};Qc(p,-c),Qc(h,c),s={type:c>1?"strongSequence":"emphasisSequence",start:p,end:{...e[r][1].end}},l={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},i={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},o={type:c>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[r][1].end={...s.start},e[n][1].start={...l.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=kt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=kt(u,[["enter",o,t],["enter",s,t],["exit",s,t],["enter",i,t]]),u=kt(u,ws(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=kt(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=kt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,zt(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Fv(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=Jc(r);let i;return s;function s(c){return i=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===i)return e.consume(c),l;const u=e.exit("attentionSequence"),f=Jc(c),p=!f||f===2&&o||n.includes(c),h=!o||o===2&&f||n.includes(r);return u._open=!!(i===42?p:p&&(o||!h)),u._close=!!(i===42?h:h&&(f||!p)),t(c)}}function Qc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const jv={name:"autolink",tokenize:Dv};function Dv(e,t,n){let r=0;return o;function o(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return Ut(d)?(e.consume(d),s):d===64?n(d):u(d)}function s(d){return d===43||d===45||d===46||xt(d)?(r=1,l(d)):u(d)}function l(d){return d===58?(e.consume(d),r=0,c):(d===43||d===45||d===46||xt(d))&&r++<32?(e.consume(d),l):(r=0,u(d))}function c(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Ss(d)?n(d):(e.consume(d),c)}function u(d){return d===64?(e.consume(d),f):Tv(d)?(e.consume(d),u):n(d)}function f(d){return xt(d)?p(d):n(d)}function p(d){return d===46?(e.consume(d),r=0,f):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):h(d)}function h(d){if((d===45||xt(d))&&r++<63){const m=d===45?h:p;return e.consume(d),m}return n(d)}}const $o={partial:!0,tokenize:Lv};function Lv(e,t,n){return r;function r(i){return Te(i)?$e(e,o,"linePrefix")(i):o(i)}function o(i){return i===null||me(i)?t(i):n(i)}}const Zc={continuation:{tokenize:zv},exit:Uv,name:"blockQuote",tokenize:Bv};function Bv(e,t,n){const r=this;return o;function o(s){if(s===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return n(s)}function i(s){return Te(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function zv(e,t,n){const r=this;return o;function o(s){return Te(s)?$e(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Zc,t,n)(s)}}function Uv(e){e.exit("blockQuote")}const ef={name:"characterEscape",tokenize:Vv};function Vv(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),o}function o(i){return Ov(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const tf={name:"characterReference",tokenize:qv};function qv(e,t,n){const r=this;let o=0,i,s;return l;function l(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,s=xt,f(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=kv,f):(e.enter("characterReferenceValue"),i=7,s=Es,f(p))}function f(p){if(p===59&&o){const h=e.exit("characterReferenceValue");return s===xt&&!xs(r.sliceSerialize(h))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(p)&&o++<i?(e.consume(p),f):n(p)}}const nf={partial:!0,tokenize:Hv},rf={concrete:!0,name:"codeFenced",tokenize:Wv};function Wv(e,t,n){const r=this,o={partial:!0,tokenize:x};let i=0,s=0,l;return c;function c(T){return u(T)}function u(T){const P=r.events[r.events.length-1];return i=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(T)}function f(T){return T===l?(s++,e.consume(T),f):s<3?n(T):(e.exit("codeFencedFenceSequence"),Te(T)?$e(e,p,"whitespace")(T):p(T))}function p(T){return T===null||me(T)?(e.exit("codeFencedFence"),r.interrupt?t(T):e.check(nf,g,C)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||me(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(T)):Te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$e(e,d,"whitespace")(T)):T===96&&T===l?n(T):(e.consume(T),h)}function d(T){return T===null||me(T)?p(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||me(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(T)):T===96&&T===l?n(T):(e.consume(T),m)}function g(T){return e.attempt(o,C,b)(T)}function b(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),E}function E(T){return i>0&&Te(T)?$e(e,k,"linePrefix",i+1)(T):k(T)}function k(T){return T===null||me(T)?e.check(nf,g,C)(T):(e.enter("codeFlowValue"),S(T))}function S(T){return T===null||me(T)?(e.exit("codeFlowValue"),k(T)):(e.consume(T),S)}function C(T){return e.exit("codeFenced"),t(T)}function x(T,P,z){let U=0;return y;function y(N){return T.enter("lineEnding"),T.consume(N),T.exit("lineEnding"),I}function I(N){return T.enter("codeFencedFence"),Te(N)?$e(T,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):_(N)}function _(N){return N===l?(T.enter("codeFencedFenceSequence"),j(N)):z(N)}function j(N){return N===l?(U++,T.consume(N),j):U>=s?(T.exit("codeFencedFenceSequence"),Te(N)?$e(T,F,"whitespace")(N):F(N)):z(N)}function F(N){return N===null||me(N)?(T.exit("codeFencedFence"),P(N)):z(N)}}}function Hv(e,t,n){const r=this;return o;function o(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const Ts={name:"codeIndented",tokenize:Kv},Yv={partial:!0,tokenize:Gv};function Kv(e,t,n){const r=this;return o;function o(u){return e.enter("codeIndented"),$e(e,i,"linePrefix",5)(u)}function i(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?c(u):me(u)?e.attempt(Yv,s,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||me(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function Gv(e,t,n){const r=this;return o;function o(s){return r.parser.lazy[r.now().line]?n(s):me(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):$e(e,i,"linePrefix",5)(s)}function i(s){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):me(s)?o(s):n(s)}}const Xv={name:"codeText",previous:Qv,resolve:Jv,tokenize:Zv};function Jv(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function Qv(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Zv(e,t,n){let r=0,o,i;return s;function s(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),r++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(i=e.enter("codeTextSequence"),o=0,f(p)):me(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||me(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function f(p){return p===96?(e.consume(p),o++,f):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(i.type="codeTextData",u(p))}}class ex{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const o=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return r&&wr(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),wr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),wr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);wr(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);wr(this.left,n.reverse())}}}function wr(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function of(e){const t={};let n=-1,r,o,i,s,l,c,u;const f=new ex(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,i=0,i<c.length&&c[i][1].type==="lineEndingBlank"&&(i+=2),i<c.length&&c[i][1].type==="content"))for(;++i<c.length&&c[i][1].type!=="content";)c[i][1].type==="chunkText"&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,tx(f,n)),n=t[n],u=!0);else if(r[1]._container){for(i=n,o=void 0;i--&&(s=f.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(o&&(f.get(o)[1].type="lineEndingBlank"),s[1].type="lineEnding",o=i);o&&(r[1].end={...f.get(o)[1].start},l=f.slice(o,n),l.unshift(r),f.splice(o,n-o+1,l))}}return zt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!u}function tx(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[],s=n._tokenizer||r.parser[n.contentType](n.start),l=s.events,c=[],u={};let f,p,h=-1,d=n,m=0,g=0;const b=[g];for(;d;){for(;e.get(++o)[1]!==d;);i.push(o),d._tokenizer||(f=r.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=n;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(g=h+1,b.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):b.pop(),h=b.length;h--;){const E=l.slice(b[h],b[h+1]),k=i.pop();c.push([k,k+E.length-1]),e.splice(k,2,E)}for(c.reverse(),h=-1;++h<c.length;)u[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return u}const nx={resolve:ox,tokenize:ix},rx={partial:!0,tokenize:sx};function ox(e){return of(e),e}function ix(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(l)}function o(l){return l===null?i(l):me(l)?e.check(rx,s,i)(l):(e.consume(l),o)}function i(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function s(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function sx(e,t,n){const r=this;return o;function o(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),$e(e,i,"linePrefix")}function i(s){if(s===null||me(s))return n(s);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function sf(e,t,n,r,o,i,s,l,c){const u=c||Number.POSITIVE_INFINITY;let f=0;return p;function p(E){return E===60?(e.enter(r),e.enter(o),e.enter(i),e.consume(E),e.exit(i),h):E===null||E===32||E===41||Ss(E)?n(E):(e.enter(r),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),g(E))}function h(E){return E===62?(e.enter(i),e.consume(E),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(E))}function d(E){return E===62?(e.exit("chunkString"),e.exit(l),h(E)):E===null||E===60||me(E)?n(E):(e.consume(E),E===92?m:d)}function m(E){return E===60||E===62||E===92?(e.consume(E),d):d(E)}function g(E){return!f&&(E===null||E===41||dt(E))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(r),t(E)):f<u&&E===40?(e.consume(E),f++,g):E===41?(e.consume(E),f--,g):E===null||E===32||E===40||Ss(E)?n(E):(e.consume(E),E===92?b:g)}function b(E){return E===40||E===41||E===92?(e.consume(E),g):g(E)}}function af(e,t,n,r,o,i){const s=this;let l=0,c;return u;function u(d){return e.enter(r),e.enter(o),e.consume(d),e.exit(o),e.enter(i),f}function f(d){return l>999||d===null||d===91||d===93&&!c||d===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):d===93?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):me(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===null||d===91||d===93||me(d)||l++>999?(e.exit("chunkString"),f(d)):(e.consume(d),c||(c=!Te(d)),d===92?h:p)}function h(d){return d===91||d===92||d===93?(e.consume(d),l++,p):p(d)}}function lf(e,t,n,r,o,i){let s;return l;function l(h){return h===34||h===39||h===40?(e.enter(r),e.enter(o),e.consume(h),e.exit(o),s=h===40?41:h,c):n(h)}function c(h){return h===s?(e.enter(o),e.consume(h),e.exit(o),e.exit(r),t):(e.enter(i),u(h))}function u(h){return h===s?(e.exit(i),c(s)):h===null?n(h):me(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),$e(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===s||h===null||me(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?p:f)}function p(h){return h===s||h===92?(e.consume(h),f):f(h)}}function Cr(e,t){let n;return r;function r(o){return me(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Te(o)?$e(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}const ax={name:"definition",tokenize:ux},lx={partial:!0,tokenize:cx};function ux(e,t,n){const r=this;let o;return i;function i(d){return e.enter("definition"),s(d)}function s(d){return af.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function l(d){return o=$n(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),c):n(d)}function c(d){return dt(d)?Cr(e,u)(d):u(d)}function u(d){return sf(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function f(d){return e.attempt(lx,p,p)(d)}function p(d){return Te(d)?$e(e,h,"whitespace")(d):h(d)}function h(d){return d===null||me(d)?(e.exit("definition"),r.parser.defined.push(o),t(d)):n(d)}}function cx(e,t,n){return r;function r(l){return dt(l)?Cr(e,o)(l):n(l)}function o(l){return lf(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function i(l){return Te(l)?$e(e,s,"whitespace")(l):s(l)}function s(l){return l===null||me(l)?t(l):n(l)}}const fx={name:"hardBreakEscape",tokenize:px};function px(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),o}function o(i){return me(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const dx={name:"headingAtx",resolve:hx,tokenize:mx};function hx(e,t){let n=e.length-2,r=3,o,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},zt(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])),e}function mx(e,t,n){let r=0;return o;function o(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),s(f)}function s(f){return f===35&&r++<6?(e.consume(f),s):f===null||dt(f)?(e.exit("atxHeadingSequence"),l(f)):n(f)}function l(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||me(f)?(e.exit("atxHeading"),t(f)):Te(f)?$e(e,l,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),l(f))}function u(f){return f===null||f===35||dt(f)?(e.exit("atxHeadingText"),l(f)):(e.consume(f),u)}}const gx=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],uf=["pre","script","style","textarea"],yx={concrete:!0,name:"htmlFlow",resolveTo:xx,tokenize:Sx},bx={partial:!0,tokenize:wx},vx={partial:!0,tokenize:Ex};function xx(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Sx(e,t,n){const r=this;let o,i,s,l,c;return u;function u(w){return f(w)}function f(w){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(w),p}function p(w){return w===33?(e.consume(w),h):w===47?(e.consume(w),i=!0,g):w===63?(e.consume(w),o=3,r.interrupt?t:v):Ut(w)?(e.consume(w),s=String.fromCharCode(w),b):n(w)}function h(w){return w===45?(e.consume(w),o=2,d):w===91?(e.consume(w),o=5,l=0,m):Ut(w)?(e.consume(w),o=4,r.interrupt?t:v):n(w)}function d(w){return w===45?(e.consume(w),r.interrupt?t:v):n(w)}function m(w){const X="CDATA[";return w===X.charCodeAt(l++)?(e.consume(w),l===X.length?r.interrupt?t:_:m):n(w)}function g(w){return Ut(w)?(e.consume(w),s=String.fromCharCode(w),b):n(w)}function b(w){if(w===null||w===47||w===62||dt(w)){const X=w===47,ne=s.toLowerCase();return!X&&!i&&uf.includes(ne)?(o=1,r.interrupt?t(w):_(w)):gx.includes(s.toLowerCase())?(o=6,X?(e.consume(w),E):r.interrupt?t(w):_(w)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(w):i?k(w):S(w))}return w===45||xt(w)?(e.consume(w),s+=String.fromCharCode(w),b):n(w)}function E(w){return w===62?(e.consume(w),r.interrupt?t:_):n(w)}function k(w){return Te(w)?(e.consume(w),k):y(w)}function S(w){return w===47?(e.consume(w),y):w===58||w===95||Ut(w)?(e.consume(w),C):Te(w)?(e.consume(w),S):y(w)}function C(w){return w===45||w===46||w===58||w===95||xt(w)?(e.consume(w),C):x(w)}function x(w){return w===61?(e.consume(w),T):Te(w)?(e.consume(w),x):S(w)}function T(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),c=w,P):Te(w)?(e.consume(w),T):z(w)}function P(w){return w===c?(e.consume(w),c=null,U):w===null||me(w)?n(w):(e.consume(w),P)}function z(w){return w===null||w===34||w===39||w===47||w===60||w===61||w===62||w===96||dt(w)?x(w):(e.consume(w),z)}function U(w){return w===47||w===62||Te(w)?S(w):n(w)}function y(w){return w===62?(e.consume(w),I):n(w)}function I(w){return w===null||me(w)?_(w):Te(w)?(e.consume(w),I):n(w)}function _(w){return w===45&&o===2?(e.consume(w),$):w===60&&o===1?(e.consume(w),Y):w===62&&o===4?(e.consume(w),q):w===63&&o===3?(e.consume(w),v):w===93&&o===5?(e.consume(w),Z):me(w)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(bx,ee,j)(w)):w===null||me(w)?(e.exit("htmlFlowData"),j(w)):(e.consume(w),_)}function j(w){return e.check(vx,F,ee)(w)}function F(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),N}function N(w){return w===null||me(w)?j(w):(e.enter("htmlFlowData"),_(w))}function $(w){return w===45?(e.consume(w),v):_(w)}function Y(w){return w===47?(e.consume(w),s="",G):_(w)}function G(w){if(w===62){const X=s.toLowerCase();return uf.includes(X)?(e.consume(w),q):_(w)}return Ut(w)&&s.length<8?(e.consume(w),s+=String.fromCharCode(w),G):_(w)}function Z(w){return w===93?(e.consume(w),v):_(w)}function v(w){return w===62?(e.consume(w),q):w===45&&o===2?(e.consume(w),v):_(w)}function q(w){return w===null||me(w)?(e.exit("htmlFlowData"),ee(w)):(e.consume(w),q)}function ee(w){return e.exit("htmlFlow"),t(w)}}function Ex(e,t,n){const r=this;return o;function o(s){return me(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):n(s)}function i(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function wx(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt($o,t,n)}}const Cx={name:"htmlText",tokenize:Tx};function Tx(e,t,n){const r=this;let o,i,s;return l;function l(v){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(v),c}function c(v){return v===33?(e.consume(v),u):v===47?(e.consume(v),x):v===63?(e.consume(v),S):Ut(v)?(e.consume(v),z):n(v)}function u(v){return v===45?(e.consume(v),f):v===91?(e.consume(v),i=0,m):Ut(v)?(e.consume(v),k):n(v)}function f(v){return v===45?(e.consume(v),d):n(v)}function p(v){return v===null?n(v):v===45?(e.consume(v),h):me(v)?(s=p,Y(v)):(e.consume(v),p)}function h(v){return v===45?(e.consume(v),d):p(v)}function d(v){return v===62?$(v):v===45?h(v):p(v)}function m(v){const q="CDATA[";return v===q.charCodeAt(i++)?(e.consume(v),i===q.length?g:m):n(v)}function g(v){return v===null?n(v):v===93?(e.consume(v),b):me(v)?(s=g,Y(v)):(e.consume(v),g)}function b(v){return v===93?(e.consume(v),E):g(v)}function E(v){return v===62?$(v):v===93?(e.consume(v),E):g(v)}function k(v){return v===null||v===62?$(v):me(v)?(s=k,Y(v)):(e.consume(v),k)}function S(v){return v===null?n(v):v===63?(e.consume(v),C):me(v)?(s=S,Y(v)):(e.consume(v),S)}function C(v){return v===62?$(v):S(v)}function x(v){return Ut(v)?(e.consume(v),T):n(v)}function T(v){return v===45||xt(v)?(e.consume(v),T):P(v)}function P(v){return me(v)?(s=P,Y(v)):Te(v)?(e.consume(v),P):$(v)}function z(v){return v===45||xt(v)?(e.consume(v),z):v===47||v===62||dt(v)?U(v):n(v)}function U(v){return v===47?(e.consume(v),$):v===58||v===95||Ut(v)?(e.consume(v),y):me(v)?(s=U,Y(v)):Te(v)?(e.consume(v),U):$(v)}function y(v){return v===45||v===46||v===58||v===95||xt(v)?(e.consume(v),y):I(v)}function I(v){return v===61?(e.consume(v),_):me(v)?(s=I,Y(v)):Te(v)?(e.consume(v),I):U(v)}function _(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(e.consume(v),o=v,j):me(v)?(s=_,Y(v)):Te(v)?(e.consume(v),_):(e.consume(v),F)}function j(v){return v===o?(e.consume(v),o=void 0,N):v===null?n(v):me(v)?(s=j,Y(v)):(e.consume(v),j)}function F(v){return v===null||v===34||v===39||v===60||v===61||v===96?n(v):v===47||v===62||dt(v)?U(v):(e.consume(v),F)}function N(v){return v===47||v===62||dt(v)?U(v):n(v)}function $(v){return v===62?(e.consume(v),e.exit("htmlTextData"),e.exit("htmlText"),t):n(v)}function Y(v){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),G}function G(v){return Te(v)?$e(e,Z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):Z(v)}function Z(v){return e.enter("htmlTextData"),s(v)}}const ks={name:"labelEnd",resolveAll:Px,resolveTo:Ix,tokenize:Ax},kx={tokenize:Nx},Ox={tokenize:_x},Rx={tokenize:Mx};function Px(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const o=r.type==="labelImage"?4:2;r.type="data",t+=o}}return e.length!==n.length&&zt(e,0,e.length,n),e}function Ix(e,t){let n=e.length,r=0,o,i,s,l;for(;n--;)if(o=e[n][1],i){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(i=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(s=n);const c={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[i][1].start},end:{...e[s][1].end}},f={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[s-2][1].start}};return l=[["enter",c,t],["enter",u,t]],l=kt(l,e.slice(i+1,i+r+3)),l=kt(l,[["enter",f,t]]),l=kt(l,ws(t.parser.constructs.insideSpan.null,e.slice(i+r+4,s-3),t)),l=kt(l,[["exit",f,t],e[s-2],e[s-1],["exit",u,t]]),l=kt(l,e.slice(s+1)),l=kt(l,[["exit",c,t]]),zt(e,i,e.length,l),e}function Ax(e,t,n){const r=this;let o=r.events.length,i,s;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){i=r.events[o][1];break}return l;function l(h){return i?i._inactive?p(h):(s=r.parser.defined.includes($n(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),c):n(h)}function c(h){return h===40?e.attempt(kx,f,s?f:p)(h):h===91?e.attempt(Ox,f,s?u:p)(h):s?f(h):p(h)}function u(h){return e.attempt(Rx,f,p)(h)}function f(h){return t(h)}function p(h){return i._balanced=!0,n(h)}}function Nx(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),o}function o(p){return dt(p)?Cr(e,i)(p):i(p)}function i(p){return p===41?f(p):sf(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return dt(p)?Cr(e,c)(p):f(p)}function l(p){return n(p)}function c(p){return p===34||p===39||p===40?lf(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function u(p){return dt(p)?Cr(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function _x(e,t,n){const r=this;return o;function o(l){return af.call(r,e,i,s,"reference","referenceMarker","referenceString")(l)}function i(l){return r.parser.defined.includes($n(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function s(l){return n(l)}}function Mx(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),o}function o(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const $x={name:"labelStartImage",resolveAll:ks.resolveAll,tokenize:Fx};function Fx(e,t,n){const r=this;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),i}function i(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),s):n(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const jx={name:"labelStartLink",resolveAll:ks.resolveAll,tokenize:Dx};function Dx(e,t,n){const r=this;return o;function o(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const Os={name:"lineEnding",tokenize:Lx};function Lx(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),$e(e,t,"linePrefix")}}const Fo={name:"thematicBreak",tokenize:Bx};function Bx(e,t,n){let r=0,o;return i;function i(u){return e.enter("thematicBreak"),s(u)}function s(u){return o=u,l(u)}function l(u){return u===o?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||me(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===o?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),Te(u)?$e(e,l,"whitespace")(u):l(u))}}const ht={continuation:{tokenize:qx},exit:Hx,name:"list",tokenize:Vx},zx={partial:!0,tokenize:Yx},Ux={partial:!0,tokenize:Wx};function Vx(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,s=0;return l;function l(d){const m=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Es(d)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(Fo,n,u)(d):u(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(d)}return n(d)}function c(d){return Es(d)&&++s<10?(e.consume(d),c):(!r.interrupt||s<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),u(d)):n(d)}function u(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check($o,r.interrupt?n:f,e.attempt(zx,h,p))}function f(d){return r.containerState.initialBlankLine=!0,i++,h(d)}function p(d){return Te(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),h):n(d)}function h(d){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function qx(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check($o,o,i);function o(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$e(e,t,"listItemIndent",r.containerState.size+1)(l)}function i(l){return r.containerState.furtherBlankLines||!Te(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ux,t,s)(l))}function s(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,$e(e,e.attempt(ht,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function Wx(e,t,n){const r=this;return $e(e,o,"listItemIndent",r.containerState.size+1);function o(i){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(i):n(i)}}function Hx(e){e.exit(this.containerState.type)}function Yx(e,t,n){const r=this;return $e(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(i){const s=r.events[r.events.length-1];return!Te(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const cf={name:"setextUnderline",resolveTo:Kx,tokenize:Gx};function Kx(e,t){let n=e.length,r,o,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const s={type:"setextHeading",start:{...e[o][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",i?(e.splice(o,0,["enter",s,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Gx(e,t,n){const r=this;let o;return i;function i(u){let f=r.events.length,p;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){p=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),o=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===o?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),Te(u)?$e(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||me(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const Xx={tokenize:Jx};function Jx(e){const t=this,n=e.attempt($o,r,e.attempt(this.parser.constructs.flowInitial,o,$e(e,e.attempt(this.parser.constructs.flow,o,e.attempt(nx,o)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Qx={resolveAll:pf()},Zx=ff("string"),eS=ff("text");function ff(e){return{resolveAll:pf(e==="text"?tS:void 0),tokenize:t};function t(n){const r=this,o=this.parser.constructs[e],i=n.attempt(o,s,l);return s;function s(f){return u(f)?i(f):l(f)}function l(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return u(f)?(n.exit("data"),i(f)):(n.consume(f),c)}function u(f){if(f===null)return!0;const p=o[f];let h=-1;if(p)for(;++h<p.length;){const d=p[h];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function pf(e){return t;function t(n,r){let o=-1,i;for(;++o<=n.length;)i===void 0?n[o]&&n[o][1].type==="data"&&(i=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==i+2&&(n[i][1].end=n[o-1][1].end,n.splice(i+2,o-i-2),o=i+2),i=void 0);return e?e(n,r):n}}function tS(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let i=o.length,s=-1,l=0,c;for(;i--;){const u=o[i];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(u===-2)c=!0,l++;else if(u!==-1){i++;break}}if(l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:r.start._bufferIndex+s,_index:r.start._index+i,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const nS=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:ax},disable:{null:[]},document:{42:ht,43:ht,45:ht,48:ht,49:ht,50:ht,51:ht,52:ht,53:ht,54:ht,55:ht,56:ht,57:ht,62:Zc},flow:{35:dx,42:Fo,45:[cf,Fo],60:yx,61:cf,95:Fo,96:rf,126:rf},flowInitial:{[-2]:Ts,[-1]:Ts,32:Ts},insideSpan:{null:[Cs,Qx]},string:{38:tf,92:ef},text:{[-5]:Os,[-4]:Os,[-3]:Os,33:$x,38:tf,42:Cs,60:[jv,Cx],91:jx,92:[fx,ef],93:ks,95:Cs,96:Xv}},Symbol.toStringTag,{value:"Module"}));function rS(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let s=[],l=[];const c={attempt:P(x),check:P(T),consume:k,enter:S,exit:C,interrupt:P(T,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:m,parser:e,previous:null,sliceSerialize:h,sliceStream:d,write:p};let f=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function p(I){return s=kt(s,I),b(),s[s.length-1]!==null?[]:(z(t,0),u.events=ws(i,u.events,u),u.events)}function h(I,_){return iS(d(I),_)}function d(I){return oS(s,I)}function m(){const{_bufferIndex:I,_index:_,line:j,column:F,offset:N}=r;return{_bufferIndex:I,_index:_,line:j,column:F,offset:N}}function g(I){o[I.line]=I.column,y()}function b(){let I;for(;r._index<s.length;){const _=s[r._index];if(typeof _=="string")for(I=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===I&&r._bufferIndex<_.length;)E(_.charCodeAt(r._bufferIndex));else E(_)}}function E(I){f=f(I)}function k(I){me(I)?(r.line++,r.column=1,r.offset+=I===-3?2:1,y()):I!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=I}function S(I,_){const j=_||{};return j.type=I,j.start=m(),u.events.push(["enter",j,u]),l.push(j),j}function C(I){const _=l.pop();return _.end=m(),u.events.push(["exit",_,u]),_}function x(I,_){z(I,_.from)}function T(I,_){_.restore()}function P(I,_){return j;function j(F,N,$){let Y,G,Z,v;return Array.isArray(F)?ee(F):"tokenize"in F?ee([F]):q(F);function q(Q){return oe;function oe(se){const ie=se!==null&&Q[se],J=se!==null&&Q.null,ae=[...Array.isArray(ie)?ie:ie?[ie]:[],...Array.isArray(J)?J:J?[J]:[]];return ee(ae)(se)}}function ee(Q){return Y=Q,G=0,Q.length===0?$:w(Q[G])}function w(Q){return oe;function oe(se){return v=U(),Z=Q,Q.partial||(u.currentConstruct=Q),Q.name&&u.parser.constructs.disable.null.includes(Q.name)?ne():Q.tokenize.call(_?Object.assign(Object.create(u),_):u,c,X,ne)(se)}}function X(Q){return I(Z,v),N}function ne(Q){return v.restore(),++G<Y.length?w(Y[G]):$}}}function z(I,_){I.resolveAll&&!i.includes(I)&&i.push(I),I.resolve&&zt(u.events,_,u.events.length-_,I.resolve(u.events.slice(_),u)),I.resolveTo&&(u.events=I.resolveTo(u.events,u))}function U(){const I=m(),_=u.previous,j=u.currentConstruct,F=u.events.length,N=Array.from(l);return{from:F,restore:$};function $(){r=I,u.previous=_,u.currentConstruct=j,u.events.length=F,l=N,y()}}function y(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function oS(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const l=s[0];typeof l=="string"?s[0]=l.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}function iS(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
267
+ `;break}case-3:{s=`\r
268
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&o)continue;s=" ";break}default:s=String.fromCharCode(i)}o=i===-2,r.push(s)}return r.join("")}function sS(e){const r={constructs:Ev([nS,...(e||{}).extensions||[]]),content:o(Iv),defined:[],document:o(Nv),flow:o(Xx),lazy:{},string:o(Zx),text:o(eS)};return r;function o(i){return s;function s(l){return rS(r,i,l)}}}function aS(e){for(;!of(e););return e}const df=/[\0\t\n\r]/g;function lS(){let e=1,t="",n=!0,r;return o;function o(i,s,l){const c=[];let u,f,p,h,d;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),p=0,t="",n&&(i.charCodeAt(0)===65279&&p++,n=void 0);p<i.length;){if(df.lastIndex=p,u=df.exec(i),h=u&&u.index!==void 0?u.index:i.length,d=i.charCodeAt(h),!u){t=i.slice(p);break}if(d===10&&p===h&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<h&&(c.push(i.slice(p,h)),e+=h-p),d){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=h+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const uS=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cS(e){return e.replace(uS,fS)}function fS(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return Gc(n.slice(i?2:1),i?16:10)}return xs(n)||e}const hf={}.hasOwnProperty;function pS(e,t,n){return typeof t!="string"&&(n=t,t=void 0),dS(n)(aS(sS(n).document().write(lS()(e,t,!0))))}function dS(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Je),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(ve),blockQuote:i(J),characterEscape:U,characterReference:U,codeFenced:i(ae),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(ae,s),codeText:i(A,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(be),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(H),hardBreakEscape:i(Xe),hardBreakTrailing:i(Xe),htmlFlow:i(Be,s),htmlFlowData:U,htmlText:i(Be,s),htmlTextData:U,image:i(He),label:s,link:i(Je),listItem:i(O),listItemValue:h,listOrdered:i(ot,p),listUnordered:i(ot),paragraph:i(W),reference:w,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(ve),strong:i(te),thematicBreak:i(ze)},exit:{atxHeading:c(),atxHeadingSequence:x,autolink:c(),autolinkEmail:ie,autolinkProtocol:se,blockQuote:c(),characterEscapeValue:y,characterReferenceMarkerHexadecimal:ne,characterReferenceMarkerNumeric:ne,characterReferenceValue:Q,characterReference:oe,codeFenced:c(b),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:m,codeFlowValue:y,codeIndented:c(E),codeText:c(N),codeTextData:y,data:y,definition:c(),definitionDestinationString:C,definitionLabelString:k,definitionTitleString:S,emphasis:c(),hardBreakEscape:c(_),hardBreakTrailing:c(_),htmlFlow:c(j),htmlFlowData:y,htmlText:c(F),htmlTextData:y,image:c(Y),label:Z,labelText:G,lineEnding:I,link:c($),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:X,resourceDestinationString:v,resourceTitleString:q,resource:ee,setextHeading:c(z),setextHeadingLineSequence:P,setextHeadingText:T,strong:c(),thematicBreak:c()}};mf(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(M){let B={type:"root",children:[]};const le={stack:[B],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:f,data:n},pe=[];let ue=-1;for(;++ue<M.length;)if(M[ue][1].type==="listOrdered"||M[ue][1].type==="listUnordered")if(M[ue][0]==="enter")pe.push(ue);else{const ge=pe.pop();ue=o(M,ge,ue)}for(ue=-1;++ue<M.length;){const ge=t[M[ue][0]];hf.call(ge,M[ue][1].type)&&ge[M[ue][1].type].call(Object.assign({sliceSerialize:M[ue][2].sliceSerialize},le),M[ue][1])}if(le.tokenStack.length>0){const ge=le.tokenStack[le.tokenStack.length-1];(ge[1]||gf).call(le,void 0,ge[0])}for(B.position={start:Zt(M.length>0?M[0][1].start:{line:1,column:1,offset:0}),end:Zt(M.length>0?M[M.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)B=t.transforms[ue](B)||B;return B}function o(M,B,le){let pe=B-1,ue=-1,ge=!1,tt,Ue,St,re;for(;++pe<=le;){const ye=M[pe];switch(ye[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ye[0]==="enter"?ue++:ue--,re=void 0;break}case"lineEndingBlank":{ye[0]==="enter"&&(tt&&!re&&!ue&&!St&&(St=pe),re=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:re=void 0}if(!ue&&ye[0]==="enter"&&ye[1].type==="listItemPrefix"||ue===-1&&ye[0]==="exit"&&(ye[1].type==="listUnordered"||ye[1].type==="listOrdered")){if(tt){let Ve=pe;for(Ue=void 0;Ve--;){const ct=M[Ve];if(ct[1].type==="lineEnding"||ct[1].type==="lineEndingBlank"){if(ct[0]==="exit")continue;Ue&&(M[Ue][1].type="lineEndingBlank",ge=!0),ct[1].type="lineEnding",Ue=Ve}else if(!(ct[1].type==="linePrefix"||ct[1].type==="blockQuotePrefix"||ct[1].type==="blockQuotePrefixWhitespace"||ct[1].type==="blockQuoteMarker"||ct[1].type==="listItemIndent"))break}St&&(!Ue||St<Ue)&&(tt._spread=!0),tt.end=Object.assign({},Ue?M[Ue][1].start:ye[1].end),M.splice(Ue||pe,0,["exit",tt,ye[2]]),pe++,le++}if(ye[1].type==="listItemPrefix"){const Ve={type:"listItem",_spread:!1,start:Object.assign({},ye[1].start),end:void 0};tt=Ve,M.splice(pe,0,["enter",Ve,ye[2]]),pe++,le++,St=void 0,re=!0}}}return M[B][1]._spread=ge,le}function i(M,B){return le;function le(pe){l.call(this,M(pe),pe),B&&B.call(this,pe)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(M,B,le){this.stack[this.stack.length-1].children.push(M),this.stack.push(M),this.tokenStack.push([B,le||void 0]),M.position={start:Zt(B.start),end:void 0}}function c(M){return B;function B(le){M&&M.call(this,le),u.call(this,le)}}function u(M,B){const le=this.stack.pop(),pe=this.tokenStack.pop();if(pe)pe[0].type!==M.type&&(B?B.call(this,M,pe[0]):(pe[1]||gf).call(this,M,pe[0]));else throw new Error("Cannot close `"+M.type+"` ("+Sr({start:M.start,end:M.end})+"): it’s not open");le.position.end=Zt(M.end)}function f(){return xv(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function h(M){if(this.data.expectingFirstListItemValue){const B=this.stack[this.stack.length-2];B.start=Number.parseInt(this.sliceSerialize(M),10),this.data.expectingFirstListItemValue=void 0}}function d(){const M=this.resume(),B=this.stack[this.stack.length-1];B.lang=M}function m(){const M=this.resume(),B=this.stack[this.stack.length-1];B.meta=M}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function b(){const M=this.resume(),B=this.stack[this.stack.length-1];B.value=M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const M=this.resume(),B=this.stack[this.stack.length-1];B.value=M.replace(/(\r?\n|\r)$/g,"")}function k(M){const B=this.resume(),le=this.stack[this.stack.length-1];le.label=B,le.identifier=$n(this.sliceSerialize(M)).toLowerCase()}function S(){const M=this.resume(),B=this.stack[this.stack.length-1];B.title=M}function C(){const M=this.resume(),B=this.stack[this.stack.length-1];B.url=M}function x(M){const B=this.stack[this.stack.length-1];if(!B.depth){const le=this.sliceSerialize(M).length;B.depth=le}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function P(M){const B=this.stack[this.stack.length-1];B.depth=this.sliceSerialize(M).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function U(M){const le=this.stack[this.stack.length-1].children;let pe=le[le.length-1];(!pe||pe.type!=="text")&&(pe=de(),pe.position={start:Zt(M.start),end:void 0},le.push(pe)),this.stack.push(pe)}function y(M){const B=this.stack.pop();B.value+=this.sliceSerialize(M),B.position.end=Zt(M.end)}function I(M){const B=this.stack[this.stack.length-1];if(this.data.atHardBreak){const le=B.children[B.children.length-1];le.position.end=Zt(M.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(B.type)&&(U.call(this,M),y.call(this,M))}function _(){this.data.atHardBreak=!0}function j(){const M=this.resume(),B=this.stack[this.stack.length-1];B.value=M}function F(){const M=this.resume(),B=this.stack[this.stack.length-1];B.value=M}function N(){const M=this.resume(),B=this.stack[this.stack.length-1];B.value=M}function $(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=B,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function Y(){const M=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";M.type+="Reference",M.referenceType=B,delete M.url,delete M.title}else delete M.identifier,delete M.label;this.data.referenceType=void 0}function G(M){const B=this.sliceSerialize(M),le=this.stack[this.stack.length-2];le.label=cS(B),le.identifier=$n(B).toLowerCase()}function Z(){const M=this.stack[this.stack.length-1],B=this.resume(),le=this.stack[this.stack.length-1];if(this.data.inReference=!0,le.type==="link"){const pe=M.children;le.children=pe}else le.alt=B}function v(){const M=this.resume(),B=this.stack[this.stack.length-1];B.url=M}function q(){const M=this.resume(),B=this.stack[this.stack.length-1];B.title=M}function ee(){this.data.inReference=void 0}function w(){this.data.referenceType="collapsed"}function X(M){const B=this.resume(),le=this.stack[this.stack.length-1];le.label=B,le.identifier=$n(this.sliceSerialize(M)).toLowerCase(),this.data.referenceType="full"}function ne(M){this.data.characterReferenceType=M.type}function Q(M){const B=this.sliceSerialize(M),le=this.data.characterReferenceType;let pe;le?(pe=Gc(B,le==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):pe=xs(B);const ue=this.stack[this.stack.length-1];ue.value+=pe}function oe(M){const B=this.stack.pop();B.position.end=Zt(M.end)}function se(M){y.call(this,M);const B=this.stack[this.stack.length-1];B.url=this.sliceSerialize(M)}function ie(M){y.call(this,M);const B=this.stack[this.stack.length-1];B.url="mailto:"+this.sliceSerialize(M)}function J(){return{type:"blockquote",children:[]}}function ae(){return{type:"code",lang:null,meta:null,value:""}}function A(){return{type:"inlineCode",value:""}}function be(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function H(){return{type:"emphasis",children:[]}}function ve(){return{type:"heading",depth:0,children:[]}}function Xe(){return{type:"break"}}function Be(){return{type:"html",value:""}}function He(){return{type:"image",title:null,url:"",alt:null}}function Je(){return{type:"link",title:null,url:"",children:[]}}function ot(M){return{type:"list",ordered:M.type==="listOrdered",start:null,spread:M._spread,children:[]}}function O(M){return{type:"listItem",spread:M._spread,checked:null,children:[]}}function W(){return{type:"paragraph",children:[]}}function te(){return{type:"strong",children:[]}}function de(){return{type:"text",value:""}}function ze(){return{type:"thematicBreak"}}}function Zt(e){return{line:e.line,column:e.column,offset:e.offset}}function mf(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?mf(e,r):hS(e,r)}}function hS(e,t){let n;for(n in t)if(hf.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function gf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Sr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Sr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Sr({start:t.start,end:t.end})+") is still open")}function mS(e){const t=this;t.parser=n;function n(r){return pS(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function gS(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function yS(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
269
+ `}]}function bS(e,t){const n=t.value?t.value+`
270
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function vS(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function xS(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function SS(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=Fn(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,l=e.footnoteCounts.get(r);l===void 0?(l=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,l+=1,e.footnoteCounts.set(r,l);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,c);const u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)}function ES(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wS(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function yf(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&s.type==="text"?s.value+=r:o.push({type:"text",value:r}),o}function CS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yf(e,t);const o={src:Fn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)}function TS(e,t){const n={src:Fn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function kS(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function OS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return yf(e,t);const o={href:Fn(r.url||"")};r.title!==null&&r.title!==void 0&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function RS(e,t){const n={href:Fn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function PS(e,t,n){const r=e.all(t),o=n?IS(n):bf(t),i={},s=[];if(typeof t.checked=="boolean"){const f=r[0];let p;f&&f.type==="element"&&f.tagName==="p"?p=f:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const f=r[l];(o||l!==0||f.type!=="element"||f.tagName!=="p")&&s.push({type:"text",value:`
271
+ `}),f.type==="element"&&f.tagName==="p"&&!o?s.push(...f.children):s.push(f)}const c=r[r.length-1];c&&(o||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
272
+ `});const u={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,u),e.applyData(t,u)}function IS(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=bf(n[r])}return t}function bf(e){const t=e.spread;return t??e.children.length>1}function AS(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const s=r[o];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function NS(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _S(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function MS(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $S(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),o.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=hs(t.children[1]),c=jc(t.children[t.children.length-1]);l&&c&&(s.position={start:l,end:c}),o.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function FS(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,l=s?s.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const p=t.children[c],h={},d=s?s[c]:void 0;d&&(h.align=d);let m={type:"element",tagName:i,properties:h,children:[]};p&&(m.children=e.all(p),e.patch(p,m),m=e.applyData(p,m)),u.push(m)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,f),e.applyData(t,f)}function jS(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const vf=9,xf=32;function DS(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Sf(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Sf(t.slice(o),o>0,!1)),i.join("")}function Sf(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===vf||i===xf;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===vf||i===xf;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function LS(e,t){const n={type:"text",value:DS(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function BS(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const zS={blockquote:gS,break:yS,code:bS,delete:vS,emphasis:xS,footnoteReference:SS,heading:ES,html:wS,imageReference:CS,image:TS,inlineCode:kS,linkReference:OS,link:RS,listItem:PS,list:AS,paragraph:NS,root:_S,strong:MS,table:$S,tableCell:jS,tableRow:FS,text:LS,thematicBreak:BS,toml:jo,yaml:jo,definition:jo,footnoteDefinition:jo};function jo(){}const Ef=-1,Do=0,Lo=1,Bo=2,Rs=3,Ps=4,Is=5,As=6,wf=7,Cf=8,Tf=typeof self=="object"?self:globalThis,US=(e,t)=>{const n=(o,i)=>(e.set(i,o),o),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case Do:case Ef:return n(s,o);case Lo:{const l=n([],o);for(const c of s)l.push(r(c));return l}case Bo:{const l=n({},o);for(const[c,u]of s)l[r(c)]=r(u);return l}case Rs:return n(new Date(s),o);case Ps:{const{source:l,flags:c}=s;return n(new RegExp(l,c),o)}case Is:{const l=n(new Map,o);for(const[c,u]of s)l.set(r(c),r(u));return l}case As:{const l=n(new Set,o);for(const c of s)l.add(r(c));return l}case wf:{const{name:l,message:c}=s;return n(new Tf[l](c),o)}case Cf:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Tf[i](s),o)};return r},kf=e=>US(new Map,e)(0),jn="",{toString:VS}={},{keys:qS}=Object,Tr=e=>{const t=typeof e;if(t!=="object"||!e)return[Do,t];const n=VS.call(e).slice(8,-1);switch(n){case"Array":return[Lo,jn];case"Object":return[Bo,jn];case"Date":return[Rs,jn];case"RegExp":return[Ps,jn];case"Map":return[Is,jn];case"Set":return[As,jn]}return n.includes("Array")?[Lo,n]:n.includes("Error")?[wf,n]:[Bo,n]},zo=([e,t])=>e===Do&&(t==="function"||t==="symbol"),WS=(e,t,n,r)=>{const o=(s,l)=>{const c=r.push(s)-1;return n.set(l,c),c},i=s=>{if(n.has(s))return n.get(s);let[l,c]=Tr(s);switch(l){case Do:{let f=s;switch(c){case"bigint":l=Cf,f=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);f=null;break;case"undefined":return o([Ef],s)}return o([l,f],s)}case Lo:{if(c)return o([c,[...s]],s);const f=[],p=o([l,f],s);for(const h of s)f.push(i(h));return p}case Bo:{if(c)switch(c){case"BigInt":return o([c,s.toString()],s);case"Boolean":case"Number":case"String":return o([c,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const f=[],p=o([l,f],s);for(const h of qS(s))(e||!zo(Tr(s[h])))&&f.push([i(h),i(s[h])]);return p}case Rs:return o([l,s.toISOString()],s);case Ps:{const{source:f,flags:p}=s;return o([l,{source:f,flags:p}],s)}case Is:{const f=[],p=o([l,f],s);for(const[h,d]of s)(e||!(zo(Tr(h))||zo(Tr(d))))&&f.push([i(h),i(d)]);return p}case As:{const f=[],p=o([l,f],s);for(const h of s)(e||!zo(Tr(h)))&&f.push(i(h));return p}}const{message:u}=s;return o([l,{name:c,message:u}],s)};return i},Of=(e,{json:t,lossy:n}={})=>{const r=[];return WS(!(t||n),!!t,new Map,r)(e),r},Uo=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?kf(Of(e,t)):structuredClone(e):(e,t)=>kf(Of(e,t));function HS(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function YS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function KS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||HS,r=e.options.footnoteBackLabel||YS,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let c=-1;for(;++c<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[c]);if(!u)continue;const f=e.all(u),p=String(u.identifier).toUpperCase(),h=Fn(p.toLowerCase());let d=0;const m=[],g=e.footnoteCounts.get(p);for(;g!==void 0&&++d<=g;){m.length>0&&m.push({type:"text",value:" "});let k=typeof n=="string"?n:n(c,d);typeof k=="string"&&(k={type:"text",value:k}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,d),className:["data-footnote-backref"]},children:Array.isArray(k)?k:[k]})}const b=f[f.length-1];if(b&&b.type==="element"&&b.tagName==="p"){const k=b.children[b.children.length-1];k&&k.type==="text"?k.value+=" ":b.children.push({type:"text",value:" "}),b.children.push(...m)}else f.push(...m);const E={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(f,!0)};e.patch(u,E),l.push(E)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Uo(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:`
273
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
274
+ `}]}}const Rf=function(e){if(e==null)return QS;if(typeof e=="function")return Vo(e);if(typeof e=="object")return Array.isArray(e)?GS(e):XS(e);if(typeof e=="string")return JS(e);throw new Error("Expected function, string, or object as test")};function GS(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Rf(e[n]);return Vo(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].apply(this,o))return!0;return!1}}function XS(e){const t=e;return Vo(n);function n(r){const o=r;let i;for(i in e)if(o[i]!==t[i])return!1;return!0}}function JS(e){return Vo(t);function t(n){return n&&n.type===e}}function Vo(e){return t;function t(n,r,o){return!!(ZS(n)&&e.call(this,n,typeof r=="number"?r:void 0,o||void 0))}}function QS(){return!0}function ZS(e){return e!==null&&typeof e=="object"&&"type"in e}function iw(e){return e}const Pf=[],eE=!0,If=!1,tE="skip";function nE(e,t,n,r){let o;typeof t=="function"&&typeof n!="function"?(r=n,n=t):o=t;const i=Rf(o),s=r?-1:1;l(e,void 0,[])();function l(c,u,f){const p=c&&typeof c=="object"?c:{};if(typeof p.type=="string"){const d=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(c.type+(d?"<"+d+">":""))+")"})}return h;function h(){let d=Pf,m,g,b;if((!t||i(c,u,f[f.length-1]||void 0))&&(d=rE(n(c,f)),d[0]===If))return d;if("children"in c&&c.children){const E=c;if(E.children&&d[0]!==tE)for(g=(r?E.children.length:-1)+s,b=f.concat(E);g>-1&&g<E.children.length;){const k=E.children[g];if(m=l(k,g,b)(),m[0]===If)return m;g=typeof m[1]=="number"?m[1]:g+s}}return d}}}function rE(e){return Array.isArray(e)?e:typeof e=="number"?[eE,e]:e==null?Pf:[e]}function Af(e,t,n,r){let o,i,s;typeof t=="function"&&typeof n!="function"?(i=void 0,s=t,o=n):(i=t,s=n,o=r),nE(e,i,l,o);function l(c,u){const f=u[u.length-1],p=f?f.children.indexOf(c):void 0;return s(c,p,f)}}const Ns={}.hasOwnProperty,oE={};function iE(e,t){const n=t||oE,r=new Map,o=new Map,i=new Map,s={...zS,...n.handlers},l={all:u,applyData:aE,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:c,options:n,patch:sE,wrap:uE};return Af(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const p=f.type==="definition"?r:o,h=String(f.identifier).toUpperCase();p.has(h)||p.set(h,f)}}),l;function c(f,p){const h=f.type,d=l.handlers[h];if(Ns.call(l.handlers,h)&&d)return d(l,f,p);if(l.options.passThrough&&l.options.passThrough.includes(h)){if("children"in f){const{children:g,...b}=f,E=Uo(b);return E.children=l.all(f),E}return Uo(f)}return(l.options.unknownHandler||lE)(l,f,p)}function u(f){const p=[];if("children"in f){const h=f.children;let d=-1;for(;++d<h.length;){const m=l.one(h[d],f);if(m){if(d&&h[d-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=Nf(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=Nf(g.value))}Array.isArray(m)?p.push(...m):p.push(m)}}}return p}}function sE(e,t){e.position&&(t.position=X0(e))}function aE(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&i&&Object.assign(n.properties,Uo(i)),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function lE(e,t){const n=t.data||{},r="value"in t&&!(Ns.call(n,"hProperties")||Ns.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function uE(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
275
+ `});++r<e.length;)r&&n.push({type:"text",value:`
276
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
277
+ `}),n}function Nf(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _f(e,t){const n=iE(e,t),r=n.one(e,void 0),o=KS(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:`
278
+ `},o),i}function cE(e,t){return e&&"run"in e?async function(n,r){const o=_f(n,{file:r,...t});await e.run(o,r)}:function(n,r){return _f(n,{file:r,...e||t})}}function Mf(e){if(e)throw e}var _s,$f;function fE(){if($f)return _s;$f=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},i=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var f=e.call(u,"constructor"),p=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!f&&!p)return!1;var h;for(h in u);return typeof h>"u"||e.call(u,h)},s=function(u,f){n&&f.name==="__proto__"?n(u,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):u[f.name]=f.newValue},l=function(u,f){if(f==="__proto__")if(e.call(u,f)){if(r)return r(u,f).value}else return;return u[f]};return _s=function c(){var u,f,p,h,d,m,g=arguments[0],b=1,E=arguments.length,k=!1;for(typeof g=="boolean"&&(k=g,g=arguments[1]||{},b=2),(g==null||typeof g!="object"&&typeof g!="function")&&(g={});b<E;++b)if(u=arguments[b],u!=null)for(f in u)p=l(g,f),h=l(u,f),g!==h&&(k&&h&&(i(h)||(d=o(h)))?(d?(d=!1,m=p&&o(p)?p:[]):m=p&&i(p)?p:{},s(g,{name:f,newValue:c(k,m,h)})):typeof h<"u"&&s(g,{name:f,newValue:h}));return g},_s}var pE=fE();const Ms=Wo(pE);function $s(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 dE(){const e=[],t={run:n,use:r};return t;function n(...o){let i=-1;const s=o.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);l(null,...o);function l(c,...u){const f=e[++i];let p=-1;if(c){s(c);return}for(;++p<o.length;)(u[p]===null||u[p]===void 0)&&(u[p]=o[p]);o=u,f?hE(f,l)(...u):s(null,...u)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function hE(e,t){let n;return r;function r(...s){const l=e.length>s.length;let c;l&&s.push(o);try{c=e.apply(this,s)}catch(u){const f=u;if(l&&n)throw f;return o(f)}l||(c&&c.then&&typeof c.then=="function"?c.then(i,o):c instanceof Error?o(c):i(c))}function o(s,...l){n||(n=!0,t(s,...l))}function i(s){o(null,s)}}const Vt={basename:mE,dirname:gE,extname:yE,join:bE,sep:"/"};function mE(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');kr(e);let n=0,r=-1,o=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,l=t.length-1;for(;o--;)if(e.codePointAt(o)===47){if(i){n=o+1;break}}else s<0&&(i=!0,s=o+1),l>-1&&(e.codePointAt(o)===t.codePointAt(l--)?l<0&&(r=o):(l=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function gE(e){if(kr(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function yE(e){kr(e);let t=e.length,n=-1,r=0,o=-1,i=0,s;for(;t--;){const l=e.codePointAt(t);if(l===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),l===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function bE(...e){let t=-1,n;for(;++t<e.length;)kr(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":vE(n)}function vE(e){kr(e);const t=e.codePointAt(0)===47;let n=xE(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function xE(e,t){let n="",r=0,o=-1,i=0,s=-1,l,c;for(;++s<=e.length;){if(s<e.length)l=e.codePointAt(s);else{if(l===47)break;l=47}if(l===47){if(!(o===s-1||i===1))if(o!==s-1&&i===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),o=s,i=0;continue}}else if(n.length>0){n="",r=0,o=s,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,s):n=e.slice(o+1,s),r=s-o-1;o=s,i=0}else l===46&&i>-1?i++:i=-1}return n}function kr(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const SE={cwd:EE};function EE(){return"/"}function Fs(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function wE(e){if(typeof e=="string")e=new URL(e);else if(!Fs(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return CE(e)}function CE(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const js=["history","path","basename","stem","extname","dirname"];class Ff{constructor(t){let n;t?Fs(t)?n={path:t}:typeof t=="string"||TE(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":SE.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<js.length;){const i=js[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let o;for(o in n)js.includes(o)||(this[o]=n[o])}get basename(){return typeof this.path=="string"?Vt.basename(this.path):void 0}set basename(t){Ls(t,"basename"),Ds(t,"basename"),this.path=Vt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Vt.dirname(this.path):void 0}set dirname(t){jf(this.basename,"dirname"),this.path=Vt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Vt.extname(this.path):void 0}set extname(t){if(Ds(t,"extname"),jf(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Vt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Fs(t)&&(t=wE(t)),Ls(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Vt.basename(this.path,this.extname):void 0}set stem(t){Ls(t,"stem"),Ds(t,"stem"),this.path=Vt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=void 0,o}message(t,n,r){const o=new ut(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ds(e,t){if(e&&e.includes(Vt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Vt.sep+"`")}function Ls(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function jf(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function TE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const kE=function(e){const r=this.constructor.prototype,o=r[e],i=function(){return o.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},OE={}.hasOwnProperty;class Bs extends kE{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=dE()}copy(){const t=new Bs;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Ms(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Vs("data",this.frozen),this.namespace[t]=n,this):OE.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Vs("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const o=n.call(t,...r);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=qo(t),r=this.parser||this.Parser;return zs("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),zs("process",this.parser||this.Parser),Us("process",this.compiler||this.Compiler),n?o(void 0,n):new Promise(o);function o(i,s){const l=qo(t),c=r.parse(l);r.run(c,l,function(f,p,h){if(f||!p||!h)return u(f);const d=p,m=r.stringify(d,h);IE(m)?h.value=m:h.result=m,u(f,h)});function u(f,p){f||!p?s(f):i?i(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),zs("processSync",this.parser||this.Parser),Us("processSync",this.compiler||this.Compiler),this.process(t,o),Lf("processSync","process",n),r;function o(i,s){n=!0,Mf(i),r=s}}run(t,n,r){Df(t),this.freeze();const o=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(s,l){const c=qo(n);o.run(t,c,u);function u(f,p,h){const d=p||t;f?l(f):s?s(d):r(void 0,d,h)}}}runSync(t,n){let r=!1,o;return this.run(t,n,i),Lf("runSync","run",r),o;function i(s,l){Mf(s),o=l,r=!0}}stringify(t,n){this.freeze();const r=qo(n),o=this.compiler||this.Compiler;return Us("stringify",o),Df(t),o(t,r)}use(t,...n){const r=this.attachers,o=this.namespace;if(Vs("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?l(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(u){if(typeof u=="function")c(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[f,...p]=u;c(f,p)}else s(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function s(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(u.plugins),u.settings&&(o.settings=Ms(!0,o.settings,u.settings))}function l(u){let f=-1;if(u!=null)if(Array.isArray(u))for(;++f<u.length;){const p=u[f];i(p)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function c(u,f){let p=-1,h=-1;for(;++p<r.length;)if(r[p][0]===u){h=p;break}if(h===-1)r.push([u,...f]);else if(f.length>0){let[d,...m]=f;const g=r[h][1];$s(g)&&$s(d)&&(d=Ms(!0,g,d)),r[h]=[u,d,...m]}}}}const RE=new Bs().freeze();function zs(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Us(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Vs(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Df(e){if(!$s(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Lf(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function qo(e){return PE(e)?e:new Ff(e)}function PE(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function IE(e){return typeof e=="string"||AE(e)}function AE(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const NE="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bf=[],zf={allowDangerousHtml:!0},_E=/^(https?|ircs?|mailto|xmpp)$/i,ME=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function $E(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,l=e.rehypePlugins||Bf,c=e.remarkPlugins||Bf,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...zf}:zf,f=e.skipHtml,p=e.unwrapDisallowed,h=e.urlTransform||FE,d=RE().use(mS).use(c).use(cE,u).use(l),m=new Ff;typeof r=="string"&&(m.value=r);for(const k of ME)Object.hasOwn(e,k.from)&&(""+k.from+(k.to?"use `"+k.to+"` instead":"remove it")+NE+k.id,void 0);const g=d.parse(m);let b=d.runSync(g,m);return o&&(b={type:"element",tagName:"div",properties:{className:o},children:b.type==="root"?b.children:[b]}),Af(b,E),nv(b,{Fragment:V.Fragment,components:i,ignoreInvalidStyle:!0,jsx:V.jsx,jsxs:V.jsxs,passKeys:!0,passNode:!0});function E(k,S,C){if(k.type==="raw"&&C&&typeof S=="number")return f?C.children.splice(S,1):C.children[S]={type:"text",value:k.value},S;if(k.type==="element"){let x;for(x in vs)if(Object.hasOwn(vs,x)&&Object.hasOwn(k.properties,x)){const T=k.properties[x],P=vs[x];(P===null||P.includes(k.tagName))&&(k.properties[x]=h(String(T||""),x,k))}}if(k.type==="element"){let x=t?!t.includes(k.tagName):s?s.includes(k.tagName):!1;if(!x&&n&&typeof S=="number"&&(x=!n(k,S,C)),x&&C&&typeof S=="number")return p&&k.children?C.children.splice(S,1,...k.children):C.children.splice(S,1),S}}}function FE(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||_E.test(e.slice(0,t))?e:""}return({chatbotId:e})=>{if(!e||typeof e!="string")throw new Error("A valid chatbotId prop must be provided.");he.useEffect(()=>{e.trim()||console.error("Chatbot ID is required to initialize.")},[e]);const t=`
279
+ You are an intelligent assistant designed to provide helpful and informative responses tailored to the needs of students. Your responses will be based on the context provided by a Retrieval-Augmented Generation (RAG) model, which combines both retrieval and generation techniques to deliver accurate answers.
280
+
281
+ Let’s take a look at the information you have:
282
+ - **Information**: {context}
283
+
284
+ - **Previous interactions (History)**: {history}
285
+
286
+ - **Question**: {question}
287
+
288
+ Your goal is to engage with the student and give a clear, concise, and accurate answer to their question based on the information above. If the question can be answered with specific details, make sure to include those. If the answer isn't straightforward, take a moment to provide a brief explanation or rationale to help the student understand.
289
+
290
+ If you're unsure or can't find relevant information to respond, feel free to say, "I don't know." It's always okay to admit when you need more information!
291
+
292
+ Please format your response like this:
293
+ - Start with a direct answer to the question.
294
+ - If needed, share any additional context or details that might help.
295
+ `,[n,r]=he.useState(!1),[o,i]=he.useState(""),[s,l]=he.useState(t),[c,u]=he.useState(""),[f,p]=he.useState(()=>localStorage.getItem("conversationId")||null),h=mu("(max-width:600px)"),d=mu("(min-width:601px) and (max-width:960px)"),[m,g]=he.useState(()=>{const $=localStorage.getItem("responses");return $?JSON.parse($):[]}),[b,E]=he.useState(!1),[k,S]=he.useState(null),[C,x]=he.useState(null),T="Please introduce yourself as a friendly assistant who is here to help with questions about the topic we're discussing. Let the user know that you're ready to assist them with any questions they might have. You are speaking with a student and have been trained by the teacher";if(!e.trim()){S("Chatbot ID is required. Please pass a valid chatbotId.");return}const P=()=>{r(!n),console.log("Chat toggled. Is open:",!n)},z=async()=>{if(!e.trim()){S("Please enter a chatbot ID before starting a conversation.");return}E(!0),S(null);try{const $=new FormData;$.append("chatbot_id",e);const Y=await Ge.post("https://rag-flask-api.onrender.com/start_conversation",$,{headers:{"Content-Type":"multipart/form-data"}});if(Y.data.conversation_id){const G=Y.data.conversation_id;p(G),localStorage.setItem("conversationId",G),console.log("Conversation started. ID:",G),await U(T,G)}else throw new Error("Failed to retrieve conversation ID from server.")}catch($){S("Error starting conversation. Please try again."),console.error("Error starting conversation:",$),p(null)}finally{E(!1)}},U=async($,Y=f)=>{const G=Y||f;if(!G){S("No conversation ID found. Please start a conversation first.");return}N(),E(!0),S(null);try{const Z=new FormData;Z.append("question",$),Z.append("chatbot_id",e),Z.append("conversation_id",G),Z.append("custom_prompt_template",s),console.log("Sending message to /ask_test:",$);const v=await Ge.post("https://rag-flask-api.onrender.com/ask_test",Z,{headers:{"Content-Type":"multipart/form-data"}});console.log("Response received:",v.data);const q=$===T?{answer:v.data.answer}:{question:$,answer:v.data.answer};v.data.context&&i(v.data.context),g(ee=>{const w=[...ee,q];return localStorage.setItem("responses",JSON.stringify(w)),w})}catch(Z){S("Error sending message. Please try again."),console.error("Error sending message:",Z)}finally{E(!1)}},y=he.useRef(null),I=async()=>{c.trim()&&(f?console.log("Using existing conversation ID:",f):(console.log("No conversation ID found. Starting conversation..."),await z()),await U(c),u(""),_())},_=()=>{y.current&&y.current.scrollIntoView({behavior:"smooth"})};he.useEffect(()=>{_()},[m]);const j=async()=>{E(!0),S(null);try{const $=new FormData;$.append("conversation_id",f),$.append("chatbot_id",e),await Ge.post("https://rag-flask-api.onrender.com/end_conversation",$,{headers:{"Content-Type":"multipart/form-data"}}),p(null),g([]),u(""),localStorage.removeItem("conversationId"),localStorage.removeItem("responses"),console.log("Conversation ended. State reset.")}catch($){S("Error ending conversation. Please try again."),console.error("Error ending conversation:",$)}finally{E(!1)}},F=$=>{$.key==="Enter"&&($.preventDefault(),I())},N=()=>{C&&(clearTimeout(C),console.log("Inactivity timer reset.")),x(setTimeout(j,144e5))};return he.useEffect(()=>{const $=["click","keypress","mousemove"],Y=()=>N();return $.forEach(G=>{window.addEventListener(G,Y)}),()=>{$.forEach(G=>{window.removeEventListener(G,Y)}),clearTimeout(C)}},[C]),V.jsxs(V.Fragment,{children:[n?null:V.jsx(Mi,{onClick:P,sx:{position:"fixed",bottom:20,right:20,bgcolor:"#CDDAFF",color:"white",width:60,height:60,borderRadius:"50%",boxShadow:"0px 4px 15px rgba(0, 0, 0, 0.3)","&:hover":{bgcolor:"#0B53C0"},transition:"background-color 0.3s, transform 0.3s","&:active":{transform:"scale(0.95)"}},children:V.jsx(ob,{fontSize:"large"})}),n&&V.jsxs(Ai,{elevation:3,sx:{position:"fixed",bottom:h?0:20,right:h?0:20,width:h?"80%":d?"60%":650,height:h?"50%":d?"55%":700,p:h?1:2,display:"flex",flexDirection:"column",borderRadius:h?0:"16px",backgroundColor:"#F0F4FF",boxShadow:"0px 10px 30px rgba(0, 0, 0, 0.2)"},children:[V.jsxs(an,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[V.jsx(ar,{variant:"h6",sx:{fontFamily:"Staatliches, Arial, sans-serif",fontWeight:"bold",color:"black",fontSize:h?"1rem":"1.25rem"},children:"AI Study Bot"}),V.jsx(Mi,{onClick:P,sx:{position:"absolute",top:10,right:10,width:40,height:40,bgcolor:"#CDDAFF",color:"black","&:hover":{bgcolor:"#0B53C0",color:"white"}},children:"X"})]}),V.jsxs(an,{sx:{flexGrow:1,overflowY:"auto",padding:2},children:[b&&V.jsx(yu,{sx:{position:"absolute",top:0,left:0,width:"100%","& .MuiLinearProgress-bar":{backgroundColor:"#0B53C0"}}}),m.length>0&&m.map(($,Y)=>V.jsxs(an,{sx:{display:"flex",flexDirection:"column",alignItems:$.question?"flex-end":"flex-start",mb:2},children:[$.question&&V.jsx(an,{sx:{maxWidth:"70%",bgcolor:"#f0f0f0",color:"#555",borderRadius:"15px",p:1,px:2,mb:2,alignSelf:"flex-end",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.1)"},children:V.jsx(ar,{variant:"body1",sx:{fontFamily:"Gabarito, Arial, sans-serif",fontSize:"1rem",color:"#555"},children:$.question})}),$.answer&&V.jsx(an,{sx:{maxWidth:"70%",bgcolor:"#CDDAFF",color:"black",borderRadius:"15px",p:1,px:2,alignSelf:"flex-start",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",mb:.3,"&:hover":{bgcolor:"#0B53C0",color:"white"}},children:V.jsx(ar,{variant:"body1",sx:{fontFamily:"Gabarito, Arial, sans-serif",fontSize:"1rem",color:"inherit",transition:"color 0.3s ease"},children:V.jsx($E,{children:$.answer})})})]},Y)),V.jsx("div",{ref:y}),k&&V.jsx(ar,{color:"error",children:k})]}),V.jsxs(an,{sx:{mt:2,display:"flex",gap:1},children:[V.jsx(ju,{variant:"outlined",placeholder:"Type your message...",fullWidth:!0,size:"small",value:c,onChange:$=>u($.target.value),onKeyDown:F,sx:{fontFamily:"Gabarito, Arial, sans-serif","& .MuiOutlinedInput-root":{fontFamily:"Gabarito, Arial, sans-serif",borderRadius:"20px","& fieldset":{borderColor:"#ccc"},"&:hover fieldset":{borderColor:"#185cc4"}}}}),V.jsx(vo,{variant:"contained",onClick:I,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem","&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"Send"})]}),f?V.jsx(vo,{variant:"contained",onClick:j,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem",mt:2,"&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"End Conversation"}):V.jsx(vo,{variant:"contained",onClick:z,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem",mt:2,"&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"Start Conversation"})]})]})}});