@veecode-platform/plugin-veecode-homepage-dynamic 0.1.11 → 0.2.1
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.
- package/README.md +124 -8
- package/dist/assets/Docs.esm.js +2 -2
- package/dist/assets/Docs.esm.js.map +1 -1
- package/dist/components/VeeCodeHomePage.esm.js +9 -11
- package/dist/components/VeeCodeHomePage.esm.js.map +1 -1
- package/dist/components/headerComponent/HeaderComponent.esm.js +1 -1
- package/dist/components/headerComponent/HeaderComponent.esm.js.map +1 -1
- package/dist/components/headerComponent/menuItems/MenuItems.esm.js +1 -1
- package/dist/components/headerComponent/menuItems/MenuItems.esm.js.map +1 -1
- package/dist/components/headerComponent/searchComponent/SearchComponent.esm.js +1 -1
- package/dist/components/headerComponent/searchComponent/SearchComponent.esm.js.map +1 -1
- package/dist/components/homeContent/Summary.esm.js +1 -1
- package/dist/components/homeContent/Summary.esm.js.map +1 -1
- package/dist/components/homeContent/VisitedCharts.esm.js +1 -1
- package/dist/components/homeContent/VisitedCharts.esm.js.map +1 -1
- package/dist-scalprum/plugin-manifest.json +3 -3
- package/dist-scalprum/static/1213.412457e8.chunk.js +9 -0
- package/dist-scalprum/static/1213.412457e8.chunk.js.map +1 -0
- package/dist-scalprum/static/{1645.d73aec32.chunk.js → 1645.4e532199.chunk.js} +3 -3
- package/dist-scalprum/static/{1645.d73aec32.chunk.js.map → 1645.4e532199.chunk.js.map} +1 -1
- package/dist-scalprum/static/1853.9c4997f9.chunk.js +2 -0
- package/dist-scalprum/static/1853.9c4997f9.chunk.js.map +1 -0
- package/dist-scalprum/static/2203.ea66ef58.chunk.js +2 -0
- package/dist-scalprum/static/2203.ea66ef58.chunk.js.map +1 -0
- package/dist-scalprum/static/2976.168b3d3b.chunk.js +2 -0
- package/dist-scalprum/static/2976.168b3d3b.chunk.js.map +1 -0
- package/dist-scalprum/static/3937.22b10472.chunk.js +2 -0
- package/dist-scalprum/static/3937.22b10472.chunk.js.map +1 -0
- package/dist-scalprum/static/5211.b1dc9542.chunk.js +3 -0
- package/dist-scalprum/static/{4765.afedf928.chunk.js.LICENSE.txt → 5211.b1dc9542.chunk.js.LICENSE.txt} +0 -10
- package/dist-scalprum/static/5211.b1dc9542.chunk.js.map +1 -0
- package/dist-scalprum/static/5571.73942ff6.chunk.js +206 -0
- package/dist-scalprum/static/5571.73942ff6.chunk.js.LICENSE.txt +9 -0
- package/dist-scalprum/static/5571.73942ff6.chunk.js.map +1 -0
- package/dist-scalprum/static/5741.6a870f83.chunk.js +2 -0
- package/dist-scalprum/static/5741.6a870f83.chunk.js.map +1 -0
- package/dist-scalprum/static/{7332.4d69761c.chunk.js → 6352.9e636536.chunk.js} +2 -2
- package/dist-scalprum/static/6352.9e636536.chunk.js.map +1 -0
- package/dist-scalprum/static/6460.86145f5a.chunk.js +2 -0
- package/dist-scalprum/static/6460.86145f5a.chunk.js.map +1 -0
- package/dist-scalprum/static/6921.efadb98d.chunk.js +2 -0
- package/dist-scalprum/static/6921.efadb98d.chunk.js.map +1 -0
- package/dist-scalprum/static/7354.a59ca9b4.chunk.js +3 -0
- package/dist-scalprum/static/7354.a59ca9b4.chunk.js.map +1 -0
- package/dist-scalprum/static/{8067.ae1736df.chunk.js → 8067.c743580c.chunk.js} +2 -2
- package/dist-scalprum/static/{8067.ae1736df.chunk.js.map → 8067.c743580c.chunk.js.map} +1 -1
- package/dist-scalprum/static/{9633.4d914694.chunk.js → 9633.d7b4641e.chunk.js} +2 -2
- package/dist-scalprum/static/9633.d7b4641e.chunk.js.map +1 -0
- package/dist-scalprum/static/9710.ed3c2299.chunk.js +2 -0
- package/dist-scalprum/static/9710.ed3c2299.chunk.js.map +1 -0
- package/dist-scalprum/static/9996.79855bb7.chunk.js +2 -0
- package/dist-scalprum/static/9996.79855bb7.chunk.js.map +1 -0
- package/dist-scalprum/static/exposed-PluginRoot.bf5e0b03.chunk.js +2 -0
- package/dist-scalprum/static/{exposed-PluginRoot.d759ac0a.chunk.js.map → exposed-PluginRoot.bf5e0b03.chunk.js.map} +1 -1
- package/dist-scalprum/veecode-platform.plugin-veecode-homepage.52a7b0ce89460aa40ee1.js +2 -0
- package/dist-scalprum/veecode-platform.plugin-veecode-homepage.52a7b0ce89460aa40ee1.js.map +1 -0
- package/package.json +1 -1
- package/dist-scalprum/static/118.a2028f0c.chunk.js +0 -2
- package/dist-scalprum/static/118.a2028f0c.chunk.js.map +0 -1
- package/dist-scalprum/static/1853.1924a984.chunk.js +0 -2
- package/dist-scalprum/static/1853.1924a984.chunk.js.map +0 -1
- package/dist-scalprum/static/2203.00647934.chunk.js +0 -2
- package/dist-scalprum/static/2203.00647934.chunk.js.map +0 -1
- package/dist-scalprum/static/237.4f1bff62.chunk.js +0 -9
- package/dist-scalprum/static/237.4f1bff62.chunk.js.map +0 -1
- package/dist-scalprum/static/4140.f3243f8b.chunk.js +0 -2
- package/dist-scalprum/static/4140.f3243f8b.chunk.js.map +0 -1
- package/dist-scalprum/static/4491.dace3748.chunk.js +0 -2
- package/dist-scalprum/static/4491.dace3748.chunk.js.map +0 -1
- package/dist-scalprum/static/4765.afedf928.chunk.js +0 -206
- package/dist-scalprum/static/4765.afedf928.chunk.js.map +0 -1
- package/dist-scalprum/static/566.3c6819f6.chunk.js +0 -2
- package/dist-scalprum/static/566.3c6819f6.chunk.js.map +0 -1
- package/dist-scalprum/static/6033.086c7035.chunk.js +0 -3
- package/dist-scalprum/static/6033.086c7035.chunk.js.map +0 -1
- package/dist-scalprum/static/6460.18ed7640.chunk.js +0 -2
- package/dist-scalprum/static/6460.18ed7640.chunk.js.map +0 -1
- package/dist-scalprum/static/7332.4d69761c.chunk.js.map +0 -1
- package/dist-scalprum/static/9633.4d914694.chunk.js.map +0 -1
- package/dist-scalprum/static/exposed-PluginRoot.d759ac0a.chunk.js +0 -2
- package/dist-scalprum/veecode-platform.plugin-veecode-homepage.2efbfcbfcafae3f318ff.js +0 -2
- package/dist-scalprum/veecode-platform.plugin-veecode-homepage.2efbfcbfcafae3f318ff.js.map +0 -1
- /package/dist-scalprum/static/{237.4f1bff62.chunk.js.LICENSE.txt → 1213.412457e8.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{1645.d73aec32.chunk.js.LICENSE.txt → 1645.4e532199.chunk.js.LICENSE.txt} +0 -0
- /package/dist-scalprum/static/{6033.086c7035.chunk.js.LICENSE.txt → 7354.a59ca9b4.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 4765.afedf928.chunk.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunkveecode_platform_plugin_veecode_homepage=self.webpackChunkveecode_platform_plugin_veecode_homepage||[]).push([[4765],{73638:(e,t,n)=>{"use strict";n.d(t,{z:()=>oe});var r=n(31085),o=n(10394),i=n(37976),a=n(17545);function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)})}}var c=n(89575),u=n(55152),d=n(30414),p=n(95309),f=n(72715),h=n(29296),m=n(24586),g=n(95478),v=n.n(g),y=n(39850),b=n(83705);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach(function(t){(0,m.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var w={};function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");return w[r]||(w[r]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),w[r]}(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return A(A({},e),n[t])},t)}function S(e){return e.join(" ")}function C(e){var t=e.node,n=e.stylesheet,r=e.style,o=void 0===r?{}:r,i=e.useInlineStyles,a=e.key,s=t.properties,l=t.type,u=t.tagName,d=t.value;if("text"===l)return d;if(u){var p,f=function(e,t){var n=0;return function(r){return n+=1,r.map(function(r,o){return C({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}(n,i);if(i){var h=Object.keys(n).reduce(function(e,t){return t.split(".").forEach(function(t){e.includes(t)||e.push(t)}),e},[]),m=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&m.concat(s.className.filter(function(e){return!h.includes(e)}));p=A(A({},s),{},{className:S(g)||void 0,style:k(s.className,Object.assign({},s.style,o),n)})}else p=A(A({},s),{},{className:S(s.className)});var y=f(t.children);return v().createElement(u,(0,c.A)({key:a},p),y)}}const E=function(e,t){return-1!==e.listLanguages().indexOf(t)};var M=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach(function(t){(0,m.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var T=/\n/g;function P(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,o=void 0===r?{float:"left",paddingRight:"10px"}:r,i=e.numberStyle,a=void 0===i?{}:i,s=e.startingLineNumber;return v().createElement("code",{style:Object.assign({},n,o)},function(e){var t=e.startingLineNumber,n=e.style;return e.lines.map(function(e,r){var o=r+t;return v().createElement("span",{key:"line-".concat(r),className:"react-syntax-highlighter-line-number",style:"function"==typeof n?n(o):n},"".concat(o,"\n"))})}({lines:t.replace(/\n$/,"").split("\n"),style:a,startingLineNumber:s}))}function O(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function L(e,t,n){var r,o={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},i="function"==typeof e?e(t):e;return I(I({},o),i)}function _(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,o=e.largestLineNumber,i=e.showInlineLineNumbers,a=e.lineProps,s=void 0===a?{}:a,l=e.className,c=void 0===l?[]:l,u=e.showLineNumbers,d=e.wrapLongLines,p=e.wrapLines,f=void 0!==p&&p?I({},"function"==typeof s?s(n):s):{};if(f.className=f.className?[].concat((0,b.A)(f.className.trim().split(/\s+/)),(0,b.A)(c)):c,n&&i){var h=L(r,n,o);t.unshift(O(n,h))}return d&u&&(f.style=I({display:"flex"},f.style)),{type:"element",tagName:"span",properties:f,children:t}}function N(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r<e.length;r++){var o=e[r];if("text"===o.type)n.push(_({children:[o],className:(0,b.A)(new Set(t))}));else if(o.children){var i=t.concat(o.properties.className);N(o.children,i).forEach(function(e){return n.push(e)})}}return n}function j(e,t,n,r,o,i,a,s,l){var c,u=N(e.value),d=[],p=-1,f=0;function h(e,i){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||c.length>0?function(e,i){return _({children:e,lineNumber:i,lineNumberStyle:s,largestLineNumber:a,showInlineLineNumbers:o,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l,wrapLines:t})}(e,i,c):function(e,t){if(r&&t&&o){var n=L(s,t,a);e.unshift(O(t,n))}return e}(e,i)}for(var m=function(){var e=u[f],t=e.children[0].value;if(t.match(T)){var n=t.split("\n");n.forEach(function(t,o){var a=r&&d.length+i,s={type:"text",value:"".concat(t,"\n")};if(0===o){var l=h(u.slice(p+1,f).concat(_({children:[s],className:e.properties.className})),a);d.push(l)}else if(o===n.length-1){var c=u[f+1]&&u[f+1].children&&u[f+1].children[0],m={type:"text",value:"".concat(t)};if(c){var g=_({children:[m],className:e.properties.className});u.splice(f+1,0,g)}else{var v=h([m],a,e.properties.className);d.push(v)}}else{var y=h([s],a,e.properties.className);d.push(y)}}),p=f}f++};f<u.length;)m();if(p!==u.length-1){var g=u.slice(p+1,u.length);if(g&&g.length){var v=h(g,r&&d.length+i);d.push(v)}}return t?d:(c=[]).concat.apply(c,d)}function D(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(e,t){return C({node:e,stylesheet:n,useInlineStyles:r,key:"code-segment-".concat(t)})})}function F(e){return e&&void 0!==e.highlightAuto}function $(){$=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new P(r||[]);return o(a,"_invoke",{value:M(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function b(){}function x(){}var A={};u(A,s,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(O([])));k&&k!==n&&r.call(k,s)&&(A=k);var S=x.prototype=y.prototype=Object.create(A);function C(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){function n(o,i,s,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,a.A)(d)&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,s,l)},function(e){n("throw",e,s,l)}):t.resolve(d).then(function(e){u.value=e,s(u)},function(e){return n("throw",e,s,l)})}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t(function(t,o){n(e,r,t,o)})}return i=i?i.then(o,o):o()}})}function M(t,n,r){var o=f;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=R(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?g:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function R(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,R(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function O(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,a.A)(t)+" is not iterable")}return b.prototype=x,o(S,"constructor",{value:x,configurable:!0}),o(x,"constructor",{value:b,configurable:!0}),b.displayName=u(x,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,u(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(E.prototype),u(E.prototype,l,function(){return this}),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},C(S),u(S,c,"Generator"),u(S,s,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}function B(){B=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof y?t:y,a=Object.create(i.prototype),s=new P(r||[]);return o(a,"_invoke",{value:M(e,n,s)}),a}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var f="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function b(){}function x(){}var A={};u(A,s,function(){return this});var w=Object.getPrototypeOf,k=w&&w(w(O([])));k&&k!==n&&r.call(k,s)&&(A=k);var S=x.prototype=y.prototype=Object.create(A);function C(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){function n(o,i,s,l){var c=p(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==(0,a.A)(d)&&r.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,s,l)},function(e){n("throw",e,s,l)}):t.resolve(d).then(function(e){u.value=e,s(u)},function(e){return n("throw",e,s,l)})}l(c.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t(function(t,o){n(e,r,t,o)})}return i=i?i.then(o,o):o()}})}function M(t,n,r){var o=f;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=R(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var c=p(t,n,r);if("normal"===c.type){if(o=r.done?g:h,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=g,r.method="throw",r.arg=c.arg)}}}function R(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,R(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function I(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(I,this),this.reset(!0)}function O(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError((0,a.A)(t)+" is not iterable")}return b.prototype=x,o(S,"constructor",{value:x,configurable:!0}),o(x,"constructor",{value:b,configurable:!0}),b.displayName=u(x,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,u(e,c,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},C(E.prototype),u(E.prototype,l,function(){return this}),t.AsyncIterator=E,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new E(d(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},C(S),u(S,c,"Generator"),u(S,s,function(){return this}),u(S,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(T),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}const W=function(e,t){return function(){var n=l(B().mark(function n(r){var o;return B().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t();case 2:o=n.sent,r(e,o.default||o);case 4:case"end":return n.stop()}},n)}));return function(e){return n.apply(this,arguments)}}()},H={oneC:W("oneC",function(){return n.e(557).then(n.t.bind(n,87431,23))}),abnf:W("abnf",function(){return n.e(3607).then(n.t.bind(n,25104,23))}),accesslog:W("accesslog",function(){return n.e(1694).then(n.t.bind(n,24407,23))}),actionscript:W("actionscript",function(){return n.e(1325).then(n.t.bind(n,50594,23))}),ada:W("ada",function(){return n.e(5034).then(n.t.bind(n,49643,23))}),angelscript:W("angelscript",function(){return n.e(4956).then(n.t.bind(n,60297,23))}),apache:W("apache",function(){return n.e(2516).then(n.t.bind(n,50733,23))}),applescript:W("applescript",function(){return n.e(3923).then(n.t.bind(n,39952,23))}),arcade:W("arcade",function(){return n.e(9882).then(n.t.bind(n,4663,23))}),arduino:W("arduino",function(){return n.e(7818).then(n.t.bind(n,11535,23))}),armasm:W("armasm",function(){return n.e(6501).then(n.t.bind(n,34338,23))}),asciidoc:W("asciidoc",function(){return n.e(2743).then(n.t.bind(n,6004,23))}),aspectj:W("aspectj",function(){return n.e(1084).then(n.t.bind(n,46585,23))}),autohotkey:W("autohotkey",function(){return n.e(1173).then(n.t.bind(n,80726,23))}),autoit:W("autoit",function(){return n.e(3500).then(n.t.bind(n,94885,23))}),avrasm:W("avrasm",function(){return n.e(460).then(n.t.bind(n,3493,23))}),awk:W("awk",function(){return n.e(7533).then(n.t.bind(n,22686,23))}),axapta:W("axapta",function(){return n.e(8903).then(n.t.bind(n,96804,23))}),bash:W("bash",function(){return n.e(9612).then(n.t.bind(n,78385,23))}),basic:W("basic",function(){return n.e(7572).then(n.t.bind(n,89681,23))}),bnf:W("bnf",function(){return n.e(8216).then(n.t.bind(n,23133,23))}),brainfuck:W("brainfuck",function(){return n.e(6835).then(n.t.bind(n,21356,23))}),cLike:W("cLike",function(){return n.e(2108).then(n.t.bind(n,88636,23))}),c:W("c",function(){return n.e(8549).then(n.t.bind(n,60802,23))}),cal:W("cal",function(){return n.e(9406).then(n.t.bind(n,32907,23))}),capnproto:W("capnproto",function(){return n.e(6986).then(n.t.bind(n,29015,23))}),ceylon:W("ceylon",function(){return n.e(9162).then(n.t.bind(n,43371,23))}),clean:W("clean",function(){return n.e(6161).then(n.t.bind(n,54186,23))}),clojureRepl:W("clojureRepl",function(){return n.e(5253).then(n.t.bind(n,41105,23))}),clojure:W("clojure",function(){return n.e(946).then(n.t.bind(n,14171,23))}),cmake:W("cmake",function(){return n.e(7247).then(n.t.bind(n,55144,23))}),coffeescript:W("coffeescript",function(){return n.e(5051).then(n.t.bind(n,29868,23))}),coq:W("coq",function(){return n.e(1441).then(n.t.bind(n,36058,23))}),cos:W("cos",function(){return n.e(4835).then(n.t.bind(n,99280,23))}),cpp:W("cpp",function(){return n.e(6573).then(n.t.bind(n,16554,23))}),crmsh:W("crmsh",function(){return n.e(2383).then(n.t.bind(n,84892,23))}),crystal:W("crystal",function(){return n.e(6848).then(n.t.bind(n,35253,23))}),csharp:W("csharp",function(){return n.e(7879).then(n.t.bind(n,29984,23))}),csp:W("csp",function(){return n.e(3580).then(n.t.bind(n,36797,23))}),css:W("css",function(){return n.e(2007).then(n.t.bind(n,24948,23))}),d:W("d",function(){return n.e(2346).then(n.t.bind(n,46763,23))}),dart:W("dart",function(){return n.e(9265).then(n.t.bind(n,62018,23))}),delphi:W("delphi",function(){return n.e(8078).then(n.t.bind(n,51307,23))}),diff:W("diff",function(){return n.e(7079).then(n.t.bind(n,68340,23))}),django:W("django",function(){return n.e(9139).then(n.t.bind(n,80008,23))}),dns:W("dns",function(){return n.e(2795).then(n.t.bind(n,1484,23))}),dockerfile:W("dockerfile",function(){return n.e(1828).then(n.t.bind(n,55485,23))}),dos:W("dos",function(){return n.e(5664).then(n.t.bind(n,85193,23))}),dsconfig:W("dsconfig",function(){return n.e(4383).then(n.t.bind(n,13740,23))}),dts:W("dts",function(){return n.e(5189).then(n.t.bind(n,42554,23))}),dust:W("dust",function(){return n.e(1522).then(n.t.bind(n,39467,23))}),ebnf:W("ebnf",function(){return n.e(1099).then(n.t.bind(n,48084,23))}),elixir:W("elixir",function(){return n.e(7351).then(n.t.bind(n,22496,23))}),elm:W("elm",function(){return n.e(8138).then(n.t.bind(n,8139,23))}),erb:W("erb",function(){return n.e(3811).then(n.t.bind(n,4340,23))}),erlangRepl:W("erlangRepl",function(){return n.e(2496).then(n.t.bind(n,56900,23))}),erlang:W("erlang",function(){return n.e(5123).then(n.t.bind(n,74700,23))}),excel:W("excel",function(){return n.e(371).then(n.t.bind(n,10424,23))}),fix:W("fix",function(){return n.e(3299).then(n.t.bind(n,44344,23))}),flix:W("flix",function(){return n.e(7439).then(n.t.bind(n,29488,23))}),fortran:W("fortran",function(){return n.e(1352).then(n.t.bind(n,1429,23))}),fsharp:W("fsharp",function(){return n.e(1972).then(n.t.bind(n,12165,23))}),gams:W("gams",function(){return n.e(3562).then(n.t.bind(n,67239,23))}),gauss:W("gauss",function(){return n.e(4493).then(n.t.bind(n,6906,23))}),gcode:W("gcode",function(){return n.e(9702).then(n.t.bind(n,1627,23))}),gherkin:W("gherkin",function(){return n.e(7048).then(n.t.bind(n,79889,23))}),glsl:W("glsl",function(){return n.e(7934).then(n.t.bind(n,57171,23))}),gml:W("gml",function(){return n.e(206).then(n.t.bind(n,57531,23))}),go:W("go",function(){return n.e(7764).then(n.t.bind(n,51233,23))}),golo:W("golo",function(){return n.e(2983).then(n.t.bind(n,36984,23))}),gradle:W("gradle",function(){return n.e(5819).then(n.t.bind(n,24296,23))}),groovy:W("groovy",function(){return n.e(8948).then(n.t.bind(n,43117,23))}),haml:W("haml",function(){return n.e(7776).then(n.t.bind(n,57909,23))}),handlebars:W("handlebars",function(){return n.e(8030).then(n.t.bind(n,43123,23))}),haskell:W("haskell",function(){return n.e(2762).then(n.t.bind(n,76971,23))}),haxe:W("haxe",function(){return n.e(2438).then(n.t.bind(n,23883,23))}),hsp:W("hsp",function(){return n.e(4075).then(n.t.bind(n,3992,23))}),htmlbars:W("htmlbars",function(){return n.e(7959).then(n.t.bind(n,92240,23))}),http:W("http",function(){return n.e(7794).then(n.t.bind(n,3127,23))}),hy:W("hy",function(){return n.e(8595).then(n.t.bind(n,46144,23))}),inform7:W("inform7",function(){return n.e(5868).then(n.t.bind(n,93561,23))}),ini:W("ini",function(){return n.e(3384).then(n.t.bind(n,71517,23))}),irpf90:W("irpf90",function(){return n.e(9078).then(n.t.bind(n,57363,23))}),isbl:W("isbl",function(){return n.e(6924).then(n.t.bind(n,75409,23))}),java:W("java",function(){return n.e(6354).then(n.t.bind(n,74639,23))}),javascript:W("javascript",function(){return n.e(927).then(n.t.bind(n,94704,23))}),jbossCli:W("jbossCli",function(){return n.e(4635).then(n.t.bind(n,74999,23))}),json:W("json",function(){return n.e(3736).then(n.t.bind(n,70365,23))}),juliaRepl:W("juliaRepl",function(){return n.e(9118).then(n.t.bind(n,88450,23))}),julia:W("julia",function(){return n.e(9229).then(n.t.bind(n,62010,23))}),kotlin:W("kotlin",function(){return n.e(5565).then(n.t.bind(n,55702,23))}),lasso:W("lasso",function(){return n.e(5900).then(n.t.bind(n,99225,23))}),latex:W("latex",function(){return n.e(3722).then(n.t.bind(n,26619,23))}),ldif:W("ldif",function(){return n.e(6195).then(n.t.bind(n,90564,23))}),leaf:W("leaf",function(){return n.e(4446).then(n.t.bind(n,96447,23))}),less:W("less",function(){return n.e(5813).then(n.t.bind(n,78074,23))}),lisp:W("lisp",function(){return n.e(2234).then(n.t.bind(n,74616,23))}),livecodeserver:W("livecodeserver",function(){return n.e(4282).then(n.t.bind(n,21835,23))}),livescript:W("livescript",function(){return n.e(1461).then(n.t.bind(n,12202,23))}),llvm:W("llvm",function(){return n.e(4733).then(n.t.bind(n,66142,23))}),lsl:W("lsl",function(){return n.e(4971).then(n.t.bind(n,18816,23))}),lua:W("lua",function(){return n.e(1496).then(n.t.bind(n,10209,23))}),makefile:W("makefile",function(){return n.e(1750).then(n.t.bind(n,93123,23))}),markdown:W("markdown",function(){return n.e(8833).then(n.t.bind(n,82410,23))}),mathematica:W("mathematica",function(){return n.e(1362).then(n.t.bind(n,12135,23))}),matlab:W("matlab",function(){return n.e(8001).then(n.t.bind(n,61586,23))}),maxima:W("maxima",function(){return n.e(2267).then(n.t.bind(n,1080,23))}),mel:W("mel",function(){return n.e(200).then(n.t.bind(n,89937,23))}),mercury:W("mercury",function(){return n.e(8753).then(n.t.bind(n,92174,23))}),mipsasm:W("mipsasm",function(){return n.e(3487).then(n.t.bind(n,54861,23))}),mizar:W("mizar",function(){return n.e(4135).then(n.t.bind(n,34080,23))}),mojolicious:W("mojolicious",function(){return n.e(5773).then(n.t.bind(n,95406,23))}),monkey:W("monkey",function(){return n.e(985).then(n.t.bind(n,10714,23))}),moonscript:W("moonscript",function(){return n.e(3540).then(n.t.bind(n,89177,23))}),n1ql:W("n1ql",function(){return n.e(8058).then(n.t.bind(n,69571,23))}),nginx:W("nginx",function(){return n.e(5286).then(n.t.bind(n,90395,23))}),nim:W("nim",function(){return n.e(1062).then(n.t.bind(n,48083,23))}),nix:W("nix",function(){return n.e(3419).then(n.t.bind(n,76656,23))}),nodeRepl:W("nodeRepl",function(){return n.e(8705).then(n.t.bind(n,69697,23))}),nsis:W("nsis",function(){return n.e(5099).then(n.t.bind(n,13532,23))}),objectivec:W("objectivec",function(){return n.e(8338).then(n.t.bind(n,7231,23))}),ocaml:W("ocaml",function(){return n.e(5446).then(n.t.bind(n,94927,23))}),openscad:W("openscad",function(){return n.e(6555).then(n.t.bind(n,12128,23))}),oxygene:W("oxygene",function(){return n.e(1727).then(n.t.bind(n,89620,23))}),parser3:W("parser3",function(){return n.e(2378).then(n.t.bind(n,25755,23))}),perl:W("perl",function(){return n.e(7209).then(n.t.bind(n,10690,23))}),pf:W("pf",function(){return n.e(8140).then(n.t.bind(n,90293,23))}),pgsql:W("pgsql",function(){return n.e(5251).then(n.t.bind(n,90012,23))}),phpTemplate:W("phpTemplate",function(){return n.e(1276).then(n.t.bind(n,53230,23))}),php:W("php",function(){return n.e(4342).then(n.t.bind(n,73095,23))}),plaintext:W("plaintext",function(){return n.e(2979).then(n.t.bind(n,68416,23))}),pony:W("pony",function(){return n.e(1418).then(n.t.bind(n,66647,23))}),powershell:W("powershell",function(){return n.e(2665).then(n.t.bind(n,30270,23))}),processing:W("processing",function(){return n.e(4575).then(n.t.bind(n,99136,23))}),profile:W("profile",function(){return n.e(1177).then(n.t.bind(n,61798,23))}),prolog:W("prolog",function(){return n.e(51).then(n.t.bind(n,72680,23))}),properties:W("properties",function(){return n.e(1214).then(n.t.bind(n,87582,23))}),protobuf:W("protobuf",function(){return n.e(7131).then(n.t.bind(n,42756,23))}),puppet:W("puppet",function(){return n.e(1956).then(n.t.bind(n,71409,23))}),purebasic:W("purebasic",function(){return n.e(3146).then(n.t.bind(n,17371,23))}),pythonRepl:W("pythonRepl",function(){return n.e(1895).then(n.t.bind(n,59611,23))}),python:W("python",function(){return n.e(8904).then(n.t.bind(n,33981,23))}),q:W("q",function(){return n.e(2727).then(n.t.bind(n,79464,23))}),qml:W("qml",function(){return n.e(6780).then(n.t.bind(n,36133,23))}),r:W("r",function(){return n.e(4300).then(n.t.bind(n,98209,23))}),reasonml:W("reasonml",function(){return n.e(1489).then(n.t.bind(n,61902,23))}),rib:W("rib",function(){return n.e(5613).then(n.t.bind(n,16222,23))}),roboconf:W("roboconf",function(){return n.e(456).then(n.t.bind(n,18381,23))}),routeros:W("routeros",function(){return n.e(8763).then(n.t.bind(n,47788,23))}),rsl:W("rsl",function(){return n.e(6977).then(n.t.bind(n,56634,23))}),ruby:W("ruby",function(){return n.e(3418).then(n.t.bind(n,34759,23))}),ruleslanguage:W("ruleslanguage",function(){return n.e(2981).then(n.t.bind(n,75578,23))}),rust:W("rust",function(){return n.e(6228).then(n.t.bind(n,55153,23))}),sas:W("sas",function(){return n.e(7401).then(n.t.bind(n,27738,23))}),scala:W("scala",function(){return n.e(6512).then(n.t.bind(n,56585,23))}),scheme:W("scheme",function(){return n.e(1679).then(n.t.bind(n,79108,23))}),scilab:W("scilab",function(){return n.e(634).then(n.t.bind(n,83259,23))}),scss:W("scss",function(){return n.e(4014).then(n.t.bind(n,51355,23))}),shell:W("shell",function(){return n.e(464).then(n.t.bind(n,61949,23))}),smali:W("smali",function(){return n.e(8874).then(n.t.bind(n,37255,23))}),smalltalk:W("smalltalk",function(){return n.e(8725).then(n.t.bind(n,39454,23))}),sml:W("sml",function(){return n.e(2882).then(n.t.bind(n,36943,23))}),sqf:W("sqf",function(){return n.e(2180).then(n.t.bind(n,62661,23))}),sql:W("sql",function(){return n.e(7406).then(n.t.bind(n,20299,23))}),sqlMore:W("sqlMore",function(){return n.e(6057).then(n.t.bind(n,75923,23))}),stan:W("stan",function(){return n.e(1961).then(n.t.bind(n,91283,23))}),stata:W("stata",function(){return n.e(3885).then(n.t.bind(n,95682,23))}),step21:W("step21",function(){return n.e(4931).then(n.t.bind(n,40992,23))}),stylus:W("stylus",function(){return n.e(2512).then(n.t.bind(n,58597,23))}),subunit:W("subunit",function(){return n.e(7254).then(n.t.bind(n,83067,23))}),swift:W("swift",function(){return n.e(6267).then(n.t.bind(n,14632,23))}),taggerscript:W("taggerscript",function(){return n.e(6177).then(n.t.bind(n,41654,23))}),tap:W("tap",function(){return n.e(2693).then(n.t.bind(n,25278,23))}),tcl:W("tcl",function(){return n.e(8755).then(n.t.bind(n,31256,23))}),thrift:W("thrift",function(){return n.e(8331).then(n.t.bind(n,72752,23))}),tp:W("tp",function(){return n.e(4110).then(n.t.bind(n,2443,23))}),twig:W("twig",function(){return n.e(8217).then(n.t.bind(n,69966,23))}),typescript:W("typescript",function(){return n.e(2871).then(n.t.bind(n,18576,23))}),vala:W("vala",function(){return n.e(3988).then(n.t.bind(n,89205,23))}),vbnet:W("vbnet",function(){return n.e(579).then(n.t.bind(n,92064,23))}),vbscriptHtml:W("vbscriptHtml",function(){return n.e(6152).then(n.t.bind(n,80052,23))}),vbscript:W("vbscript",function(){return n.e(9175).then(n.t.bind(n,63008,23))}),verilog:W("verilog",function(){return n.e(2488).then(n.t.bind(n,4841,23))}),vhdl:W("vhdl",function(){return n.e(2064).then(n.t.bind(n,42113,23))}),vim:W("vim",function(){return n.e(6542).then(n.t.bind(n,38891,23))}),x86asm:W("x86asm",function(){return n.e(3357).then(n.t.bind(n,90378,23))}),xl:W("xl",function(){return n.e(9726).then(n.t.bind(n,50131,23))}),xml:W("xml",function(){return n.e(3193).then(n.t.bind(n,26450,23))}),xquery:W("xquery",function(){return n.e(2362).then(n.t.bind(n,65915,23))}),yaml:W("yaml",function(){return n.e(3623).then(n.t.bind(n,75332,23))}),zephir:W("zephir",function(){return n.e(4436).then(n.t.bind(n,5257,23))})},V=(X=(G={loader:function(){return n.e(8727).then(n.t.bind(n,63341,19)).then(function(e){return e.default||e})},isLanguageRegistered:function(e,t){return!!E(e,t)},languageLoaders:H,registerLanguage:function(e,t,n){return e.registerLanguage(t,n)}}).loader,Y=G.isLanguageRegistered,Z=G.registerLanguage,Q=G.languageLoaders,J=G.noAsyncLoadingLanguages,ee=function(e){function t(){return(0,u.A)(this,t),e=this,n=t,r=arguments,n=(0,f.A)(n),(0,p.A)(e,z()?Reflect.construct(n,r||[],(0,f.A)(e).constructor):n.apply(e,r));var e,n,r}return(0,h.A)(t,e),(0,d.A)(t,[{key:"componentDidUpdate",value:function(){!t.isRegistered(this.props.language)&&Q&&this.loadLanguage()}},{key:"componentDidMount",value:function(){var e=this;t.astGeneratorPromise||t.loadAstGenerator(),t.astGenerator||t.astGeneratorPromise.then(function(){e.forceUpdate()}),!t.isRegistered(this.props.language)&&Q&&this.loadLanguage()}},{key:"loadLanguage",value:function(){var e=this,n=this.props.language;"text"!==n&&t.loadLanguage(n).then(function(){return e.forceUpdate()}).catch(function(){})}},{key:"normalizeLanguage",value:function(e){return t.isSupportedLanguage(e)?e:"text"}},{key:"render",value:function(){return v().createElement(t.highlightInstance,(0,c.A)({},this.props,{language:this.normalizeLanguage(this.props.language),astGenerator:t.astGenerator}))}}],[{key:"preload",value:function(){return t.loadAstGenerator()}},{key:"loadLanguage",value:(n=l($().mark(function e(n){var r;return $().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof(r=Q[n])){e.next=5;break}return e.abrupt("return",r(t.registerLanguage));case 5:throw new Error("Language ".concat(n," not supported"));case 6:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})},{key:"isSupportedLanguage",value:function(e){return t.isRegistered(e)||"function"==typeof Q[e]}},{key:"loadAstGenerator",value:function(){return t.astGeneratorPromise=X().then(function(e){t.astGenerator=e,Z&&t.languages.forEach(function(t,n){return Z(e,n,t)})}),t.astGeneratorPromise}}]);var n}(v().PureComponent),K=ee,(0,m.A)(ee,"astGenerator",null),(0,m.A)(ee,"highlightInstance",(U=null,q={},function(e){var t,n,r=e.language,o=e.children,i=e.style,a=void 0===i?q:i,s=e.customStyle,l=void 0===s?{}:s,c=e.codeTagProps,u=void 0===c?{className:r?"language-".concat(r):void 0,style:I(I({},a['code[class*="language-"]']),a['code[class*="language-'.concat(r,'"]')])}:c,d=e.useInlineStyles,p=void 0===d||d,f=e.showLineNumbers,h=void 0!==f&&f,m=e.showInlineLineNumbers,g=void 0===m||m,b=e.startingLineNumber,x=void 0===b?1:b,A=e.lineNumberContainerStyle,w=e.lineNumberStyle,k=void 0===w?{}:w,S=e.wrapLines,C=e.wrapLongLines,R=void 0!==C&&C,T=e.lineProps,O=void 0===T?{}:T,L=e.renderer,_=e.PreTag,N=void 0===_?"pre":_,$=e.CodeTag,z=void 0===$?"code":$,B=e.code,W=void 0===B?(Array.isArray(o)?o[0]:o)||"":B,H=e.astGenerator,V=(0,y.A)(e,M);H=H||U;var G=h?v().createElement(P,{containerStyle:A,codeStyle:u.style||{},numberStyle:k,startingLineNumber:x,codeString:W}):null,K=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},X=F(H)?"hljs":"prismjs",Y=p?Object.assign({},V,{style:Object.assign({},K,l)}):Object.assign({},V,{className:V.className?"".concat(X," ").concat(V.className):X,style:Object.assign({},l)});if(u.style=I(R?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"},u.style),!H)return v().createElement(N,Y,G,v().createElement(z,u,W));(void 0===S&&L||R)&&(S=!0),L=L||D;var Z=[{type:"text",value:W}],Q=function(e){var t=e.astGenerator,n=e.language,r=e.code,o=e.defaultCodeValue;if(F(t)){var i=E(t,n);return"text"===n?{value:o,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:o}}catch(e){return{value:o}}}({astGenerator:H,language:r,code:W,defaultCodeValue:Z});null===Q.language&&(Q.value=Z);var J=j(Q,S,O,h,g,x,x+(null!==(t=null===(n=W.match(/\n/g))||void 0===n?void 0:n.length)&&void 0!==t?t:0),k,R);return v().createElement(N,Y,v().createElement(z,u,!g&&G,L({rows:J,stylesheet:a,useInlineStyles:p})))})),(0,m.A)(ee,"astGeneratorPromise",null),(0,m.A)(ee,"languages",new Map),(0,m.A)(ee,"supportedLanguages",G.supportedLanguages||Object.keys(Q||{})),(0,m.A)(ee,"isRegistered",function(e){if(J)return!0;if(!Z)throw new Error("Current syntax highlighter doesn't support registration of languages");return K.astGenerator?Y(K.astGenerator,e):K.languages.has(e)}),(0,m.A)(ee,"registerLanguage",function(e,t){if(!Z)throw new Error("Current syntax highlighter doesn't support registration of languages");if(K.astGenerator)return Z(K.astGenerator,e,t);K.languages.set(e,t)}),ee);var U,q,G,K,X,Y,Z,Q,J,ee;const te={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#444",color:"#ddd"},"hljs-keyword":{color:"white",fontWeight:"bold"},"hljs-selector-tag":{color:"white",fontWeight:"bold"},"hljs-literal":{color:"white",fontWeight:"bold"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-link":{color:"white"},"hljs-subst":{color:"#ddd"},"hljs-string":{color:"#d88"},"hljs-title":{color:"#d88",fontWeight:"bold"},"hljs-name":{color:"#d88",fontWeight:"bold"},"hljs-type":{color:"#d88",fontWeight:"bold"},"hljs-attribute":{color:"#d88"},"hljs-symbol":{color:"#d88"},"hljs-bullet":{color:"#d88"},"hljs-built_in":{color:"#d88"},"hljs-addition":{color:"#d88"},"hljs-variable":{color:"#d88"},"hljs-template-tag":{color:"#d88"},"hljs-template-variable":{color:"#d88"},"hljs-comment":{color:"#777"},"hljs-quote":{color:"#777"},"hljs-deletion":{color:"#777"},"hljs-meta":{color:"#777"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},ne={hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#f8f8ff"},"hljs-comment":{color:"#408080",fontStyle:"italic"},"hljs-quote":{color:"#408080",fontStyle:"italic"},"hljs-keyword":{color:"#954121"},"hljs-selector-tag":{color:"#954121"},"hljs-literal":{color:"#954121"},"hljs-subst":{color:"#954121"},"hljs-number":{color:"#40a070"},"hljs-string":{color:"#219161"},"hljs-doctag":{color:"#219161"},"hljs-selector-id":{color:"#19469d"},"hljs-selector-class":{color:"#19469d"},"hljs-section":{color:"#19469d"},"hljs-type":{color:"#19469d"},"hljs-params":{color:"#00f"},"hljs-title":{color:"#458",fontWeight:"bold"},"hljs-tag":{color:"#000080",fontWeight:"normal"},"hljs-name":{color:"#000080",fontWeight:"normal"},"hljs-attribute":{color:"#000080",fontWeight:"normal"},"hljs-variable":{color:"#008080"},"hljs-template-variable":{color:"#008080"},"hljs-regexp":{color:"#b68"},"hljs-link":{color:"#b68"},"hljs-symbol":{color:"#990073"},"hljs-bullet":{color:"#990073"},"hljs-built_in":{color:"#0086b3"},"hljs-builtin-name":{color:"#0086b3"},"hljs-meta":{color:"#999",fontWeight:"bold"},"hljs-deletion":{background:"#fdd"},"hljs-addition":{background:"#dfd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}};var re=n(86180);function oe(e){const{text:t,language:n,showLineNumbers:a=!1,highlightedNumbers:s,customStyle:l,showCopyCodeButton:c=!1}=e,u=(0,i.useTheme)(),d="dark"===u.palette.type?te:ne,p="dark"===u.palette.type?"#256bf3":"#e6ffed";return(0,r.jsxs)(o.A,{position:"relative",children:[(0,r.jsx)(V,{customStyle:l,language:n,style:d,showLineNumbers:a,wrapLines:!0,lineNumberStyle:{color:u.palette.textVerySubtle},lineProps:e=>s?.includes(e)?{style:{backgroundColor:p}}:{},children:t}),c&&(0,r.jsx)(o.A,{position:"absolute",top:0,right:0,children:(0,r.jsx)(re.l,{text:t})})]})}},86180:(e,t,n)=>{"use strict";n.d(t,{l:()=>m});var r=n(31085),o=n(9490),i=n(29365),a=n(89040),s=n(99594),l=n(95478),c=n(40200),u=n.n(c),d=n(71581);const p=function(){var e=(0,d.A)(),t=function(e){void 0===e&&(e={});var t=(0,l.useState)(e),n=t[0],r=t[1];return[n,(0,l.useCallback)(function(e){r(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[])]}({value:void 0,error:void 0,noUserInteraction:!0}),n=t[0],r=t[1];return[n,(0,l.useCallback)(function(t){var n,o;if(e())try{if("string"!=typeof t&&"number"!=typeof t){var i=new Error("Cannot copy typeof "+typeof t+" to clipboard, must be a string");return void r({value:t,error:i,noUserInteraction:!0})}if(""===t)return i=new Error("Cannot copy empty string to clipboard."),void r({value:t,error:i,noUserInteraction:!0});o=t.toString(),n=u()(o),r({value:o,error:void 0,noUserInteraction:n})}catch(i){r({value:o,error:i,noUserInteraction:n})}},[])]};var f=n(89475),h=n(10265);function m(e){const{t}=(0,h.i)(f.O),{text:n,tooltipDelay:c=1e3,tooltipText:u=t("copyTextButton.tooltipText"),"aria-label":d="Copy text"}=e,m=(0,o.useApi)(o.errorApiRef),[g,v]=(0,l.useState)(!1),[{error:y},b]=p();return(0,l.useEffect)(()=>{y&&m.post(y)},[y,m]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a.Ay,{id:"copy-test-tooltip",title:u,placement:"top",leaveDelay:c,onClose:()=>v(!1),open:g,children:(0,r.jsx)(i.A,{onClick:e=>{e.stopPropagation(),v(!0),b(n)},"aria-label":d,children:(0,r.jsx)(s.A,{})})})})}},18047:(e,t,n)=>{"use strict";n.d(t,{b:()=>li});var r={};n.r(r),n.d(r,{attentionMarkers:()=>Tt,contentInitial:()=>St,disable:()=>Pt,document:()=>kt,flow:()=>Et,flowInitial:()=>Ct,insideSpan:()=>It,string:()=>Mt,text:()=>Rt});var o={};n.r(o),n.d(o,{boolean:()=>Sn,booleanish:()=>Cn,commaOrSpaceSeparated:()=>Tn,commaSeparated:()=>In,number:()=>Mn,overloadedBoolean:()=>En,spaceSeparated:()=>Rn});var i=n(31085),a=n(37976),s=n(58007),l=n(8109),c=n(5951),u=n(86180),d=n(8973),p=n(29655),f=n(91567),h=n(42899),m=n(72501),g=n(9181),v=n(6924),y=n(95478),b=n(85703);function x(e){return e&&"object"==typeof e?"position"in e||"type"in e?w(e.position):"start"in e||"end"in e?w(e):"line"in e||"column"in e?A(e):"":""}function A(e){return k(e&&e.line)+":"+k(e&&e.column)}function w(e){return A(e&&e.start)+"-"+A(e&&e.end)}function k(e){return e&&"number"==typeof e?e:1}class S extends Error{constructor(e,t,n){const r=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(n=t,t=void 0),"string"==typeof n){const e=n.indexOf(":");-1===e?r[1]=n:(r[0]=n.slice(0,e),r[1]=n.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=x(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}}S.prototype.file="",S.prototype.name="",S.prototype.reason="",S.prototype.message="",S.prototype.stack="",S.prototype.fatal=null,S.prototype.column=null,S.prototype.line=null,S.prototype.source=null,S.prototype.ruleId=null,S.prototype.position=null;const C=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');T(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(n){r=i+1;break}}else a<0&&(n=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));return r===o?o=a:o<0&&(o=e.length),e.slice(r,o)},E=function(e){if(T(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.charCodeAt(0)?"/":".":1===n&&47===e.charCodeAt(0)?"//":e.slice(0,n)},M=function(e){T(e);let t,n=e.length,r=-1,o=0,i=-1,a=0;for(;n--;){const s=e.charCodeAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?i<0?i=n:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=n+1;break}}return i<0||r<0||0===a||1===a&&i===r-1&&i===o+1?"":e.slice(i,r)},R=function(...e){let t,n=-1;for(;++n<e.length;)T(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){T(e);const t=47===e.charCodeAt(0);let n=function(e,t){let n,r,o="",i=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.charCodeAt(l);else{if(47===n)break;n=47}if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),a=l,s=0;continue}}else if(o.length>0){o="",i=0,a=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,l):o=e.slice(a+1,l),i=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},I="/";function T(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const P=function(){return"/"};function O(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}const L=["history","path","basename","stem","extname","dirname"];class _{constructor(e){let t;t=e?"string"==typeof e||function(e){return b(e)}(e)?{value:e}:O(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=P(),this.value,this.stored,this.result,this.map;let n,r=-1;for(;++r<L.length;){const e=L[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)L.includes(n)||(this[n]=t[n])}get path(){return this.history[this.history.length-1]}set path(e){O(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!O(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("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.charCodeAt(n)&&50===t.charCodeAt(n+1)){const e=t.charCodeAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),j(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?E(this.path):void 0}set dirname(e){D(this.basename,"dirname"),this.path=R(e||"",this.basename)}get basename(){return"string"==typeof this.path?C(this.path):void 0}set basename(e){j(e,"basename"),N(e,"basename"),this.path=R(this.dirname||"",e)}get extname(){return"string"==typeof this.path?M(this.path):void 0}set extname(e){if(N(e,"extname"),D(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=R(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?C(this.path,this.extname):void 0}set stem(e){j(e,"stem"),N(e,"stem"),this.path=R(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,n){const r=new S(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=null,r}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}}function N(e,t){if(e&&e.includes(I))throw new Error("`"+t+"` cannot be a path: did not expect `"+I+"`")}function j(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function D(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function F(e){if(e)throw e}var $=n(89710);function z(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const B=function e(){const t=function(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...a){const s=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==a[l]&&void 0!==a[l]||(a[l]=t[l]);t=a,s?function(e,t){let n;return function(...t){const i=e.length>t.length;let a;i&&t.push(r);try{a=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(a&&a.then&&"function"==typeof a.then?a.then(o,r):a instanceof Error?r(a):o(a))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(s,o)(...a):r(null,...a)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}(),n=[];let r,o={},i=-1;return a.data=function(e,t){return"string"==typeof e?2===arguments.length?(q("data",r),o[e]=t,a):W.call(o,e)&&o[e]||null:e?(q("data",r),o=e,a):o},a.Parser=void 0,a.Compiler=void 0,a.freeze=function(){if(r)return a;for(;++i<n.length;){const[e,...r]=n[i];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);const o=e.call(a,...r);"function"==typeof o&&t.use(o)}return r=!0,i=Number.POSITIVE_INFINITY,a},a.attachers=n,a.use=function(e,...t){let i;if(q("use",r),null==e);else if("function"==typeof e)u(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?c(e):l(e)}return i&&(o.settings=Object.assign(o.settings||{},i)),a;function s(e){if("function"==typeof e)u(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;u(t,...n)}else l(e)}}function l(e){c(e.plugins),e.settings&&(i=Object.assign(i||{},e.settings))}function c(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)s(e[t])}}function u(e,t){let r,o=-1;for(;++o<n.length;)if(n[o][0]===e){r=n[o];break}r?(z(r[1])&&z(t)&&(t=$(!0,r[1],t)),r[1]=t):n.push([...arguments])}},a.parse=function(e){a.freeze();const t=X(e),n=a.Parser;return V("parse",n),H(n,"parse")?new n(String(t),t).parse():n(String(t),t)},a.stringify=function(e,t){a.freeze();const n=X(t),r=a.Compiler;return U("stringify",r),G(e),H(r,"compile")?new r(e,n).compile():r(e,n)},a.run=function(e,n,r){if(G(e),a.freeze(),r||"function"!=typeof n||(r=n,n=void 0),!r)return new Promise(o);function o(o,i){t.run(e,X(n),function(t,n,a){n=n||e,t?i(t):o?o(n):r(null,n,a)})}o(null,r)},a.runSync=function(e,t){let n,r;return a.run(e,t,function(e,t){F(e),n=t,r=!0}),K("runSync","run",r),n},a.process=function(e,t){if(a.freeze(),V("process",a.Parser),U("process",a.Compiler),!t)return new Promise(n);function n(n,r){const o=X(e);function i(e,o){e||!o?r(e):n?n(o):t(null,o)}a.run(a.parse(o),o,(e,t,n)=>{if(!e&&t&&n){const o=a.stringify(t,n);null==o||("string"==typeof(r=o)||b(r)?n.value=o:n.result=o),i(e,n)}else i(e);var r})}n(null,t)},a.processSync=function(e){let t;a.freeze(),V("processSync",a.Parser),U("processSync",a.Compiler);const n=X(e);return a.process(n,function(e){t=!0,F(e)}),K("processSync","process",t),n},a;function a(){const t=e();let r=-1;for(;++r<n.length;)t.use(...n[r]);return t.data($(!0,{},o)),t}}().freeze(),W={}.hasOwnProperty;function H(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(W.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function V(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function U(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function q(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 G(e){if(!z(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function K(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function X(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _(e)}const Y={};function Z(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Q(e.children,t,n)}return Array.isArray(e)?Q(e,t,n):""}function Q(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Z(e[o],t,n);return r.join("")}function J(e,t,n,r){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)i=r.slice(a,a+1e4),i.unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function ee(e,t){return e.length>0?(J(e,e.length,0,t),e):t}const te={}.hasOwnProperty;function ne(e){const t={};let n=-1;for(;++n<e.length;)re(t,e[n]);return t}function re(e,t){let n;for(n in t){const r=(te.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){te.call(r,i)||(r[i]=[]);const e=o[i];oe(r[i],Array.isArray(e)?e:e?[e]:[])}}}function oe(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);J(e,0,0,r)}const ie=ve(/[A-Za-z]/),ae=ve(/[\dA-Za-z]/),se=ve(/[#-'*+\--9=?A-Z^-~]/);function le(e){return null!==e&&(e<32||127===e)}const ce=ve(/\d/),ue=ve(/[\dA-Fa-f]/),de=ve(/[!-/:-@[-`{-~]/);function pe(e){return null!==e&&e<-2}function fe(e){return null!==e&&(e<0||32===e)}function he(e){return-2===e||-1===e||32===e}const me=ve(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),ge=ve(/\s/);function ve(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}function ye(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return he(r)?(e.enter(n),a(r)):t(r)};function a(r){return he(r)&&i++<o?(e.consume(r),a):(e.exit(n),t(r))}}const be={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ye(e,t,"linePrefix");e.consume(n)},function(t){return e.enter("paragraph"),r(t)});let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):pe(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},xe={tokenize:function(e){const t=this,n=[];let r,o,i,a=0;return s;function s(r){if(a<n.length){const o=n[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,c)(r)}return c(r)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}v(a);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return J(t.events,i+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}function c(o){if(a===n.length){if(!r)return p(o);if(r.currentConstruct&&r.currentConstruct.concrete)return h(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ae,u,d)(o)}function u(e){return r&&y(),v(a),p(e)}function d(e){return t.parser.lazy[t.now().line]=a!==n.length,i=t.now().offset,h(e)}function p(n){return t.containerState={},e.attempt(Ae,f,h)(n)}function f(e){return a++,n.push([t.currentConstruct,t.containerState]),p(e)}function h(n){return null===n?(r&&y(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):pe(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,t.interrupt=void 0,s):(e.consume(n),m)}function g(e,n){const s=t.sliceStream(e);if(n&&s.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(v(a),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;J(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Ae={tokenize:function(e,t,n){return ye(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},we={tokenize:function(e,t,n){return function(t){return he(t)?ye(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||pe(e)?t(e):n(e)}},partial:!0};function ke(e){const t={};let n,r,o,i,a,s,l,c=-1;for(;++c<e.length;){for(;c in t;)c=t[c];if(n=e[c],c&&"chunkFlow"===n[1].type&&"listItemPrefix"===e[c-1][1].type&&(s=n[1]._tokenizer.events,o=0,o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,Se(e,c)),c=t[c],l=!0);else if(n[1]._container){for(o=c,r=void 0;o--&&(i=e[o],"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type);)"enter"===i[0]&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(n[1].end=Object.assign({},e[r][1].start),a=e.slice(r,c),a.unshift(n),J(e,r,c-r+1,a))}}return!l}function Se(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),s=a.events,l=[],c={};let u,d,p=-1,f=n,h=0,m=0;const g=[m];for(;f;){for(;e[++o][1]!==f;);i.push(o),f._tokenizer||(u=r.sliceStream(f),f.next||u.push(null),d&&a.defineSkip(f.start),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(u),f._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=n;++p<s.length;)"exit"===s[p][0]&&"enter"===s[p-1][0]&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(a.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),p=g.length;p--;){const t=s.slice(g[p],g[p+1]),n=i.pop();l.unshift([n,n+t.length-1]),J(e,n,2,t)}for(p=-1;++p<l.length;)c[h+l[p][0]]=h+l[p][1],h+=l[p][1]-l[p][0]-1;return c}const Ce={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?o(t):pe(t)?e.check(Ee,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ke(e),e}},Ee={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ye(e,o,"linePrefix")};function o(o){if(null===o||pe(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},Me={tokenize:function(e){const t=this,n=e.attempt(we,function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)},e.attempt(this.parser.constructs.flowInitial,r,ye(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ce,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Re={resolveAll:Oe()},Ie=Pe("string"),Te=Pe("text");function Pe(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,a);return i;function i(e){return l(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:Oe("text"===e?Le:void 0)}}function Oe(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Le(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,a=o.length,s=-1,l=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)i=!0,l++;else if(-1!==e){a++;break}}if(l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}function _e(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}function Ne(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],s=[],l=!0;const c={consume:function(e){pe(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=h(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){const t=s.pop();return t.end=h(),u.events.push(["exit",t,u]),t},attempt:v(function(e,t){y(e,t.from)}),check:v(g),interrupt:v(g,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:f,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,r.push(a)}return r.join("")}(f(e),t)},now:h,defineSkip:function(e){o[e.line]=e.column,b()},write:function(e){return a=ee(a,e),function(){let e;for(;r._index<a.length;){const t=a[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}(),null!==a[a.length-1]?[]:(y(t,0),u.events=_e(i,u.events,u),u.events)}};let d,p=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function f(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const e=a[0];"string"==typeof e?a[0]=e.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(a,e)}function h(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(e){l=void 0,d=e,p=p(e)}function g(e,t){t.restore()}function v(e,t){return function(n,o,i){let a,d,p,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return a=e,d=0,0===e.length?i:g(e[d])}function g(e){return function(n){return f=function(){const e=h(),t=u.previous,n=u.currentConstruct,o=u.events.length,i=Array.from(s);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,s=i,b()},from:o}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,v,y)(n)}}function v(t){return l=!0,e(p,f),o}function y(e){return l=!0,f.restore(),++d<a.length?g(a[d]):i}}}function y(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&J(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const je={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),a(i)):o>=3&&(null===i||pe(i))?(e.exit("thematicBreak"),t(i)):n(i)}function a(t){return t===r?(e.consume(t),o++,a):(e.exit("thematicBreakSequence"),he(t)?ye(e,i,"whitespace")(t):i(t))}}},De={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,a=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:ce(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(je,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return ce(t)&&++a<10?(e.consume(t),s):(!r.interrupt||a<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(we,r.interrupt?n:c,e.attempt(Fe,d,u))}function c(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function u(t){return he(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(we,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ye(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!he(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt($e,t,o)(n))});function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ye(e,e.attempt(De,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},Fe={tokenize:function(e,t,n){const r=this;return ye(e,function(e){const o=r.events[r.events.length-1];return!he(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},$e={tokenize:function(e,t,n){const r=this;return ye(e,function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ze={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),o}return n(t)};function o(n){return he(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){return he(t)?ye(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(ze,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function Be(e,t,n,r,o,i,a,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||le(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||pe(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(o){return u||null!==o&&41!==o&&!fe(o)?u<c&&40===o?(e.consume(o),u++,h):41===o?(e.consume(o),u--,h):null===o||32===o||40===o||le(o)?n(o):(e.consume(o),92===o?m:h):(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function We(e,t,n,r,o,i){const a=this;let s,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),c};function c(d){return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):pe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||pe(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!he(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function He(e,t,n,r,o,i){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===a?(e.exit(i),s(a)):null===t?n(t):pe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ye(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===a||null===t||pe(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===a||92===t?(e.consume(t),c):c(t)}}function Ve(e,t){let n;return function r(o){return pe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):he(o)?ye(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function Ue(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qe={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return We.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Ue(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return fe(t)?Ve(e,s)(t):s(t)}function s(t){return Be(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Ge,c,c)(t)}function c(t){return he(t)?ye(e,u,"whitespace")(t):u(t)}function u(i){return null===i||pe(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ge={tokenize:function(e,t,n){return function(t){return fe(t)?Ve(e,r)(t):n(t)};function r(t){return He(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return he(t)?ye(e,i,"whitespace")(t):i(t)}function i(e){return null===e||pe(e)?t(e):n(e)}},partial:!0},Ke={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ye(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?s(t):pe(t)?e.attempt(Xe,i,s)(t):(e.enter("codeFlowValue"),a(t))}function a(t){return null===t||pe(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}function s(n){return e.exit("codeIndented"),t(n)}}},Xe={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):pe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):ye(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):pe(e)?o(e):n(e)}},partial:!0},Ye={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||fe(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),a(n)):null===n||pe(n)?(e.exit("atxHeading"),t(n)):he(n)?ye(e,i,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function a(t){return 35===t?(e.consume(t),a):(e.exit("atxHeadingSequence"),i(t))}function s(t){return null===t||35===t||fe(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;return"whitespace"===e[i][1].type&&(i+=2),o-2>i&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4),o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},J(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},Ze={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let a,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){a="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!a?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t))};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),he(t)?ye(e,a,"lineSuffix")(t):a(t))}function a(r){return null===r||pe(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",a,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=a,e.push(["exit",a,t]),e}},Qe=["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"],Je=["pre","script","style","textarea"],et={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,a,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,f):63===s?(e.consume(s),o=3,r.interrupt?t:_):ie(s)?(e.consume(s),a=String.fromCharCode(s),h):n(s)}function u(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,s=0,p):ie(i)?(e.consume(i),o=4,r.interrupt?t:_):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:_):n(o)}function p(o){return o==="CDATA[".charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:E:p):n(o)}function f(t){return ie(t)?(e.consume(t),a=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||fe(s)){const l=47===s,c=a.toLowerCase();return l||i||!Je.includes(c)?Qe.includes(a.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):E(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):i?g(s):v(s)):(o=1,r.interrupt?t(s):E(s))}return 45===s||ae(s)?(e.consume(s),a+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function g(t){return he(t)?(e.consume(t),g):S(t)}function v(t){return 47===t?(e.consume(t),S):58===t||95===t||ie(t)?(e.consume(t),y):he(t)?(e.consume(t),v):S(t)}function y(t){return 45===t||46===t||58===t||95===t||ae(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),x):he(t)?(e.consume(t),b):v(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,A):he(t)?(e.consume(t),x):w(t)}function A(t){return t===l?(e.consume(t),l=null,k):null===t||pe(t)?n(t):(e.consume(t),A)}function w(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||fe(t)?b(t):(e.consume(t),w)}function k(e){return 47===e||62===e||he(e)?v(e):n(e)}function S(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||pe(t)?E(t):he(t)?(e.consume(t),C):n(t)}function E(t){return 45===t&&2===o?(e.consume(t),T):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),_):93===t&&5===o?(e.consume(t),L):!pe(t)||6!==o&&7!==o?null===t||pe(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(tt,j,M)(t))}function M(t){return e.check(nt,R,j)(t)}function R(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||pe(t)?M(t):(e.enter("htmlFlowData"),E(t))}function T(t){return 45===t?(e.consume(t),_):E(t)}function P(t){return 47===t?(e.consume(t),a="",O):E(t)}function O(t){if(62===t){const n=a.toLowerCase();return Je.includes(n)?(e.consume(t),N):E(t)}return ie(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),O):E(t)}function L(t){return 93===t?(e.consume(t),_):E(t)}function _(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),_):E(t)}function N(t){return null===t||pe(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),N)}function j(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(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},concrete:!0},tt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(we,t,n)}},partial:!0},nt={tokenize:function(e,t,n){const r=this;return function(t){return pe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},rt={tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},ot={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),he(t)?ye(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===i?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===i?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),he(t)?ye(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||pe(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,a=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return a=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),he(t)?ye(e,c,"whitespace")(t):c(t))}function c(n){return null===n||pe(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(rt,f,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||pe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):he(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ye(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function d(t){return null===t||pe(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||pe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),p)}function f(t){return e.attempt(o,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return a>0&&he(t)?ye(e,g,"linePrefix",a+1)(t):g(t)}function g(t){return null===t||pe(t)?e.check(rt,f,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||pe(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0},it=document.createElement("i");function at(e){const t="&"+e+";";it.innerHTML=t;const n=it.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const st={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=ae,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=ue,c):(e.enter("characterReferenceValue"),o=7,i=ce,c(t))}function c(s){if(59===s&&a){const o=e.exit("characterReferenceValue");return i!==ae||at(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<o?(e.consume(s),c):n(s)}}},lt={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return de(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},ct={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ye(e,t,"linePrefix")}}},ut={name:"labelEnd",tokenize:function(e,t,n){const r=this;let o,i,a=r.events.length;for(;a--;)if(("labelImage"===r.events[a][1].type||"labelLink"===r.events[a][1].type)&&!r.events[a][1]._balanced){o=r.events[a][1];break}return function(t){return o?o._inactive?u(t):(i=r.parser.defined.includes(Ue(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(dt,c,i?c:u)(t):91===t?e.attempt(pt,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(ft,c,u)(t)}function c(e){return t(e)}function u(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,o,i,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=a);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[o][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",l,t],["enter",c,t]],i=ee(i,e.slice(r+1,r+s+3)),i=ee(i,[["enter",u,t]]),i=ee(i,_e(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),i=ee(i,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),i=ee(i,e.slice(o+1)),i=ee(i,[["exit",l,t]]),J(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},dt={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return fe(t)?Ve(e,o)(t):o(t)}function o(t){return 41===t?c(t):Be(e,i,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return fe(t)?Ve(e,s)(t):c(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?He(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return fe(t)?Ve(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},pt={tokenize:function(e,t,n){const r=this;return function(t){return We.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(Ue(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},ft={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ht={name:"labelStartImage",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ut.resolveAll};function mt(e){return null===e||fe(e)||ge(e)?1:me(e)?2:void 0}const gt={name:"attention",tokenize:function(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=mt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),a(t)};function a(s){if(s===i)return e.consume(s),a;const l=e.exit("attentionSequence"),c=mt(s),u=!c||2===c&&o||n.includes(s),d=!o||2===o&&c||n.includes(r);return l._open=Boolean(42===i?u:u&&(o||!d)),l._close=Boolean(42===i?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){let n,r,o,i,a,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);vt(d,-s),vt(p,s),i={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},a={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},a.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},a.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ee(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ee(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=ee(l,_e(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=ee(l,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=ee(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,J(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function vt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const yt={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o};function o(t){return ie(t)?(e.consume(t),i):l(t)}function i(e){return 43===e||45===e||46===e||ae(e)?(r=1,a(e)):l(e)}function a(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||ae(t))&&r++<32?(e.consume(t),a):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||le(r)?n(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):se(t)?(e.consume(t),l):n(t)}function c(e){return ae(e)?u(e):n(e)}function u(n){return 46===n?(e.consume(n),r=0,c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||ae(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)}}},bt={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,a;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),y):ie(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,f):ie(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):pe(t)?(a=u,O(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?P(e):45===e?d(e):u(e)}function f(t){return t==="CDATA[".charCodeAt(i++)?(e.consume(t),6===i?h:f):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):pe(t)?(a=h,O(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?P(t):93===t?(e.consume(t),g):h(t)}function v(t){return null===t||62===t?P(t):pe(t)?(a=v,O(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):pe(t)?(a=y,O(t)):(e.consume(t),y)}function b(e){return 62===e?P(e):y(e)}function x(t){return ie(t)?(e.consume(t),A):n(t)}function A(t){return 45===t||ae(t)?(e.consume(t),A):w(t)}function w(t){return pe(t)?(a=w,O(t)):he(t)?(e.consume(t),w):P(t)}function k(t){return 45===t||ae(t)?(e.consume(t),k):47===t||62===t||fe(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),P):58===t||95===t||ie(t)?(e.consume(t),C):pe(t)?(a=S,O(t)):he(t)?(e.consume(t),S):P(t)}function C(t){return 45===t||46===t||58===t||95===t||ae(t)?(e.consume(t),C):E(t)}function E(t){return 61===t?(e.consume(t),M):pe(t)?(a=E,O(t)):he(t)?(e.consume(t),E):S(t)}function M(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,R):pe(t)?(a=M,O(t)):he(t)?(e.consume(t),M):(e.consume(t),I)}function R(t){return t===o?(e.consume(t),o=void 0,T):null===t?n(t):pe(t)?(a=R,O(t)):(e.consume(t),R)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||fe(t)?S(t):(e.consume(t),I)}function T(e){return 47===e||62===e||fe(e)?S(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return he(t)?ye(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):_(t)}function _(t){return e.enter("htmlTextData"),a(t)}}},xt={name:"labelStartLink",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:ut.resolveAll},At={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return pe(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},wt={name:"codeText",tokenize:function(e,t,n){let r,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),a(t)};function a(t){return 96===t?(e.consume(t),i++,a):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):pe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||pe(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}},kt={42:De,43:De,45:De,48:De,49:De,50:De,51:De,52:De,53:De,54:De,55:De,56:De,57:De,62:ze},St={91:qe},Ct={[-2]:Ke,[-1]:Ke,32:Ke},Et={35:Ye,42:je,45:[Ze,je],60:et,61:Ze,95:je,96:ot,126:ot},Mt={38:st,92:lt},Rt={[-5]:ct,[-4]:ct,[-3]:ct,33:ht,38:st,42:gt,60:[yt,bt],91:xt,92:[At,lt],93:ut,95:gt,96:wt},It={null:[gt,Re]},Tt={null:[42,95]},Pt={null:[]},Ot=/[\0\t\n\r]/g;function Lt(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCharCode(n)}const _t=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Nt(e){return e.replace(_t,jt)}function jt(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return Lt(n.slice(t?2:1),t?16:10)}return at(n)||e}const Dt={}.hasOwnProperty,Ft=function(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(A),autolinkProtocol:p,autolinkEmail:p,atxHeading:a(v),blockQuote:a(function(){return{type:"blockquote",children:[]}}),characterEscape:p,characterReference:p,codeFenced:a(g),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(g,s),codeText:a(function(){return{type:"inlineCode",value:""}},s),codeTextData:p,data:p,codeFlowValue:p,definition:a(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:a(y),hardBreakTrailing:a(y),htmlFlow:a(b,s),htmlFlowData:p,htmlText:a(b,s),htmlTextData:p,image:a(function(){return{type:"image",title:null,url:"",alt:null}}),label:s,link:a(A),listItem:a(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){i("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),o("expectingFirstListItemValue"))},listOrdered:a(w,function(){o("expectingFirstListItemValue",!0)}),listUnordered:a(w),paragraph:a(function(){return{type:"paragraph",children:[]}}),reference:function(){o("referenceType","collapsed")},referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(v),strong:a(function(){return{type:"strong",children:[]}}),thematicBreak:a(function(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:c(),autolinkEmail:function(e){f.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){f.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:f,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=i("characterReferenceType");let r;n?(r=Lt(t,"characterReferenceMarkerNumeric"===n?10:16),o("characterReferenceType")):r=at(t);const a=this.stack.pop();a.value+=r,a.position.end=$t(e.end)},codeFenced:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}),codeFencedFence:function(){i("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:f,codeIndented:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:f,data:f,definition:c(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ue(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:c(),hardBreakEscape:c(h),hardBreakTrailing:c(h),htmlFlow:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:f,htmlText:c(function(){const e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:f,image:c(function(){const e=this.stack[this.stack.length-1];if(i("inReference")){const t=i("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(o("inReference",!0),"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=Nt(t),n.identifier=Ue(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(i("atHardBreak"))return n.children[n.children.length-1].position.end=$t(e.end),void o("atHardBreak");!i("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(n.type)&&(p.call(this,e),f.call(this,e))},link:c(function(){const e=this.stack[this.stack.length-1];if(i("inReference")){const t=i("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;o("referenceType")}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ue(this.sliceSerialize(e)).toLowerCase(),o("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){o("inReference")},setextHeading:c(function(){o("setextHeadingSlurpLineEnding")}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){o("setextHeadingSlurpLineEnding",!0)},strong:c(),thematicBreak:c()}};zt(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let n={type:"root",children:[]};const a={stack:[n],tokenStack:[],config:t,enter:l,exit:u,buffer:s,resume:d,setData:o,getData:i},c=[];let p=-1;for(;++p<e.length;)"listOrdered"!==e[p][1].type&&"listUnordered"!==e[p][1].type||("enter"===e[p][0]?c.push(p):p=r(e,c.pop(),p));for(p=-1;++p<e.length;){const n=t[e[p][0]];Dt.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},a),e[p][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||Wt).call(a,void 0,e[0])}for(n.position={start:$t(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:$t(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)n=t.transforms[p](n)||n;return n};function r(e,t,n){let r,o,i,a,s=t-1,l=-1,c=!1;for(;++s<=n;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?l++:l--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!r||a||l||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),s++,n++}"listItemPrefix"===t[1].type&&(r={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0},e.splice(s,0,["enter",r,t[2]]),s++,n++,i=void 0,a=!0)}}return e[t][1]._spread=c,n}function o(e,t){n[e]=t}function i(e){return n[e]}function a(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:$t(t.start)},e}function c(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+x({start:e.start,end:e.end})+"): it’s not open");return r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||Wt).call(this,e,r[0])),n.position.end=$t(e.end),n}function d(){return function(e){return Z(e,"boolean"!=typeof Y.includeImageAlt||Y.includeImageAlt,"boolean"!=typeof Y.includeHtml||Y.includeHtml)}(this.stack.pop())}function p(e){const t=this.stack[this.stack.length-1];let n=t.children[t.children.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:$t(e.start)},t.children.push(n)),this.stack.push(n)}function f(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=$t(e.end)}function h(){o("atHardBreak",!0)}function m(e){o("characterReferenceType",e.type)}function g(){return{type:"code",lang:null,meta:null,value:""}}function v(){return{type:"heading",depth:void 0,children:[]}}function y(){return{type:"break"}}function b(){return{type:"html",value:""}}function A(){return{type:"link",title:null,url:"",children:[]}}function w(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!ke(e););return e}(function(e){const t={defined:[],lazy:{},constructs:ne([r,...(e||{}).extensions||[]]),content:n(be),document:n(xe),flow:n(Me),string:n(Ie),text:n(Te)};return t;function n(e){return function(n){return Ne(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,a){const s=[];let l,c,u,d,p;for(o=n+o.toString(i),u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){if(Ot.lastIndex=u,l=Ot.exec(o),d=l&&void 0!==l.index?l.index:o.length,p=o.charCodeAt(d),!l){n=o.slice(u);break}if(10===p&&u===d&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),u<d&&(s.push(o.slice(u,d)),t+=d-u),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}u=d+1}return a&&(e&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))};function $t(e){return{line:e.line,column:e.column,offset:e.offset}}function zt(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?zt(e,r):Bt(e,r)}}function Bt(e,t){let n;for(n in t)if(Dt.call(t,n))if("canContainEols"===n){const r=t[n];r&&e[n].push(...r)}else if("transforms"===n){const r=t[n];r&&e[n].push(...r)}else if("enter"===n||"exit"===n){const r=t[n];r&&Object.assign(e[n],r)}}function Wt(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+x({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+x({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+x({start:t.start,end:t.end})+") is still open")}function Ht(e){Object.assign(this,{Parser:t=>{const n=this.data("settings");return Ft(t,Object.assign({},n,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Vt(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(37===i&&ae(e.charCodeAt(n+1))&&ae(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}const Ut=function(e){if(null==e)return Gt;if("string"==typeof e)return t=e,qt(function(e){return e&&e.type===t});var t;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ut(e[n]);return qt(function(...e){let n=-1;for(;++n<t.length;)if(t[n].call(this,...e))return!0;return!1})}(e):function(e){return qt(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0})}(e);if("function"==typeof e)return qt(e);throw new Error("Expected function, string, or object as test")};function qt(e){return function(t,...n){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...n)))}}function Gt(){return!0}const Kt=!1,Xt=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null);const o=Ut(t),i=r?-1:1;!function e(a,s,l){const c=a&&"object"==typeof a?a:{};if("string"==typeof c.type){const e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+a.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=[];if((!t||o(a,s,l[l.length-1]||null))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[true,e]:[e]}(n(a,l)),p[0]===Kt))return p;if(a.children&&"skip"!==p[0])for(u=(r?a.children.length:-1)+i,d=l.concat(a);u>-1&&u<a.children.length;){if(c=e(a.children[u],u,d)(),c[0]===Kt)return c;u="number"==typeof c[1]?c[1]:u+i}return p}}(e,void 0,[])()},Yt=function(e,t,n,r){"function"==typeof t&&"function"!=typeof n&&(r=n,n=t,t=null),Xt(e,t,function(e,t){const r=t[t.length-1];return n(e,r?r.children.indexOf(e):null,r)},r)},Zt=Jt("start"),Qt=Jt("end");function Jt(e){return function(t){const n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}const en={}.hasOwnProperty;function tn(e){return String(e||"").toUpperCase()}function nn(e,t){const n=String(t.identifier).toUpperCase(),r=Vt(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;-1===o?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function rn(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&"text"===a.type?a.value+=r:o.push({type:"text",value:r}),o}function on(e){const t=e.spread;return null==t?e.children.length>1:t}function an(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(sn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(sn(t.slice(o),o>0,!1)),i.join("")}function sn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const ln={blockquote:function(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)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:nn,footnote:function(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},nn(e,{type:"footnoteReference",identifier:o,position:t.position})},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null},imageReference:function(e,t){const n=e.definition(t.identifier);if(!n)return rn(e,t);const r={src:Vt(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Vt(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(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)},linkReference:function(e,t){const n=e.definition(t.identifier);if(!n)return rn(e,t);const r={href:Vt(n.url||"")};null!==n.title&&void 0!==n.title&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Vt(t.url)};null!==t.title&&void 0!==t.title&&(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)},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=on(n[r])}return t}(n):on(t),i={},a=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s];(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?a.push(e):a.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.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)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Zt(t.children[1]),a=Qt(t.children[t.children.length-1]);i.line&&a.line&&(r.position={start:i,end:a}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,a=i?i.length:t.children.length;let s=-1;const l=[];for(;++s<a;){const n=t.children[s],r={},a=i?i[s]:void 0;a&&(r.align=a);let c={type:"element",tagName:o,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(t,c)),l.push(c)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){const n={type:"text",value:an(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:cn,yaml:cn,definition:cn,footnoteDefinition:cn};function cn(){return null}const un={}.hasOwnProperty;function dn(e,t){var n;e.position&&(t.position={start:Zt(n=e),end:Qt(n)})}function pn(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:[]}),"element"===n.type&&o&&(n.properties={...n.properties,...o}),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function fn(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return un.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:hn(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):function(e,t){const n=t.data||{},r=!("value"in t)||un.call(n,"hProperties")||un.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:hn(e,t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}(e,t)}function hn(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o<r.length;){const i=fn(e,r[o],t);if(i){if(o&&"break"===r[o-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&"element"===i.type)){const e=i.children[0];e&&"text"===e.type&&(e.value=e.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function mn(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function gn(e,t){const n=function(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=void 0===n.clobberPrefix||null===n.clobberPrefix?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...ln,...n.handlers},a.definition=function(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Yt(e,"definition",e=>{const n=tn(e.identifier);n&&!en.call(t,n)&&(t[n]=e)}),function(e){const n=tn(e);return n&&en.call(t,n)?t[n]:null}}(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=dn,a.applyData=pn,a.one=function(e,t){return fn(a,e,t)},a.all=function(e){return hn(a,e)},a.wrap=mn,a.augment=i,Yt(e,"footnoteDefinition",e=>{const t=String(e.identifier).toUpperCase();un.call(o,t)||(o[t]=e)}),a;function i(e,t){if(e&&"data"in e&&e.data){const n=e.data;n.hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties={...t.properties,...n.hProperties}),"children"in t&&t.children&&n.hChildren&&(t.children=n.hChildren)}if(e){const r="type"in e?e:{position:e};!((n=r)&&n.position&&n.position.start&&n.position.start.line&&n.position.start.column&&n.position.end&&n.position.end.line&&n.position.end.column)||(t.position={start:Zt(r),end:Qt(r)})}var n;return t}function a(e,t,n,r){return Array.isArray(n)&&(r=n,n={}),i(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}}(e,t),r=n.one(e,null),o=function(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const o=e.all(r),i=String(r.identifier).toUpperCase(),a=Vt(i.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[i];){const t={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};s>1&&t.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(t)}const c=o[o.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else o.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,u),t.push(u)}if(0!==t.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:"\n"}]}}(n);return o&&r.children.push({type:"text",value:"\n"},o),Array.isArray(r)?{type:"root",children:r}:r}const vn=function(e,t){return e&&"run"in e?function(e,t){return(n,r,o)=>{e.run(gn(n,t),r,e=>{o(e)})}}(e,t):function(e){return t=>gn(t,e)}(e||t)};var yn=n(39067);class bn{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function xn(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 bn(n,r,t)}function An(e){return e.toLowerCase()}bn.prototype.property={},bn.prototype.normal={},bn.prototype.space=null;class wn{constructor(e,t){this.property=e,this.attribute=t}}wn.prototype.space=null,wn.prototype.boolean=!1,wn.prototype.booleanish=!1,wn.prototype.overloadedBoolean=!1,wn.prototype.number=!1,wn.prototype.commaSeparated=!1,wn.prototype.spaceSeparated=!1,wn.prototype.commaOrSpaceSeparated=!1,wn.prototype.mustUseProperty=!1,wn.prototype.defined=!1;let kn=0;const Sn=Pn(),Cn=Pn(),En=Pn(),Mn=Pn(),Rn=Pn(),In=Pn(),Tn=Pn();function Pn(){return 2**++kn}const On=Object.keys(o);class Ln extends wn{constructor(e,t,n,r){let i=-1;if(super(e,t),_n(this,"space",r),"number"==typeof n)for(;++i<On.length;){const e=On[i];_n(this,On[i],(n&o[e])===o[e])}}}function _n(e,t,n){n&&(e[t]=n)}Ln.prototype.defined=!0;const Nn={}.hasOwnProperty;function jn(e){const t={},n={};let r;for(r in e.properties)if(Nn.call(e.properties,r)){const o=e.properties[r],i=new Ln(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[An(r)]=r,n[An(i.attribute)]=r}return new bn(t,n,e.space)}const Dn=jn({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Fn=jn({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function $n(e,t){return t in e?e[t]:t}function zn(e,t){return $n(e,t.toLowerCase())}const Bn=jn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:zn,properties:{xmlns:null,xmlnsXLink:null}}),Wn=jn({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Cn,ariaAutoComplete:null,ariaBusy:Cn,ariaChecked:Cn,ariaColCount:Mn,ariaColIndex:Mn,ariaColSpan:Mn,ariaControls:Rn,ariaCurrent:null,ariaDescribedBy:Rn,ariaDetails:null,ariaDisabled:Cn,ariaDropEffect:Rn,ariaErrorMessage:null,ariaExpanded:Cn,ariaFlowTo:Rn,ariaGrabbed:Cn,ariaHasPopup:null,ariaHidden:Cn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Rn,ariaLevel:Mn,ariaLive:null,ariaModal:Cn,ariaMultiLine:Cn,ariaMultiSelectable:Cn,ariaOrientation:null,ariaOwns:Rn,ariaPlaceholder:null,ariaPosInSet:Mn,ariaPressed:Cn,ariaReadOnly:Cn,ariaRelevant:null,ariaRequired:Cn,ariaRoleDescription:Rn,ariaRowCount:Mn,ariaRowIndex:Mn,ariaRowSpan:Mn,ariaSelected:Cn,ariaSetSize:Mn,ariaSort:null,ariaValueMax:Mn,ariaValueMin:Mn,ariaValueNow:Mn,ariaValueText:null,role:null}}),Hn=jn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:zn,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:In,acceptCharset:Rn,accessKey:Rn,action:null,allow:null,allowFullScreen:Sn,allowPaymentRequest:Sn,allowUserMedia:Sn,alt:null,as:null,async:Sn,autoCapitalize:null,autoComplete:Rn,autoFocus:Sn,autoPlay:Sn,blocking:Rn,capture:null,charSet:null,checked:Sn,cite:null,className:Rn,cols:Mn,colSpan:null,content:null,contentEditable:Cn,controls:Sn,controlsList:Rn,coords:Mn|In,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Sn,defer:Sn,dir:null,dirName:null,disabled:Sn,download:En,draggable:Cn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Sn,formTarget:null,headers:Rn,height:Mn,hidden:Sn,high:Mn,href:null,hrefLang:null,htmlFor:Rn,httpEquiv:Rn,id:null,imageSizes:null,imageSrcSet:null,inert:Sn,inputMode:null,integrity:null,is:null,isMap:Sn,itemId:null,itemProp:Rn,itemRef:Rn,itemScope:Sn,itemType:Rn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Sn,low:Mn,manifest:null,max:null,maxLength:Mn,media:null,method:null,min:null,minLength:Mn,multiple:Sn,muted:Sn,name:null,nonce:null,noModule:Sn,noValidate:Sn,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:Sn,optimum:Mn,pattern:null,ping:Rn,placeholder:null,playsInline:Sn,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Sn,referrerPolicy:null,rel:Rn,required:Sn,reversed:Sn,rows:Mn,rowSpan:Mn,sandbox:Rn,scope:null,scoped:Sn,seamless:Sn,selected:Sn,shadowRootClonable:Sn,shadowRootDelegatesFocus:Sn,shadowRootMode:null,shape:null,size:Mn,sizes:null,slot:null,span:Mn,spellCheck:Cn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Mn,step:null,style:null,tabIndex:Mn,target:null,title:null,translate:null,type:null,typeMustMatch:Sn,useMap:null,value:Cn,width:Mn,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Rn,axis:null,background:null,bgColor:null,border:Mn,borderColor:null,bottomMargin:Mn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Sn,declare:Sn,event:null,face:null,frame:null,frameBorder:null,hSpace:Mn,leftMargin:Mn,link:null,longDesc:null,lowSrc:null,marginHeight:Mn,marginWidth:Mn,noResize:Sn,noHref:Sn,noShade:Sn,noWrap:Sn,object:null,profile:null,prompt:null,rev:null,rightMargin:Mn,rules:null,scheme:null,scrolling:Cn,standby:null,summary:null,text:null,topMargin:Mn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Mn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Sn,disableRemotePlayback:Sn,prefix:null,property:null,results:Mn,security:null,unselectable:null}}),Vn=jn({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:$n,properties:{about:Tn,accentHeight:Mn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Mn,amplitude:Mn,arabicForm:null,ascent:Mn,attributeName:null,attributeType:null,azimuth:Mn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Mn,by:null,calcMode:null,capHeight:Mn,className:Rn,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:Mn,diffuseConstant:Mn,direction:null,display:null,dur:null,divisor:Mn,dominantBaseline:null,download:Sn,dx:null,dy:null,edgeMode:null,editable:null,elevation:Mn,enableBackground:null,end:null,event:null,exponent:Mn,externalResourcesRequired:null,fill:null,fillOpacity:Mn,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:In,g2:In,glyphName:In,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Mn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Mn,horizOriginX:Mn,horizOriginY:Mn,id:null,ideographic:Mn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Mn,k:Mn,k1:Mn,k2:Mn,k3:Mn,k4:Mn,kernelMatrix:Tn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Mn,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:Mn,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:Mn,overlineThickness:Mn,paintOrder:null,panose1:null,path:null,pathLength:Mn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Rn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Mn,pointsAtY:Mn,pointsAtZ:Mn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Tn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Tn,rev:Tn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Tn,requiredFeatures:Tn,requiredFonts:Tn,requiredFormats:Tn,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:Mn,specularExponent:Mn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Mn,strikethroughThickness:Mn,string:null,stroke:null,strokeDashArray:Tn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Mn,strokeOpacity:Mn,strokeWidth:null,style:null,surfaceScale:Mn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Tn,tabIndex:Mn,tableValues:null,target:null,targetX:Mn,targetY:Mn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Tn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Mn,underlineThickness:Mn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Mn,values:null,vAlphabetic:Mn,vMathematical:Mn,vectorEffect:null,vHanging:Mn,vIdeographic:Mn,version:null,vertAdvY:Mn,vertOriginX:Mn,vertOriginY:Mn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Mn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Un=xn([Fn,Dn,Bn,Wn,Hn],"html"),qn=xn([Fn,Dn,Bn,Wn,Vn],"svg");function Gn(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Yt(t,"element",(t,n,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&"number"==typeof n&&(i=!e.allowElement(t,n,o)),i&&"number"==typeof n)return e.unwrapDisallowed&&t.children?o.children.splice(n,1,...t.children):o.children.splice(n,1),n})}}var Kn=n(23819);function Xn(e){const t=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof t&&""===t.replace(/[ \t\n\f\r]/g,"")}const Yn=/^data[-\w.:]+$/i,Zn=/-[a-z]/g,Qn=/[A-Z]/g;function Jn(e){return"-"+e.toLowerCase()}function er(e){return e.charAt(1).toUpperCase()}const tr={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"},nr=n(47093),rr=["http","https","mailto","tel"];function or(e){const t=(e||"").trim(),n=t.charAt(0);if("#"===n||"/"===n)return t;const r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<rr.length;){const e=rr[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return o=t.indexOf("?"),-1!==o&&r>o?t:(o=t.indexOf("#"),-1!==o&&r>o?t:"javascript:void(0)")}const ir={}.hasOwnProperty,ar=new Set(["table","thead","tbody","tfoot","tr"]);function sr(e,t){const n=[];let r,o=-1;for(;++o<t.children.length;)r=t.children[o],"element"===r.type?n.push(lr(e,r,o,t)):"text"===r.type?"element"===t.type&&ar.has(t.tagName)&&Xn(r)||n.push(r.value):"raw"!==r.type||e.options.skipHtml||n.push(r.value);return n}function lr(e,t,n,r){const o=e.options,i=void 0===o.transformLinkUri?or:o.transformLinkUri,a=e.schema,s=t.tagName,l={};let c,u=a;if("html"===a.space&&"svg"===s&&(u=qn,e.schema=u),t.properties)for(c in t.properties)ir.call(t.properties,c)&&ur(l,c,t.properties[c],e);"ol"!==s&&"ul"!==s||e.listDepth++;const d=sr(e,t);"ol"!==s&&"ul"!==s||e.listDepth--,e.schema=a;const p=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},f=o.components&&ir.call(o.components,s)?o.components[s]:s,h="string"==typeof f||f===y.Fragment;if(!Kn.isValidElementType(f))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=n,"a"===s&&o.linkTarget&&(l.target="function"==typeof o.linkTarget?o.linkTarget(String(l.href||""),t.children,"string"==typeof l.title?l.title:null):o.linkTarget),"a"===s&&i&&(l.href=i(String(l.href||""),t.children,"string"==typeof l.title?l.title:null)),h||"code"!==s||"element"!==r.type||"pre"===r.tagName||(l.inline=!0),h||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(l.level=Number.parseInt(s.charAt(1),10)),"img"===s&&o.transformImageUri&&(l.src=o.transformImageUri(String(l.src||""),String(l.alt||""),"string"==typeof l.title?l.title:null)),!h&&"li"===s&&"element"===r.type){const e=function(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if("element"===n.type&&"input"===n.tagName)return n}return null}(t);l.checked=e&&e.properties?Boolean(e.properties.checked):null,l.index=cr(r,t),l.ordered="ol"===r.tagName}var m;return h||"ol"!==s&&"ul"!==s||(l.ordered="ol"===s,l.depth=e.listDepth),"td"!==s&&"th"!==s||(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),h||(l.isHeader="th"===s)),h||"tr"!==s||"element"!==r.type||(l.isHeader=Boolean("thead"===r.tagName)),o.sourcePos&&(l["data-sourcepos"]=[(m=p).start.line,":",m.start.column,"-",m.end.line,":",m.end.column].map(String).join("")),!h&&o.rawSourcePos&&(l.sourcePosition=t.position),!h&&o.includeElementIndex&&(l.index=cr(r,t),l.siblingCount=cr(r)),h||(l.node=t),d.length>0?y.createElement(f,l,d):y.createElement(f,l)}function cr(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)"element"===e.children[n].type&&r++;return r}function ur(e,t,n,r){const o=function(e,t){const n=An(t);let r=t,o=wn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&Yn.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Zn,er);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Zn.test(e)){let n=e.replace(Qn,Jn);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Ln}return new o(r,t)}(r.schema,t);let i=n;null!=i&&i==i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"==typeof i&&(i=function(e){const t={};try{nr(e,function(e,n){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;t[r.replace(/-([a-z])/g,dr)]=n})}catch{}return t}(i)),o.space&&o.property?e[ir.call(tr,o.property)?tr[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function dr(e,t){return t.toUpperCase()}const pr={}.hasOwnProperty,fr="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",hr={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function mr(e){for(const t in hr)if(pr.call(hr,t)&&pr.call(e,t)){const e=hr[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <${fr}#${e.id}> for more info)`),delete hr[t]}const t=B().use(Ht).use(e.remarkPlugins||[]).use(vn,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Gn,e),n=new _;"string"==typeof e.children?n.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=y.createElement(y.Fragment,{},sr({options:e,schema:Un,listDepth:0},r));return e.className&&(o=y.createElement("div",{className:e.className},o)),o}mr.propTypes={children:yn.string,className:yn.string,allowElement:yn.func,allowedElements:yn.arrayOf(yn.string),disallowedElements:yn.arrayOf(yn.string),unwrapDisallowed:yn.bool,remarkPlugins:yn.arrayOf(yn.oneOfType([yn.object,yn.func,yn.arrayOf(yn.oneOfType([yn.bool,yn.string,yn.object,yn.func,yn.arrayOf(yn.any)]))])),rehypePlugins:yn.arrayOf(yn.oneOfType([yn.object,yn.func,yn.arrayOf(yn.oneOfType([yn.bool,yn.string,yn.object,yn.func,yn.arrayOf(yn.any)]))])),sourcePos:yn.bool,rawSourcePos:yn.bool,skipHtml:yn.bool,includeElementIndex:yn.bool,transformLinkUri:yn.oneOfType([yn.func,yn.bool]),linkTarget:yn.oneOfType([yn.func,yn.string]),transformImageUri:yn.func,components:yn.object};const gr={tokenize:function(e,t,n){let r=0;return function t(i){return(87===i||119===i)&&r<3?(r++,e.consume(i),t):46===i&&3===r?(e.consume(i),o):n(i)};function o(e){return null===e?n(e):t(e)}},partial:!0},vr={tokenize:function(e,t,n){let r,o,i;return a;function a(t){return 46===t||95===t?e.check(br,l,s)(t):null===t||fe(t)||ge(t)||45!==t&&me(t)?l(t):(i=!0,e.consume(t),a)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),a}function l(e){return o||r||!i?n(e):t(e)}},partial:!0},yr={tokenize:function(e,t){let n=0,r=0;return o;function o(a){return 40===a?(n++,e.consume(a),o):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||60===a||63===a||93===a||95===a||126===a?e.check(br,t,i)(a):null===a||fe(a)||ge(a)?t(a):(e.consume(a),o)}function i(t){return 41===t&&r++,e.consume(t),o}},partial:!0},br={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),o):60===a||null===a||fe(a)||ge(a)?t(a):n(a)}function o(e){return null===e||40===e||91===e||fe(e)||ge(e)?t(e):r(e)}function i(e){return ie(e)?a(e):n(e)}function a(t){return 59===t?(e.consume(t),r):ie(t)?(e.consume(t),a):n(t)}},partial:!0},xr={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return ae(e)?n(e):t(e)}},partial:!0},Ar={tokenize:function(e,t,n){const r=this;return function(t){return 87!==t&&119!==t||!Mr.call(r,r.previous)||Pr(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(gr,e.attempt(vr,e.attempt(yr,o),n),n)(t))};function o(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Mr},wr={tokenize:function(e,t,n){const r=this;let o="",i=!1;return function(t){return 72!==t&&104!==t||!Rr.call(r,r.previous)||Pr(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),a)};function a(t){if(ie(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),a;if(58===t){const n=o.toLowerCase();if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){return 47===t?(e.consume(t),i?l:(i=!0,s)):n(t)}function l(t){return null===t||le(t)||fe(t)||ge(t)||me(t)?n(t):e.attempt(vr,e.attempt(yr,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:Rr},kr={tokenize:function(e,t,n){const r=this;let o,i;return function(t){return Tr(t)&&Ir.call(r,r.previous)&&!Pr(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(t)):n(t)};function a(t){return Tr(t)?(e.consume(t),a):64===t?(e.consume(t),s):n(t)}function s(t){return 46===t?e.check(xr,c,l)(t):45===t||95===t||ae(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(a){return i&&o&&ie(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:Ir},Sr={},Cr={text:Sr};let Er=48;for(;Er<123;)Sr[Er]=kr,Er++,58===Er?Er=65:91===Er&&(Er=97);function Mr(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||fe(e)}function Rr(e){return!ie(e)}function Ir(e){return!(47===e||Tr(e))}function Tr(e){return 43===e||45===e||46===e||95===e||ae(e)}function Pr(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Sr[43]=kr,Sr[45]=kr,Sr[46]=kr,Sr[95]=kr,Sr[72]=[kr,wr],Sr[104]=[kr,wr],Sr[87]=[kr,Ar],Sr[119]=[kr,Ar];const Or={tokenize:function(e,t,n){const r=this;return ye(e,function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function Lr(e,t,n){const r=this;let o=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return n(o);const s=Ue(r.sliceSerialize({start:a.end,end:r.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function _r(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...l),e}function Nr(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(a>999||93===s&&!i||null===s||91===s||fe(s))return n(s);if(93===s){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return o.includes(Ue(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return fe(s)||(i=!0),a++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}}function jr(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,a,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!a||null===t||91===t||fe(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=Ue(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return fe(t)||(a=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(i)||o.push(i),ye(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function Dr(e,t,n){return e.check(we,t,e.attempt(Or,t,n))}function Fr(e){e.exit("gfmFootnoteDefinition")}function $r(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,i=this.events;let a=0;return function(t){return 126===o&&"characterEscape"!==i[i.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(i){const l=mt(o);if(126===i)return a>1?r(i):(e.consume(i),a++,s);if(a<2&&!t)return r(i);const c=e.exit("strikethroughSequenceTemporary"),u=mt(i);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},i={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",i,t]],s=t.parser.constructs.insideSpan.null;s&&J(a,a.length,0,_e(s,e.slice(r+1,n),t)),J(a,a.length,0,[["exit",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),J(e,r-1,n-r+3,a),n=r+a.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}class zr{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let o=0;if(0!==n||0!==r.length){for(;o<e.map.length;){if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort((e,t)=>e[0]-t[0]),0===this.map.length)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1])),n.push(this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function Br(e,t){let n=!1;const r=[];for(;t<e.length;){const o=e[t];if(n){if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===o[1].type)break}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}const Wr={flow:{null:{tokenize:function(e,t,n){const r=this;let o,i=0,a=0;return function(e){let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,i="tableHead"===o||"tableRow"===o?x:s;return i===x&&r.parser.lazy[r.now().line]?n(e):i(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,a+=1),l(e)}(t)}function l(t){return null===t?n(t):pe(t)?a>1?(a=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):he(t)?ye(e,l,"whitespace")(t):(a+=1,o&&(o=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||fe(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,he(t)?ye(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):b(t)}function f(t){return he(t)?ye(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||pe(t)?y(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return he(t)?ye(e,y,"whitespace")(t):y(t)}function y(n){return 124===n?p(n):(null===n||pe(n))&&o&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function x(t){return e.enter("tableRow"),A(t)}function A(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),A):null===n||pe(n)?(e.exit("tableRow"),t(n)):he(n)?ye(e,A,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||fe(t)?(e.exit("data"),A(t)):(e.consume(t),92===t?k:w)}function k(t){return 92===t||124===t?(e.consume(t),w):w(t)}},resolveAll:function(e,t){let n,r,o,i=-1,a=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new zr;for(;++i<e.length;){const f=e[i],h=f[1];"enter"===f[0]?"tableHead"===h.type?(u=!1,0!==d&&(Vr(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",n,t]])):"tableRow"===h.type||"tableDelimiterRow"===h.type?(a=!0,o=void 0,l=[0,0,0,0],c=[0,i+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},p.add(i,0,[["enter",r,t]])),s="tableDelimiterRow"===h.type?2:r?3:1):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type?"tableCellDivider"===h.type&&(a?a=!1:(0!==l[1]&&(c[0]=c[1],o=Hr(p,t,l,s,void 0,o)),l=c,c=[l[1],i,0,0])):(a=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],o=Hr(p,t,l,s,void 0,o),l=[0,0,0,0]),c[2]=i)):"tableHead"===h.type?(u=!0,d=i):"tableRow"===h.type||"tableDelimiterRow"===h.type?(d=i,0!==l[1]?(c[0]=c[1],o=Hr(p,t,l,s,i,o)):0!==c[1]&&(o=Hr(p,t,c,s,i,o)),s=0):!s||"data"!==h.type&&"tableDelimiterMarker"!==h.type&&"tableDelimiterFiller"!==h.type||(c[3]=i)}for(0!==d&&Vr(p,t,d,n,r),p.consume(t.events),i=-1;++i<t.events.length;){const e=t.events[i];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=Br(t.events,i))}return e}}}};function Hr(e,t,n,r,o,i){const a=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==n[0]&&(i.end=Object.assign({},Ur(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const s=Ur(t.events,n[1]);if(i={type:a,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",i,t]]),0!==n[2]){const o=Ur(t.events,n[2]),i=Ur(t.events,n[3]),a={type:"tableContent",start:Object.assign({},o),end:Object.assign({},i)};if(e.add(n[2],0,[["enter",a,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]];if(r[1].end=Object.assign({},o[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",a,t]])}return void 0!==o&&(i.end=Object.assign({},Ur(t.events,o)),e.add(o,0,[["exit",i,t]]),i=void 0),i}function Vr(e,t,n,r,o){const i=[],a=Ur(t.events,n);o&&(o.end=Object.assign({},a),i.push(["exit",o,t])),r.end=Object.assign({},a),i.push(["exit",r,t]),e.add(n+1,0,i)}function Ur(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const qr={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return fe(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return pe(r)?t(r):he(r)?e.check({tokenize:Kr},t,n)(r):n(r)}}},Gr={text:{91:qr}};function Kr(e,t,n){return ye(e,function(e){return null===e?n(e):t(e)},"whitespace")}function Xr(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}const Yr={}.hasOwnProperty;function Zr(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Qr(e){return"function"==typeof e?e:()=>e}const Jr="phrasing",eo=["autolink","link","image","label"],to={transforms:[function(e){!function(e,t,n,r){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,n]],o=r):(i=t,o=n),o||(o={});const a=Ut(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let n=-1;for(;++n<e.length;)t.push([Zr(e[n][0]),Qr(e[n][1])])}else{let n;for(n in e)Yr.call(e,n)&&t.push([Zr(n),Qr(e[n])])}return t}(i);let l=-1;for(;++l<s.length;)Xt(e,"text",c);return e;function c(e,t){let n,r=-1;for(;++r<t.length;){const e=t[r];if(a(e,n?n.children.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){const n=t[t.length-1],r=s[l][0],o=s[l][1];let i=0;const a=n.children.indexOf(e);let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,a={index:d.index,input:d.input,stack:[...t,e]};let s=o(...d,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==n&&u.push({type:"text",value:e.value.slice(i,n)}),Array.isArray(s)?u.push(...s):s&&u.push(s),i=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(i<e.value.length&&u.push({type:"text",value:e.value.slice(i)}),n.children.splice(a,1,...u)):u=[e],a+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,oo],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,io]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:ro,literalAutolinkHttp:ro,literalAutolinkWww:ro},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},no={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Jr,notInConstruct:eo},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Jr,notInConstruct:eo},{character:":",before:"[ps]",after:"\\/",inConstruct:Jr,notInConstruct:eo}]};function ro(e){this.config.enter.autolinkProtocol.call(this,e)}function oo(e,t,n,r,o){let i="";if(!ao(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!function(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Xr(e,"(");let i=Xr(e,")");for(;-1!==r&&o>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function io(e,t,n,r){return!(!ao(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ao(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||ge(n)||me(n))&&(!t||47!==n)}function so(e){return e.label||!e.identifier?e.label||"":Nt(e.identifier)}function lo(e,t,n,r){let o=r.join.length;for(;o--;){const i=r.join[o](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const co=/\r?\n|\r/g;function uo(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function po(e,t){return fo(e,t.inConstruct,!0)&&!fo(e,t.notInConstruct,!1)}function fo(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function ho(e,t,n){const r=(n.before||"")+(t||"")+(n.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!po(e.stack,t))continue;const n=uo(t);let i;for(;i=n.exec(r);){const e="before"in t||Boolean(t.atBreak),n="after"in t,r=i.index+(e?i[1].length:0);o.includes(r)?(a[r].before&&!e&&(a[r].before=!1),a[r].after&&!n&&(a[r].after=!1)):(o.push(r),a[r]={before:e,after:n})}}o.sort(mo);let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<l||e>=c||e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(l!==e&&i.push(go(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(i.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):i.push("\\"))}return i.push(go(r.slice(l,c),n.after)),i.join("")}function mo(e,t){return e-t}function go(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],i=e+t;let a,s=-1,l=0;for(;a=n.exec(i);)r.push(a.index);for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s];return o.push(e.slice(l)),o.join("")}function vo(e){const t=e||{},n=t.now||{};let r=t.lineShift||0,o=n.line||1,i=n.column||1;return{move:function(e){const t=e||"",n=t.split(/\r?\n|\r/g),a=n[n.length-1];return o+=n.length-1,i=1===n.length?i+a.length:1+a.length+r,t},current:function(){return{now:{line:o,column:i},lineShift:r}},shift:function(e){r+=e}}}function yo(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function bo(){this.buffer()}function xo(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ue(this.sliceSerialize(e)).toLowerCase()}function Ao(e){this.exit(e)}function wo(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ko(){this.buffer()}function So(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Ue(this.sliceSerialize(e)).toLowerCase()}function Co(e){this.exit(e)}function Eo(e,t,n,r){const o=vo(r);let i=o.move("[^");const a=n.enter("footnoteReference"),s=n.enter("reference");return i+=o.move(ho(n,so(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function Mo(e,t,n,r){const o=vo(r);let i=o.move("[^");const a=n.enter("footnoteDefinition"),s=n.enter("label");return i+=o.move(ho(n,so(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const n=[];let r,o=0,i=0;for(;r=co.exec(e);)a(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,i++;return a(e.slice(o)),n.join("");function a(e){n.push(t(e,i,!e))}}(function(e,t,n){const r=t.indexStack,o=e.children||[],i=t.createTracker(n),a=[];let s=-1;for(r.push(-1);++s<o.length;){const n=o[s];r[r.length-1]=s,a.push(i.move(t.handle(n,e,t,{before:"\n",after:"\n",...i.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&a.push(i.move(lo(n,o[s+1],e,t)))}return r.pop(),a.join("")}(e,n,o.current()),Ro)),a(),i}function Ro(e,t,n){return 0===t?e:(n?"":" ")+e}function Io(e,t,n){const r=t.indexStack,o=e.children||[],i=[];let a=-1,s=n.before;r.push(-1);let l=t.createTracker(n);for(;++a<o.length;){const c=o[a];let u;if(r[r.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),u=n?n(o[a+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else u=n.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(i.join(""))),i.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:u}))),s=i[i.length-1].slice(-1)}return r.pop(),i.join("")}Eo.peek=function(){return"["},Oo.peek=function(){return"~"};const To={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},Po={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Oo}};function Oo(e,t,n,r){const o=vo(r),i=n.enter("strikethrough");let a=o.move("~~");return a+=Io(e,n,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Lo(e,t,n){let r=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i<n.unsafe.length;){const e=n.unsafe[i],t=uo(e);let o;if(e.atBreak)for(;o=t.exec(r);){let e=o.index;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)}}return o+r+o}function _o(e){return e.length}function No(e){return null==e?"":String(e)}function jo(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Lo.peek=function(){return"`"};const Do={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map(e=>"none"===e?null:e),children:[]},e),this.setData("inTable",!0)},tableData:$o,tableHeader:$o,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,zo));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Fo,tableHeader:Fo,tableRow:Fo}};function Fo(e){this.exit(e)}function $o(e){this.enter({type:"tableCell",children:[]},e)}function zo(e,t){return"|"===t?t:e}function Bo(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<r.length;)i[o]=l(r[o],t,n);return a(),i}(e,n,r),e.align)},tableRow:function(e,t,n,r){const o=s([l(e,n,r)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,n){let r=Lo(e,0,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r}}};function a(e,t,n,r){const o=n.enter("tableCell"),a=n.enter("phrasing"),s=Io(e,n,{...r,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t){const n=t||{},r=(n.align||[]).concat(),o=n.stringLength||_o,i=[],a=[],s=[],l=[];let c=0,u=-1;for(;++u<e.length;){const t=[],r=[];let i=-1;for(e[u].length>c&&(c=e[u].length);++i<e[u].length;){const a=No(e[u][i]);if(!1!==n.alignDelimiters){const e=o(a);r[i]=e,(void 0===l[i]||e>l[i])&&(l[i]=e)}t.push(a)}a[u]=t,s[u]=r}let d=-1;if("object"==typeof r&&"length"in r)for(;++d<c;)i[d]=jo(r[d]);else{const e=jo(r);for(;++d<c;)i[d]=e}d=-1;const p=[],f=[];for(;++d<c;){const e=i[d];let t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let o=!1===n.alignDelimiters?1:Math.max(1,l[d]-t.length-r.length);const a=t+"-".repeat(o)+r;!1!==n.alignDelimiters&&(o=t.length+o+r.length,o>l[d]&&(l[d]=o),f[d]=o),p[d]=a}a.splice(1,0,p),s.splice(1,0,f),u=-1;const h=[];for(;++u<a.length;){const e=a[u],t=s[u];d=-1;const r=[];for(;++d<c;){const o=e[d]||"";let a="",s="";if(!1!==n.alignDelimiters){const e=l[d]-(t[d]||0),n=i[d];114===n?a=" ".repeat(e):99===n?e%2?(a=" ".repeat(e/2+.5),s=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),s=a):s=" ".repeat(e)}!1===n.delimiterStart||d||r.push("|"),!1===n.padding||!1===n.alignDelimiters&&""===o||!1===n.delimiterStart&&!d||r.push(" "),!1!==n.alignDelimiters&&r.push(a),r.push(o),!1!==n.alignDelimiters&&r.push(s),!1!==n.padding&&r.push(" "),!1===n.delimiterEnd&&d===c-1||r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}function l(e,t,n){const r=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<r.length;)i[o]=a(r[o],0,t,n);return s(),i}}const Wo={exit:{taskListCheckValueChecked:Vo,taskListCheckValueUnchecked:Vo,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],n=e.children[0];if(n&&"text"===n.type){const r=t.children;let o,i=-1;for(;++i<r.length;){const e=r[i];if("paragraph"===e.type){o=e;break}}o===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}}},Ho={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,n,r){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=vo(r);i&&s.move(a);let l=function(e,t,n,r){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n);let i=n.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=n.createTracker(r);s.move(i+" ".repeat(a-i.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(a))+e:(n?i:i+" ".repeat(a-i.length))+e});return l(),c}(e,t,n,{...r,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),l}}};function Vo(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function Uo(e={}){const t=this.data();function n(e,n){(t[e]?t[e]:t[e]=[]).push(n)}n("micromarkExtensions",function(e){return ne([Cr,{document:{91:{tokenize:jr,continuation:{tokenize:Dr},exit:Fr}},text:{91:{tokenize:Nr},93:{add:"after",tokenize:Lr,resolveTo:_r}}},$r(e),Wr,Gr])}(e)),n("fromMarkdownExtensions",[to,{enter:{gfmFootnoteDefinition:yo,gfmFootnoteDefinitionLabelString:bo,gfmFootnoteCall:wo,gfmFootnoteCallString:ko},exit:{gfmFootnoteDefinition:Ao,gfmFootnoteDefinitionLabelString:xo,gfmFootnoteCall:Co,gfmFootnoteCallString:So}},To,Do,Wo]),n("toMarkdownExtensions",function(e){return{extensions:[no,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Mo,footnoteReference:Eo}},Po,Bo(e),Ho]}}(e))}var qo=n(73638);const Go=(0,a.makeStyles)(e=>({markdown:{"& table":{borderCollapse:"collapse",border:`1px solid ${e.palette.border}`},"& th, & td":{border:`1px solid ${e.palette.border}`,padding:e.spacing(1)},"& td":{wordBreak:"break-word",overflow:"hidden",verticalAlign:"middle",lineHeight:"1",margin:0,padding:e.spacing(3,2,3,2.5),borderBottom:0},"& th":{backgroundColor:e.palette.background.paper},"& tr":{backgroundColor:e.palette.background.paper},"& tr:nth-child(odd)":{backgroundColor:e.palette.background.default},"& a":{color:e.palette.link},"& img":{maxWidth:"100%"}}}),{name:"BackstageMarkdownContent"}),Ko=(e,t)=>t?"string"==typeof t?e+t:y.Children.toArray(t.props.children).reduce(Ko,e):e,Xo=({level:e,children:t})=>{const n=y.Children.toArray(t).reduce(Ko,"").toLocaleLowerCase("en-US").replace(/\W/g,"-");return(0,y.createElement)(`h${e}`,{id:n},t)},Yo={code:({inline:e,className:t,children:n,...r})=>{const o=String(n).replace(/\n+$/,""),a=/language-(\w+)/.exec(t||"");return!e&&a?(0,i.jsx)(qo.z,{language:a[1],text:o}):(0,i.jsx)("code",{className:t,...r,children:n})},h1:Xo,h2:Xo,h3:Xo,h4:Xo,h5:Xo,h6:Xo};function Zo(e){const{content:t,dialect:n="gfm",linkTarget:r,transformLinkUri:o,transformImageUri:a,className:s}=e,l=Go();return(0,i.jsx)(mr,{remarkPlugins:"gfm"===n?[Uo]:[],className:`${l.markdown} ${s??""}`.trim(),children:t,components:Yo,linkTarget:r,transformLinkUri:o,transformImageUri:a})}const Qo=(e,t)=>("light"===t.palette.type?a.darken:a.lighten)(t.palette[e].light,.6),Jo=(e,t)=>("light"===t.palette.type?a.lighten:a.darken)(t.palette[e].light,.9),ei=(0,a.makeStyles)(e=>({root:{marginRight:e.spacing(1),fill:({severity:t})=>Qo(t,e)}})),ti=({severity:e})=>{const t=ei({severity:e});return(0,i.jsx)(g.A,{classes:t})},ni=({severity:e})=>{const t=ei({severity:e});return(0,i.jsx)(v.A,{classes:t})},ri=(0,a.makeStyles)(e=>({panel:{backgroundColor:({severity:t})=>Jo(t,e),color:({severity:t})=>Qo(t,e),verticalAlign:"middle"},summary:{display:"flex",flexDirection:"row"},summaryText:{color:({severity:t})=>Qo(t,e),fontWeight:e.typography.fontWeightBold},markdownContent:{"& p":{display:"inline"}},message:{width:"100%",display:"block",color:({severity:t})=>Qo(t,e),backgroundColor:({severity:t})=>Jo(t,e)},details:{width:"100%",display:"block",color:e.palette.textContrast,backgroundColor:e.palette.background.default,border:`1px solid ${e.palette.border}`,padding:e.spacing(2),fontFamily:"sans-serif"}}),{name:"BackstageWarningPanel"}),oi=e=>e.charAt(0).toLocaleUpperCase("en-US")+e.slice(1);function ii(e){const{severity:t="warning",title:n,titleFormat:r,message:o,children:a,defaultExpanded:s}=e,l=ri({severity:t}),c=oi(t)+(n?`: ${n}`:"");return(0,i.jsxs)(d.A,{defaultExpanded:s??!1,className:l.panel,role:"alert",children:[(0,i.jsxs)(p.A,{expandIcon:(0,i.jsx)(ni,{severity:t}),className:l.summary,children:[(0,i.jsx)(ti,{severity:t}),(0,i.jsx)(m.A,{className:l.summaryText,variant:"subtitle1",children:"markdown"===r?(0,i.jsx)(Zo,{content:c,className:l.markdownContent}):c})]}),(o||a)&&(0,i.jsx)(f.A,{children:(0,i.jsxs)(h.A,{container:!0,children:[o&&(0,i.jsx)(h.A,{item:!0,xs:12,children:(0,i.jsx)(m.A,{className:l.message,variant:"body1",children:o})}),a&&(0,i.jsx)(h.A,{item:!0,xs:12,className:l.details,children:a})]})})]})}const ai=(0,a.makeStyles)(e=>({text:{fontFamily:"monospace",whiteSpace:"pre",overflowX:"auto",marginRight:e.spacing(2)},divider:{margin:e.spacing(2)}}),{name:"BackstageErrorPanel"}),si=({error:e,message:t,stack:n,children:r})=>{const o=ai();return(0,i.jsxs)(s.A,{dense:!0,children:[(0,i.jsxs)(l.A,{alignItems:"flex-start",children:[(0,i.jsx)(c.A,{classes:{secondary:o.text},primary:"Error",secondary:e}),(0,i.jsx)(u.l,{text:e})]}),(0,i.jsxs)(l.A,{alignItems:"flex-start",children:[(0,i.jsx)(c.A,{classes:{secondary:o.text},primary:"Message",secondary:t}),(0,i.jsx)(u.l,{text:t})]}),n&&(0,i.jsxs)(l.A,{alignItems:"flex-start",children:[(0,i.jsx)(c.A,{classes:{secondary:o.text},primary:"Stack Trace",secondary:n}),(0,i.jsx)(u.l,{text:n})]}),r]})};function li(e){const{title:t,error:n,defaultExpanded:r,titleFormat:o,children:a}=e;return(0,i.jsx)(ii,{severity:"error",title:t??n.message,defaultExpanded:r,titleFormat:o,children:(0,i.jsx)(si,{error:n.name,message:n.message,stack:n.stack,children:a})})}},39970:(e,t,n)=>{"use strict";n.d(t,{N_:()=>R});var r=n(31085),o=n(9490),i=n(89575),a=n(39850),s=n(95478),l=n(36274),c=n(11192),u=n(7031),d=n(29409),p=n(19878),f=n(72501),h=s.forwardRef(function(e,t){var n=e.classes,r=e.className,o=e.color,u=void 0===o?"primary":o,h=e.component,m=void 0===h?"a":h,g=e.onBlur,v=e.onFocus,y=e.TypographyClasses,b=e.underline,x=void 0===b?"hover":b,A=e.variant,w=void 0===A?"inherit":A,k=(0,a.A)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),S=(0,d.A)(),C=S.isFocusVisible,E=S.onBlurVisible,M=S.ref,R=s.useState(!1),I=R[0],T=R[1],P=(0,p.A)(t,M);return s.createElement(f.A,(0,i.A)({className:(0,l.A)(n.root,n["underline".concat((0,c.A)(x))],r,I&&n.focusVisible,"button"===m&&n.button),classes:y,color:u,component:m,onBlur:function(e){I&&(E(),T(!1)),g&&g(e)},onFocus:function(e){C(e)&&T(!0),v&&v(e)},ref:P,variant:w},k))});const m=(0,u.A)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(h);var g=n(37976),v=n(53373),y=n.n(v),b=n(45250),x=n(42469),A=n(39330);const w=(0,g.makeStyles)(e=>({visuallyHidden:{clip:"rect(0 0 0 0)",clipPath:"inset(50%)",overflow:"hidden",position:"absolute",userSelect:"none",whiteSpace:"nowrap",height:1,width:1},externalLink:{position:"relative"},externalLinkIcon:{verticalAlign:"bottom",marginLeft:e.spacing(.5)}}),{name:"Link"}),k=()=>{const e=(0,o.useApp)().getSystemIcon("externalLink")||A.A,t=w();return(0,r.jsx)(e,{className:t.externalLinkIcon})},S=e=>/^([a-z+.-]+):/.test(e),C=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,E=window.open;if(E&&!E.__backstage){const e=function(...e){const t=String(e[0]);if(C.test(t))throw new Error("Rejected window.open() with a javascript: URL as a security precaution");return E.apply(this,e)};e.__backstage=!0,window.open=e}const M=e=>e instanceof Array?e.map(M).join(" ").trim():"object"==typeof e&&e?M(e?.props?.children):["string","number"].includes(typeof e)?String(e):"",R=(0,s.forwardRef)(({onClick:e,noTrack:t,externalLinkIcon:n,...i},a)=>{const s=w(),l=(0,o.useAnalytics)(),c=function(){const[e]=(0,x.createRoutesFromChildren)((0,r.jsx)(x.Route,{index:!0,element:(0,r.jsx)("div",{})}));return!e.index}()?(e=>{let t=String(e);const n=(()=>{const e=(()=>{try{return(0,o.useApi)(o.configApiRef).getOptionalString("app.baseUrl")}catch{return}})()??"/",{pathname:t}=new URL(e,"http://sample.dev");return(0,b.trimEnd)(t,"/")})(),r=S(t),i=t.startsWith(n);return r||i||(t=n.concat(t)),t})(i.to):i.to,u=M(i.children)||c,d=S(c),p=d&&!!/^https?:/.exec(c);if(C.test(c))throw new Error("Link component rejected javascript: URL as a security precaution");const h=n=>{e?.(n),t||l.captureEvent("click",u,{attributes:{to:c}})};return d?(0,r.jsxs)(m,{...p?{target:"_blank",rel:"noopener"}:{},...i,...i["aria-label"]?{"aria-label":`${i["aria-label"]}, Opens in a new window`}:{},ref:a,href:c,onClick:h,className:y()(s.externalLink,i.className),children:[i.children,n&&(0,r.jsx)(k,{}),(0,r.jsx)(f.A,{component:"span",className:s.visuallyHidden,children:", Opens in a new window"})]}):(0,r.jsx)(m,{...i,ref:a,component:x.Link,to:c,onClick:h})})},87318:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var r=n(31085),o=n(64947),i=n(95478),a=n(39970);const s=(0,i.forwardRef)((e,t)=>(0,r.jsx)(a.N_,{ref:t,...e,color:"initial"})),l=(0,i.forwardRef)((e,t)=>(0,r.jsx)(o.A,{ref:t,component:s,...e}))},16454:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var r=n(31085),o=n(37976),i=n(53373),a=n.n(i);const s=(0,o.makeStyles)(e=>({root:{gridArea:"pageContent",minWidth:0,paddingTop:e.spacing(3),paddingBottom:e.spacing(3),paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},stretch:{display:"flex",flexDirection:"column",flexGrow:1},noPadding:{padding:0}}),{name:"BackstageContent"});function l(e){const{className:t,stretch:n,noPadding:o,children:i,...l}=e,c=s();return(0,r.jsx)("article",{...l,className:a()(c.root,t,{[c.stretch]:n,[c.noPadding]:o}),children:i})}},66670:(e,t,n)=>{"use strict";n.d(t,{t:()=>d});var r=n(31085),o=n(72501),i=n(95478),a=n(87318),s=n(18047),l=n(89475),c=n(10265);const u=e=>{const{slackChannel:t}=e,{t:n}=(0,c.i)(l.O);return t?"string"==typeof t?(0,r.jsx)(o.A,{children:n("errorBoundary.title",{slackChannel:t})}):t.href?(0,r.jsx)(a.z,{to:t.href,variant:"contained",children:t.name}):(0,r.jsx)(o.A,{children:n("errorBoundary.title",{slackChannel:t.name})}):null},d=class extends i.Component{constructor(e){super(e),this.state={error:void 0,errorInfo:void 0}}componentDidCatch(e,t){console.error(`ErrorBoundary, error: ${e}`,{error:e,errorInfo:t}),this.setState({error:e,errorInfo:t})}render(){const{slackChannel:e,children:t}=this.props,{error:n}=this.state;return n?(0,r.jsx)(s.b,{title:"Something Went Wrong",error:n,children:(0,r.jsx)(u,{slackChannel:e})}):t}}},50813:(e,t,n)=>{"use strict";n.d(t,{n:()=>P});var r=n(31085),o=n(89575),i=n(39850),a=n(95478),s=n(36274),l=n(4321),c=n(7031),u=a.forwardRef(function(e,t){var n=e.classes,r=e.className,c=e.raised,u=void 0!==c&&c,d=(0,i.A)(e,["classes","className","raised"]);return a.createElement(l.A,(0,o.A)({className:(0,s.A)(n.root,r),elevation:u?8:1,ref:t},d))});const d=(0,c.A)({root:{overflow:"hidden"}},{name:"MuiCard"})(u);var p=a.forwardRef(function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,l=e.classes,c=e.className,u=(0,i.A)(e,["disableSpacing","classes","className"]);return a.createElement("div",(0,o.A)({className:(0,s.A)(l.root,c,!r&&l.spacing),ref:t},u))});const f=(0,c.A)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(p);var h=a.forwardRef(function(e,t){var n=e.classes,r=e.className,l=e.component,c=void 0===l?"div":l,u=(0,i.A)(e,["classes","className","component"]);return a.createElement(c,(0,o.A)({className:(0,s.A)(n.root,r),ref:t},u))});const m=(0,c.A)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(h);var g=n(45685),v=n(37197),y=n(37976),b=n(53373),x=n.n(b),A=n(10394),w=n(72501),k=n(52235),S=n(39970);const C=(0,y.makeStyles)(e=>({root:{maxWidth:"fit-content",padding:e.spacing(2,2,2,2.5)},boxTitle:{margin:0,color:e.palette.textSubtle},arrow:{color:e.palette.textSubtle}}),{name:"BackstageBottomLink"});function E(e){const{link:t,title:n,onClick:o}=e,i=C();return(0,r.jsxs)(A.A,{children:[(0,r.jsx)(v.A,{}),(0,r.jsx)(S.N_,{to:t,onClick:o,underline:"none",children:(0,r.jsxs)(A.A,{display:"flex",alignItems:"center",className:i.root,children:[(0,r.jsx)(A.A,{className:i.boxTitle,fontWeight:"fontWeightBold",m:1,children:(0,r.jsx)(w.A,{children:(0,r.jsx)("strong",{children:n})})}),(0,r.jsx)(k.A,{className:i.arrow})]})})]})}var M=n(66670);const R=(0,y.makeStyles)(e=>({noPadding:{padding:0,"&:last-child":{paddingBottom:0}},contentAlignBottom:{display:"flex",alignItems:"self-end"},header:{padding:e.spacing(2,2,2,2.5)},headerTitle:{fontWeight:e.typography.fontWeightBold},headerSubheader:{paddingTop:e.spacing(1)},headerAvatar:{},headerAction:{},headerContent:{},subheader:{display:"flex"}}),{name:"BackstageInfoCard"}),I=(0,y.withStyles)(e=>({root:{display:"inline-block",padding:e.spacing(8,8,0,0),float:"right"}}),{name:"BackstageInfoCardCardActionsTopRight"})(f),T={card:{flex:{display:"flex",flexDirection:"column"},fullHeight:{display:"flex",flexDirection:"column",height:"100%"},gridItem:{display:"flex",flexDirection:"column",height:"calc(100% - 10px)",marginBottom:"10px",breakInside:"avoid-page","@media print":{height:"auto"}}},cardContent:{fullHeight:{flex:1},gridItem:{flex:1}}};function P(e){const{title:t,subheader:n,divider:o=!0,deepLink:i,slackChannel:a,errorBoundaryProps:s,variant:l,alignContent:c="normal",children:u,headerStyle:p,headerProps:h,icon:y,action:b,actionsClassName:A,actions:w,cardClassName:k,actionsTopRight:S,className:C,noPadding:P,titleTypographyProps:O,subheaderTypographyProps:L}=e,_=R();let N={},j={};l&&l.split(/[\s]+/g).forEach(e=>{N={...N,...T.card[e]},j={...j,...T.cardContent[e]}});const D=s||(a?{slackChannel:a}:{});return(0,r.jsx)(d,{style:N,className:C,children:(0,r.jsxs)(M.t,{...D,children:[t&&(0,r.jsx)(g.A,{classes:{root:x()(_.header),title:_.headerTitle,subheader:_.headerSubheader,avatar:_.headerAvatar,action:_.headerAction,content:_.headerContent},title:t,subheader:n||y?(0,r.jsxs)("div",{"data-testid":"info-card-subheader",children:[n&&(0,r.jsx)("div",{className:_.subheader,children:n}),y]}):null,action:b,style:{...p},titleTypographyProps:O,subheaderTypographyProps:L,...h}),S&&(0,r.jsx)(I,{children:S}),o&&(0,r.jsx)(v.A,{}),(0,r.jsx)(m,{className:x()(k,{[_.noPadding]:P,[_.contentAlignBottom]:"bottom"===c}),style:j,children:u}),w&&(0,r.jsx)(f,{className:A,children:w}),i&&(0,r.jsx)(E,{...i})]})})}},82326:(e,t,n)=>{"use strict";n.d(t,{Y:()=>l});var r=n(31085),o=n(37976),i=n(53373),a=n.n(i);const s=(0,o.makeStyles)(e=>({root:{display:"grid",gridTemplateAreas:"'pageHeader pageHeader pageHeader' 'pageSubheader pageSubheader pageSubheader' 'pageNav pageContent pageSidebar'",gridTemplateRows:"max-content auto 1fr",gridTemplateColumns:"auto 1fr auto",overflowY:"auto",height:"100vh",[e.breakpoints.down("xs")]:{height:"100%"},"@media print":{display:"block",height:"auto",overflowY:"inherit"}}}),{name:"BackstagePage"});function l(e){const{themeId:t,className:n,children:i}=e,l=s();return(0,r.jsx)(o.ThemeProvider,{theme:e=>({...e,page:e.getPageTheme({themeId:t})}),children:(0,r.jsx)("main",{className:a()(l.root,n),children:i})})}},89475:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});const r=(0,n(19914).h)({id:"core-components",messages:{signIn:{title:"Sign In",loginFailed:"Login failed",customProvider:{title:"Custom User",subtitle:"Enter your own User ID and credentials.\n This selection will not be stored.",userId:"User ID",tokenInvalid:"Token is not a valid OpenID Connect JWT Token",continue:"Continue",idToken:"ID Token (optional)"},guestProvider:{title:"Guest",subtitle:"Enter as a Guest User.\n You will not have a verified identity, meaning some features might be unavailable.",enter:"Enter"}},skipToContent:"Skip to content",copyTextButton:{tooltipText:"Text copied to clipboard"},simpleStepper:{reset:"Reset",finish:"Finish",next:"Next",skip:"Skip",back:"Back"},errorPage:{subtitle:"ERROR {{status}}: {{statusMessage}}",title:"Looks like someone dropped the mic!",goBack:"Go back",showMoreDetails:"Show more details",showLessDetails:"Show less details"},emptyState:{missingAnnotation:{title:"Missing Annotation",actionTitle:"Add the annotation to your component YAML as shown in the highlighted example below:",readMore:"Read more"}},supportConfig:{default:{title:"Support Not Configured",linkTitle:"Add `app.support` config key"}},errorBoundary:{title:"Please contact {{slackChannel}} for help."},oauthRequestDialog:{title:"Login Required",authRedirectTitle:"This will trigger a http redirect to OAuth Login.",login:"Log in",rejectAll:"Reject All",message:"Sign-in to allow {{appTitle}} access to {{provider}} APIs and identities."},supportButton:{title:"Support",close:"Close"},table:{filter:{title:"Filters",clearAll:"Clear all",placeholder:"All results"},body:{emptyDataSourceMessage:"No records to display"},pagination:{firstTooltip:"First Page",labelDisplayedRows:"{from}-{to} of {count}",labelRowsSelect:"rows",lastTooltip:"Last Page",nextTooltip:"Next Page",previousTooltip:"Previous Page"},toolbar:{search:"Filter"},header:{actions:"Actions"}},alertDisplay:{message_one:"({{ count }} newer message)",message_other:"({{ count }} newer messages)"},autoLogout:{stillTherePrompt:{title:"Logging out due to inactivity",buttonText:"Yes! Don't log me out"}},dependencyGraph:{fullscreenTooltip:"Toggle fullscreen"},proxiedSignInPage:{title:"You do not appear to be signed in. Please try reloading the browser page."}}})},19914:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(68045);class o{#e;#t;#n;constructor(e){this.#e=e.id,this.#t=function(e){const t=new Array;return function e(n,r){for(const[o,i]of Object.entries(n))"string"==typeof i?t.push([r+o,i]):e(i,`${r}${o}.`)}(e,""),Object.fromEntries(t)}(e.messages)}$$type="@backstage/TranslationRef";version="v1";get id(){return this.#e}get T(){throw new Error("Not implemented")}getDefaultMessages(){return this.#t}setDefaultResource(e){this.#n=e}getDefaultResource(){return this.#n}toString(){return`TranslationRef{id=${this.id}}`}}function i(e){const t=new o(e);return e.translations&&t.setDefaultResource((0,r.o)({ref:t,translations:e.translations})),t}},68045:(e,t,n)=>{"use strict";function r(e){return{$$type:"@backstage/TranslationResource",version:"v1",id:e.ref.id,resources:Object.entries(e.translations).map(([e,t])=>({language:e,loader:()=>t().then(e=>{const t=e.default;return{messages:"@backstage/TranslationMessages"===t?.$$type?t.messages:t}})}))}}n.d(t,{o:()=>r})},10265:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(95478),o=n(18139),i=n(24453),a=n(87350);const s=new WeakSet,l=e=>{const t=(0,o.gf)(i.m),n=(0,o.gf)(a.J),[l,c]=(0,r.useState)(()=>n.getTranslation(e)),u=(0,r.useMemo)(()=>n.translation$(e),[n,e]),d=(0,r.useCallback)(n=>{if(!s.has(e)){const r=`Failed to load translation resource '${e.id}'; caused by ${n}`;console.error(r),t.post(new Error(r)),s.add(e)}},[t,e]);(0,r.useEffect)(()=>{const e=u.subscribe({next(e){e.ready&&c(e)},error(e){d(e)}});return()=>{e.unsubscribe()}},[u,d]);const p=(0,r.useRef)(!0);if((0,r.useEffect)(()=>{p.current?p.current=!1:c(n.getTranslation(e))},[n,e]),!l.ready)throw new Promise(e=>{const t=u.subscribe({next(n){n.ready&&(t.unsubscribe(),e())},error(n){t.unsubscribe(),d(n),e()}})});return{t:l.t}}},30043:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});const r=(0,n(9490).createApiRef)({id:"plugin.catalog.service"})},27576:(e,t,n)=>{"use strict";n.d(t,{b:()=>d});var r=n(31085),o=n(98254),i=n(64947),a=n(31647),s=n(93453),l=n(46805),c=n(61477),u=n(81628);const d=e=>{const{open:t,close:n,componentName:d,children:p}=e,{t:f}=(0,o.useTranslationRef)(u.L);return(0,r.jsxs)(a.A,{open:t,onClose:()=>n(),children:[(0,r.jsx)(c.A,{children:d?`${f("settingsModal.title")} - ${d}`:f("settingsModal.title")}),(0,r.jsx)(l.A,{children:p}),(0,r.jsx)(s.A,{children:(0,r.jsx)(i.A,{onClick:()=>n(),color:"primary",variant:"contained",children:f("settingsModal.closeButtonTitle")})})]})}},81628:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(98254).createTranslationRef)({id:"home-react",messages:{settingsModal:{title:"Settings",closeButtonTitle:"Close"},cardExtension:{settingsButtonTitle:"Settings"}}})},6505:(e,t,n)=>{"use strict";n.d(t,{bv:()=>x,vA:()=>b,zJ:()=>y});var r=n(9490),o=n(31085),i=n(95478),a=n(29365),s=n(9684),l=n(50813),c=n(27576),u=n(98254),d=n(81628);function p(e){const{title:t,components:n,name:i,description:a,layout:s,settings:l}=e,c=void 0!==l?.schema;return(0,r.createReactExtension)({name:i,data:{title:t,description:a,"home.widget.config":{layout:s,settings:l}},component:{lazy:()=>n().then(e=>n=>(0,o.jsx)(f,{...n,...e,title:n.title||t,isCustomizable:c}))}})}function f(e){const{Renderer:t,Content:n,Settings:p,Actions:f,ContextProvider:h,isCustomizable:m,title:g,...v}=e,y=(0,r.useApp)(),{Progress:b}=y.getComponents(),[x,A]=(0,i.useState)(!1),{t:w}=(0,u.useTranslationRef)(d.L);if(t)return(0,o.jsx)(i.Suspense,{fallback:(0,o.jsx)(b,{}),children:(0,o.jsx)(t,{...g&&{title:g},...{Content:n,...f?{Actions:f}:{},...p&&!m?{Settings:p}:{},...h?{ContextProvider:h}:{},...v}})});const k={divider:!!g,...g&&{title:g},...p&&!m?{action:(0,o.jsx)(a.A,{onClick:()=>A(!0),children:(0,o.jsx)(s.A,{children:w("cardExtension.settingsButtonTitle")})})}:{},...f?{actions:(0,o.jsx)(f,{})}:{}},S=(0,o.jsxs)(l.n,{...k,children:[p&&!m&&(0,o.jsx)(c.b,{open:x,componentName:g,close:()=>A(!1),children:(0,o.jsx)(p,{})}),(0,o.jsx)(n,{...v})]});return(0,o.jsx)(i.Suspense,{fallback:(0,o.jsx)(b,{}),children:h?(0,o.jsx)(h,{...v,children:S}):S})}const h=(0,r.createRouteRef)({id:"home"});var m=n(9353),g=(n(28890),n(98590));const v=(0,r.createPlugin)({id:"home",apis:[(0,r.createApiFactory)({api:g.y,deps:{storageApi:r.storageApiRef,identityApi:r.identityApiRef},factory:({storageApi:e,identityApi:t})=>m.s.create({storageApi:e,identityApi:t})})],routes:{root:h}}),y=(v.provide((0,r.createRoutableExtension)({name:"HomepageCompositionRoot",component:()=>Promise.all([n.e(6123),n.e(3215),n.e(7424),n.e(5199),n.e(237),n.e(4243)]).then(n.bind(n,50237)).then(e=>e.HomepageCompositionRoot),mountPoint:h})),v.provide((0,r.createComponentExtension)({name:"ComponentAccordion",component:{lazy:()=>Promise.all([n.e(3957),n.e(8067)]).then(n.bind(n,98067)).then(e=>e.ComponentAccordion)}})),v.provide((0,r.createComponentExtension)({name:"ComponentTabs",component:{lazy:()=>Promise.all([n.e(3957),n.e(8067)]).then(n.bind(n,98067)).then(e=>e.ComponentTabs)}})),v.provide((0,r.createComponentExtension)({name:"ComponentTab",component:{lazy:()=>Promise.all([n.e(3957),n.e(8067)]).then(n.bind(n,98067)).then(e=>e.ComponentTab)}})),v.provide((0,r.createComponentExtension)({name:"WelcomeTitle",component:{lazy:()=>n.e(4197).then(n.bind(n,64197)).then(e=>e.WelcomeTitle)}})),v.provide((0,r.createComponentExtension)({name:"CompanyLogo",component:{lazy:()=>n.e(3822).then(n.bind(n,31441)).then(e=>e.CompanyLogo)}})),v.provide(p({name:"HomePageRandomJoke",title:"Random Joke",components:()=>Promise.all([n.e(5199),n.e(41)]).then(n.bind(n,20041)),description:"Shows a random joke about optional category",layout:{height:{minRows:4},width:{minColumns:3}},settings:{schema:{title:"Random Joke settings",type:"object",properties:{defaultCategory:{title:"Category",type:"string",enum:["any","programming","dad"],default:"any"}}}}})),v.provide(p({name:"HomePageToolkit",title:"Toolkit",components:()=>n.e(2203).then(n.bind(n,92203))}))),b=v.provide(p({name:"HomePageStarredEntities",title:"Your Starred Entities",components:()=>Promise.all([n.e(6123),n.e(3957),n.e(5888),n.e(9633)]).then(n.bind(n,39633))})),x=(v.provide((0,r.createComponentExtension)({name:"HeaderWorldClock",component:{lazy:()=>n.e(734).then(n.bind(n,60734)).then(e=>e.HeaderWorldClock)}})),v.provide(p({name:"HomePageTopVisited",title:"Top Visited",components:()=>Promise.all([n.e(6123),n.e(5888),n.e(6356),n.e(2195)]).then(n.bind(n,2195))})),v.provide(p({name:"HomePageRecentlyVisited",title:"Recently Visited",components:()=>Promise.all([n.e(6123),n.e(5888),n.e(6356),n.e(8354)]).then(n.bind(n,48354))})));v.provide(p({name:"FeaturedDocsCard",title:"Featured Docs",components:()=>Promise.all([n.e(6123),n.e(5888),n.e(5255)]).then(n.bind(n,17135))})),v.provide(p({name:"QuickStartCard",title:"Quick Start",components:()=>n.e(6700).then(n.bind(n,16700))}))},87094:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(9490);const o=(0,r.createApiRef)({id:"plugin.notifications.service"});var i=n(85608),a=n(95478),s=n(35015);const l=function(e,t){void 0===t&&(t=[]);var n=(0,a.useState)(0),r=n[0],o=n[1],l=(0,s.A)(e,(0,i.aN)(t,[r])),c=l.loading,u=(0,a.useCallback)(function(){c||o(function(e){return e+1})},(0,i.aN)(t,[c]));return(0,i.Cl)((0,i.Cl)({},l),{retry:u})};function c(e,t=[]){const n=(0,r.useApi)(o);return l(async()=>await e(n),t)}},20570:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});const r=(0,n(9490).createApiRef)({id:"plugin.search.queryservice"})},62958:(e,t,n)=>{"use strict";n.d(t,{z1:()=>u});var r=n(31085),o=n(35015),i=(n(45250),n(9490)),a=n(20570),s=n(69385);n(98254);const l=e=>{const{children:t}=e,n=(0,s.SQ)(),{result:r,...o}=n;return t(r,o)},c=e=>{const{query:t,children:n}=e,r=(0,i.useApi)(a.y);return n((0,o.A)(()=>{const{term:e="",types:n=[],filters:o={},...i}=t;return r.query({...i,term:e,types:n,filters:o})},[t]),t)},u=e=>{const{query:t,children:n}=e;return t?(0,r.jsx)(c,{query:t,children:n}):(0,r.jsx)(l,{children:n})}},69385:(e,t,n)=>{"use strict";n.d(t,{Lt:()=>m,SQ:()=>p});var r=n(31085),o=n(45250),i=n(95478),a=n(35015);function s(e){var t=(0,i.useRef)();return(0,i.useEffect)(function(){t.current=e}),t.current}var l=n(64218),c=n(9490),u=n(20570);const d=(0,l.createVersionedContext)("search-context"),p=()=>{const e=(0,i.useContext)(d);if(!e)throw new Error("useSearch must be used within a SearchContextProvider");const t=e.atVersion(1);if(!t)throw new Error("No SearchContext v1 found");return t},f={term:"",types:[],filters:{},pageLimit:void 0,pageCursor:void 0},h=e=>{const{initialState:t,children:n}=e,p=((e=f)=>{const t=(0,c.useApi)(u.y),n=(0,c.useAnalytics)(),[r,l]=(0,i.useState)(e.term),[d,p]=(0,i.useState)(e.types),[h,m]=(0,i.useState)(e.filters),[g,v]=(0,i.useState)(e.pageLimit),[y,b]=(0,i.useState)(e.pageCursor),x=s(r),A=s(h),w=(0,a.A)(async()=>{const e=await t.query({term:r,types:d,filters:h,pageLimit:g,pageCursor:y});return r&&n.captureEvent("search",r,{value:e.numberOfResults}),e},[r,d,h,g,y]),k=!w.loading&&!w.error&&w.value?.nextPageCursor,S=!w.loading&&!w.error&&w.value?.previousPageCursor,C=(0,i.useCallback)(()=>{b(w.value?.nextPageCursor)},[w.value?.nextPageCursor]),E=(0,i.useCallback)(()=>{b(w.value?.previousPageCursor)},[w.value?.previousPageCursor]);return(0,i.useEffect)(()=>{void 0!==x&&r!==x&&b(void 0)},[r,x,b]),(0,i.useEffect)(()=>{void 0===A||(0,o.isEqual)(h,A)||b(void 0)},[h,A,b]),{result:w,term:r,setTerm:l,types:d,setTypes:p,filters:h,setFilters:m,pageLimit:g,setPageLimit:v,pageCursor:y,setPageCursor:b,fetchNextPage:k?C:void 0,fetchPreviousPage:S?E:void 0}})(t);return(0,r.jsx)(c.AnalyticsContext,{attributes:{searchTypes:p.types.sort().join(",")},children:(0,r.jsx)(d.Provider,{value:(0,l.createVersionedValueMap)({1:p}),children:n})})},m=e=>{const{initialState:t,inheritParentContextIfAvailable:n,children:o}=e,a=void 0!==(0,i.useContext)(d),s=(0,c.useApi)(c.configApiRef),l=t??{},u=s.has("search.query.pageLimit")?{pageLimit:s.getNumber("search.query.pageLimit")}:{},p={...f,...l,...u};return a&&n?(0,r.jsx)(r.Fragment,{children:o}):(0,r.jsx)(h,{initialState:p,children:o})}},16294:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(9490);const o=(0,r.createApiRef)({id:"plugin.signal.service"});var i=n(95478);const a=e=>{const t=(0,r.useApiHolder)().get(o),[n,a]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let n=null;if(t){const{unsubscribe:r}=t.subscribe(e,e=>{a(e)});n=r}return()=>{t&&n&&n()}},[t,e]),{lastSignal:n,isSignalsAvailable:(0,i.useMemo)(()=>!!t,[t])}}},36521:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(9490),o=n(95478),i=n(35015),a=n(30043);const s=()=>{const e=(0,r.useApi)(r.identityApiRef),t=(0,r.useApi)(r.alertApiRef),n=(0,r.useApi)(a.v),{value:s,loading:l,error:c}=(0,i.A)(async()=>{let t=await e.getProfileInfo();const r=await e.getBackstageIdentity(),o=await n.getEntityByRef(r.userEntityRef);return void 0===t.picture&&o?.spec?.profile?.picture&&(t={...t,picture:o.spec.profile.picture}),{profile:t,identity:r}},[]);return(0,o.useEffect)(()=>{c&&t.post({message:`Failed to load user identity: ${c}`,severity:"error"})},[c,t]),l||c?{profile:{},displayName:"",loading:l}:{profile:s.profile,backstageIdentity:s.identity,displayName:s.profile.displayName??s.identity.userEntityRef,loading:l}}},8973:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(89575),o=n(37756),i=n(90689),a=n(39850),s=n(95478),l=(n(524),n(36274)),c=n(69621),u=n(4321),d=n(7031),p=n(15494),f=n(45065),h=s.forwardRef(function(e,t){var n=e.children,d=e.classes,h=e.className,m=e.defaultExpanded,g=void 0!==m&&m,v=e.disabled,y=void 0!==v&&v,b=e.expanded,x=e.onChange,A=e.square,w=void 0!==A&&A,k=e.TransitionComponent,S=void 0===k?c.A:k,C=e.TransitionProps,E=(0,a.A)(e,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),M=(0,f.A)({controlled:b,default:g,name:"Accordion",state:"expanded"}),R=(0,i.A)(M,2),I=R[0],T=R[1],P=s.useCallback(function(e){T(!I),x&&x(e,!I)},[I,x,T]),O=s.Children.toArray(n),L=(0,o.A)(O),_=L[0],N=L.slice(1),j=s.useMemo(function(){return{expanded:I,disabled:y,toggle:P}},[I,y,P]);return s.createElement(u.A,(0,r.A)({className:(0,l.A)(d.root,h,I&&d.expanded,y&&d.disabled,!w&&d.rounded),ref:t,square:w},E),s.createElement(p.A.Provider,{value:j},_),s.createElement(S,(0,r.A)({in:I,timeout:"auto"},C),s.createElement("div",{"aria-labelledby":_.props.id,id:_.props["aria-controls"],role:"region"},N)))});const m=(0,d.A)(function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}},{name:"MuiAccordion"})(h)},15494:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(95478).createContext({})},91567:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=i.forwardRef(function(e,t){var n=e.classes,s=e.className,l=(0,o.A)(e,["classes","className"]);return i.createElement("div",(0,r.A)({className:(0,a.A)(n.root,s),ref:t},l))});const c=(0,s.A)(function(e){return{root:{display:"flex",padding:e.spacing(1,2,2)}}},{name:"MuiAccordionDetails"})(l)},29655:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(97740),l=n(29365),c=n(7031),u=n(15494),d=i.forwardRef(function(e,t){var n=e.children,c=e.classes,d=e.className,p=e.expandIcon,f=e.focusVisibleClassName,h=e.IconButtonProps,m=void 0===h?{}:h,g=e.onClick,v=(0,o.A)(e,["children","classes","className","expandIcon","focusVisibleClassName","IconButtonProps","onClick"]),y=i.useContext(u.A),b=y.disabled,x=void 0!==b&&b,A=y.expanded,w=y.toggle;return i.createElement(s.A,(0,r.A)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":A,className:(0,a.A)(c.root,d,x&&c.disabled,A&&c.expanded),focusVisibleClassName:(0,a.A)(c.focusVisible,c.focused,f),onClick:function(e){w&&w(e),g&&g(e)},ref:t},v),i.createElement("div",{className:(0,a.A)(c.content,A&&c.expanded)},n),p&&i.createElement(l.A,(0,r.A)({className:(0,a.A)(c.expandIcon,A&&c.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},m),p))});const p=(0,c.A)(function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:e.spacing(0,2),"&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused, &$focusVisible":{backgroundColor:e.palette.action.focus},"&$disabled":{opacity:e.palette.action.disabledOpacity}},expanded:{},focused:{},focusVisible:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}},{name:"MuiAccordionSummary"})(d)},10394:(e,t,n)=>{"use strict";n.d(t,{A:()=>L});var r=n(83705),o=n(89575),i=n(92076);function a(e,t){var n={};return Object.keys(e).forEach(function(r){-1===t.indexOf(r)&&(n[r]=e[r])}),n}const s=function(e){var t=function(t){var n=e(t);return t.css?(0,o.A)({},(0,i.A)(n,e((0,o.A)({theme:t.theme},t.css))),a(t.css,[e.filterProps])):t.sx?(0,o.A)({},(0,i.A)(n,e((0,o.A)({theme:t.theme},t.sx))),a(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat((0,r.A)(e.filterProps)),t},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce(function(t,n){var r=n(e);return r?(0,i.A)(t,r):t},{})};return r.propTypes={},r.filterProps=t.reduce(function(e,t){return e.concat(t.filterProps)},[]),r};var c=n(24586),u=n(59292);function d(e,t){return t&&"string"==typeof t?t.split(".").reduce(function(e,t){return e&&e[t]?e[t]:null},e):null}const p=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=d(e.theme,o)||{};return(0,u.N)(e,n,function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=d(a,e)||e,i&&(t=i(t))),!1===r?t:(0,c.A)({},r,t)})};return a.propTypes={},a.filterProps=[t],a};function f(e){return"number"!=typeof e?e:"".concat(e,"px solid")}const h=l(p({prop:"border",themeKey:"borders",transform:f}),p({prop:"borderTop",themeKey:"borders",transform:f}),p({prop:"borderRight",themeKey:"borders",transform:f}),p({prop:"borderBottom",themeKey:"borders",transform:f}),p({prop:"borderLeft",themeKey:"borders",transform:f}),p({prop:"borderColor",themeKey:"palette"}),p({prop:"borderRadius",themeKey:"shape"})),m=l(p({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),p({prop:"display"}),p({prop:"overflow"}),p({prop:"textOverflow"}),p({prop:"visibility"}),p({prop:"whiteSpace"})),g=l(p({prop:"flexBasis"}),p({prop:"flexDirection"}),p({prop:"flexWrap"}),p({prop:"justifyContent"}),p({prop:"alignItems"}),p({prop:"alignContent"}),p({prop:"order"}),p({prop:"flex"}),p({prop:"flexGrow"}),p({prop:"flexShrink"}),p({prop:"alignSelf"}),p({prop:"justifyItems"}),p({prop:"justifySelf"})),v=l(p({prop:"gridGap"}),p({prop:"gridColumnGap"}),p({prop:"gridRowGap"}),p({prop:"gridColumn"}),p({prop:"gridRow"}),p({prop:"gridAutoFlow"}),p({prop:"gridAutoColumns"}),p({prop:"gridAutoRows"}),p({prop:"gridTemplateColumns"}),p({prop:"gridTemplateRows"}),p({prop:"gridTemplateAreas"}),p({prop:"gridArea"})),y=l(p({prop:"position"}),p({prop:"zIndex",themeKey:"zIndex"}),p({prop:"top"}),p({prop:"right"}),p({prop:"bottom"}),p({prop:"left"})),b=l(p({prop:"color",themeKey:"palette"}),p({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),x=p({prop:"boxShadow",themeKey:"shadows"});function A(e){return e<=1?"".concat(100*e,"%"):e}var w=p({prop:"width",transform:A}),k=p({prop:"maxWidth",transform:A}),S=p({prop:"minWidth",transform:A}),C=p({prop:"height",transform:A}),E=p({prop:"maxHeight",transform:A}),M=p({prop:"minHeight",transform:A});p({prop:"size",cssProperty:"width",transform:A}),p({prop:"size",cssProperty:"height",transform:A});const R=l(w,k,S,C,E,M,p({prop:"boxSizing"}));var I=n(38184);const T=l(p({prop:"fontFamily",themeKey:"typography"}),p({prop:"fontSize",themeKey:"typography"}),p({prop:"fontStyle",themeKey:"typography"}),p({prop:"fontWeight",themeKey:"typography"}),p({prop:"letterSpacing"}),p({prop:"lineHeight"}),p({prop:"textAlign"}));var P=n(60882),O=s(l(h,m,g,v,y,b,x,R,I.A,T));const L=(0,P.A)("div")(O,{name:"MuiBox"})},64947:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(39850),o=n(89575),i=n(95478),a=n(36274),s=n(7031),l=n(268),c=n(97740),u=n(11192),d=i.forwardRef(function(e,t){var n=e.children,s=e.classes,l=e.className,d=e.color,p=void 0===d?"default":d,f=e.component,h=void 0===f?"button":f,m=e.disabled,g=void 0!==m&&m,v=e.disableElevation,y=void 0!==v&&v,b=e.disableFocusRipple,x=void 0!==b&&b,A=e.endIcon,w=e.focusVisibleClassName,k=e.fullWidth,S=void 0!==k&&k,C=e.size,E=void 0===C?"medium":C,M=e.startIcon,R=e.type,I=void 0===R?"button":R,T=e.variant,P=void 0===T?"text":T,O=(0,r.A)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),L=M&&i.createElement("span",{className:(0,a.A)(s.startIcon,s["iconSize".concat((0,u.A)(E))])},M),_=A&&i.createElement("span",{className:(0,a.A)(s.endIcon,s["iconSize".concat((0,u.A)(E))])},A);return i.createElement(c.A,(0,o.A)({className:(0,a.A)(s.root,s[P],l,"inherit"===p?s.colorInherit:"default"!==p&&s["".concat(P).concat((0,u.A)(p))],"medium"!==E&&[s["".concat(P,"Size").concat((0,u.A)(E))],s["size".concat((0,u.A)(E))]],y&&s.disableElevation,g&&s.disabled,S&&s.fullWidth),component:h,disabled:g,focusRipple:!x,focusVisibleClassName:(0,a.A)(s.focusVisible,w),ref:t,type:I},O),i.createElement("span",{className:s.label},L,n,_))});const p=(0,s.A)(function(e){return{root:(0,o.A)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,l.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat((0,l.X4)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:(0,l.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat((0,l.X4)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:(0,l.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}},{name:"MuiButton"})(d)},97740:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(89575),o=n(39850),i=n(95478),a=n(40484),s=n(36274),l=n(19878),c=n(70020),u=n(7031),d=n(29409),p=n(83705),f=n(1675),h="undefined"==typeof window?i.useEffect:i.useLayoutEffect;const m=function(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,a=e.rippleY,l=e.rippleSize,u=e.in,d=e.onExited,p=void 0===d?function(){}:d,f=e.timeout,m=i.useState(!1),g=m[0],v=m[1],y=(0,s.A)(t.ripple,t.rippleVisible,r&&t.ripplePulsate),b={width:l,height:l,top:-l/2+a,left:-l/2+o},x=(0,s.A)(t.child,g&&t.childLeaving,r&&t.childPulsate),A=(0,c.A)(p);return h(function(){if(!u){v(!0);var e=setTimeout(A,f);return function(){clearTimeout(e)}}},[A,u,f]),i.createElement("span",{className:y,style:b},i.createElement("span",{className:x}))};var g=i.forwardRef(function(e,t){var n=e.center,a=void 0!==n&&n,l=e.classes,c=e.className,u=(0,o.A)(e,["center","classes","className"]),d=i.useState([]),h=d[0],g=d[1],v=i.useRef(0),y=i.useRef(null);i.useEffect(function(){y.current&&(y.current(),y.current=null)},[h]);var b=i.useRef(!1),x=i.useRef(null),A=i.useRef(null),w=i.useRef(null);i.useEffect(function(){return function(){clearTimeout(x.current)}},[]);var k=i.useCallback(function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,a=e.cb;g(function(e){return[].concat((0,p.A)(e),[i.createElement(m,{key:v.current,classes:l,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o})])}),v.current+=1,y.current=a},[l]),S=i.useCallback(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,o=void 0!==r&&r,i=t.center,s=void 0===i?a||t.pulsate:i,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&b.current)b.current=!1;else{"touchstart"===e.type&&(b.current=!0);var u,d,p,f=c?null:w.current,h=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches?e.touches[0]:e,g=m.clientX,v=m.clientY;u=Math.round(g-h.left),d=Math.round(v-h.top)}if(s)(p=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2==0&&(p+=1);else{var y=2*Math.max(Math.abs((f?f.clientWidth:0)-u),u)+2,S=2*Math.max(Math.abs((f?f.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(y,2)+Math.pow(S,2))}e.touches?null===A.current&&(A.current=function(){k({pulsate:o,rippleX:u,rippleY:d,rippleSize:p,cb:n})},x.current=setTimeout(function(){A.current&&(A.current(),A.current=null)},80)):k({pulsate:o,rippleX:u,rippleY:d,rippleSize:p,cb:n})}},[a,k]),C=i.useCallback(function(){S({},{pulsate:!0})},[S]),E=i.useCallback(function(e,t){if(clearTimeout(x.current),"touchend"===e.type&&A.current)return e.persist(),A.current(),A.current=null,void(x.current=setTimeout(function(){E(e,t)}));A.current=null,g(function(e){return e.length>0?e.slice(1):e}),y.current=t},[]);return i.useImperativeHandle(t,function(){return{pulsate:C,start:S,stop:E}},[C,S,E]),i.createElement("span",(0,r.A)({className:(0,s.A)(l.root,c),ref:w},u),i.createElement(f.A,{component:null,exit:!0},h))});const v=(0,u.A)(function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}},{flip:!1,name:"MuiTouchRipple"})(i.memo(g));var y=i.forwardRef(function(e,t){var n=e.action,u=e.buttonRef,p=e.centerRipple,f=void 0!==p&&p,h=e.children,m=e.classes,g=e.className,y=e.component,b=void 0===y?"button":y,x=e.disabled,A=void 0!==x&&x,w=e.disableRipple,k=void 0!==w&&w,S=e.disableTouchRipple,C=void 0!==S&&S,E=e.focusRipple,M=void 0!==E&&E,R=e.focusVisibleClassName,I=e.onBlur,T=e.onClick,P=e.onFocus,O=e.onFocusVisible,L=e.onKeyDown,_=e.onKeyUp,N=e.onMouseDown,j=e.onMouseLeave,D=e.onMouseUp,F=e.onTouchEnd,$=e.onTouchMove,z=e.onTouchStart,B=e.onDragLeave,W=e.tabIndex,H=void 0===W?0:W,V=e.TouchRippleProps,U=e.type,q=void 0===U?"button":U,G=(0,o.A)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),K=i.useRef(null),X=i.useRef(null),Y=i.useState(!1),Z=Y[0],Q=Y[1];A&&Z&&Q(!1);var J=(0,d.A)(),ee=J.isFocusVisible,te=J.onBlurVisible,ne=J.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;return(0,c.A)(function(r){return t&&t(r),!n&&X.current&&X.current[e](r),!0})}i.useImperativeHandle(n,function(){return{focusVisible:function(){Q(!0),K.current.focus()}}},[]),i.useEffect(function(){Z&&M&&!k&&X.current.pulsate()},[k,M,Z]);var oe=re("start",N),ie=re("stop",B),ae=re("stop",D),se=re("stop",function(e){Z&&e.preventDefault(),j&&j(e)}),le=re("start",z),ce=re("stop",F),ue=re("stop",$),de=re("stop",function(e){Z&&(te(e),Q(!1)),I&&I(e)},!1),pe=(0,c.A)(function(e){K.current||(K.current=e.currentTarget),ee(e)&&(Q(!0),O&&O(e)),P&&P(e)}),fe=function(){var e=a.findDOMNode(K.current);return b&&"button"!==b&&!("A"===e.tagName&&e.href)},he=i.useRef(!1),me=(0,c.A)(function(e){M&&!he.current&&Z&&X.current&&" "===e.key&&(he.current=!0,e.persist(),X.current.stop(e,function(){X.current.start(e)})),e.target===e.currentTarget&&fe()&&" "===e.key&&e.preventDefault(),L&&L(e),e.target===e.currentTarget&&fe()&&"Enter"===e.key&&!A&&(e.preventDefault(),T&&T(e))}),ge=(0,c.A)(function(e){M&&" "===e.key&&X.current&&Z&&!e.defaultPrevented&&(he.current=!1,e.persist(),X.current.stop(e,function(){X.current.pulsate(e)})),_&&_(e),T&&e.target===e.currentTarget&&fe()&&" "===e.key&&!e.defaultPrevented&&T(e)}),ve=b;"button"===ve&&G.href&&(ve="a");var ye={};"button"===ve?(ye.type=q,ye.disabled=A):("a"===ve&&G.href||(ye.role="button"),ye["aria-disabled"]=A);var be=(0,l.A)(u,t),xe=(0,l.A)(ne,K),Ae=(0,l.A)(be,xe),we=i.useState(!1),ke=we[0],Se=we[1];i.useEffect(function(){Se(!0)},[]);var Ce=ke&&!k&&!A;return i.createElement(ve,(0,r.A)({className:(0,s.A)(m.root,g,Z&&[m.focusVisible,R],A&&m.disabled),onBlur:de,onClick:T,onFocus:pe,onKeyDown:me,onKeyUp:ge,onMouseDown:oe,onMouseLeave:se,onMouseUp:ae,onDragLeave:ie,onTouchEnd:ce,onTouchMove:ue,onTouchStart:le,ref:Ae,tabIndex:A?-1:H},ye,G),h,Ce?i.createElement(v,(0,r.A)({ref:X,center:f},V)):null)});const b=(0,u.A)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(y)},45685:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(72501),c=i.forwardRef(function(e,t){var n=e.action,s=e.avatar,c=e.classes,u=e.className,d=e.component,p=void 0===d?"div":d,f=e.disableTypography,h=void 0!==f&&f,m=e.subheader,g=e.subheaderTypographyProps,v=e.title,y=e.titleTypographyProps,b=(0,o.A)(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),x=v;null==x||x.type===l.A||h||(x=i.createElement(l.A,(0,r.A)({variant:s?"body2":"h5",className:c.title,component:"span",display:"block"},y),x));var A=m;return null==A||A.type===l.A||h||(A=i.createElement(l.A,(0,r.A)({variant:s?"body2":"body1",className:c.subheader,color:"textSecondary",component:"span",display:"block"},g),A)),i.createElement(p,(0,r.A)({className:(0,a.A)(c.root,u),ref:t},b),s&&i.createElement("div",{className:c.avatar},s),i.createElement("div",{className:c.content},x,A),n&&i.createElement("div",{className:c.action},n))});const u=(0,s.A)({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(c)},69621:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(89575),o=n(90689),i=n(39850),a=n(95478),s=n(36274),l=n(32258),c=n(7031),u=n(43457),d=n(41188),p=n(54917),f=n(19878),h=a.forwardRef(function(e,t){var n=e.children,c=e.classes,h=e.className,m=e.collapsedHeight,g=e.collapsedSize,v=void 0===g?"0px":g,y=e.component,b=void 0===y?"div":y,x=e.disableStrictModeCompat,A=void 0!==x&&x,w=e.in,k=e.onEnter,S=e.onEntered,C=e.onEntering,E=e.onExit,M=e.onExited,R=e.onExiting,I=e.style,T=e.timeout,P=void 0===T?u.p0.standard:T,O=e.TransitionComponent,L=void 0===O?l.Ay:O,_=(0,i.A)(e,["children","classes","className","collapsedHeight","collapsedSize","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),N=(0,p.A)(),j=a.useRef(),D=a.useRef(null),F=a.useRef(),$="number"==typeof(m||v)?"".concat(m||v,"px"):m||v;a.useEffect(function(){return function(){clearTimeout(j.current)}},[]);var z=N.unstable_strictMode&&!A,B=a.useRef(null),W=(0,f.A)(t,z?B:void 0),H=function(e){return function(t,n){if(e){var r=z?[B.current,t]:[t,n],i=(0,o.A)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},V=H(function(e,t){e.style.height=$,k&&k(e,t)}),U=H(function(e,t){var n=D.current?D.current.clientHeight:0,r=(0,d.c)({style:I,timeout:P},{mode:"enter"}).duration;if("auto"===P){var o=N.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),F.current=o}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),C&&C(e,t)}),q=H(function(e,t){e.style.height="auto",S&&S(e,t)}),G=H(function(e){var t=D.current?D.current.clientHeight:0;e.style.height="".concat(t,"px"),E&&E(e)}),K=H(M),X=H(function(e){var t=D.current?D.current.clientHeight:0,n=(0,d.c)({style:I,timeout:P},{mode:"exit"}).duration;if("auto"===P){var r=N.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),F.current=r}else e.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");e.style.height=$,R&&R(e)});return a.createElement(L,(0,r.A)({in:w,onEnter:V,onEntered:q,onEntering:U,onExit:G,onExited:K,onExiting:X,addEndListener:function(e,t){var n=z?e:t;"auto"===P&&(j.current=setTimeout(n,F.current||0))},nodeRef:z?B:void 0,timeout:"auto"===P?null:P},_),function(e,t){return a.createElement(b,(0,r.A)({className:(0,s.A)(c.root,c.container,h,{entered:c.entered,exited:!w&&"0px"===$&&c.hidden}[e]),style:(0,r.A)({minHeight:$},I),ref:W},t),a.createElement("div",{className:c.wrapper,ref:D},a.createElement("div",{className:c.wrapperInner},n)))})});h.muiSupportAuto=!0;const m=(0,c.A)(function(e){return{root:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}},{name:"MuiCollapse"})(h)},31647:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(89575),o=n(39850),i=n(24586),a=n(95478),s=n(36274),l=n(7031),c=n(11192),u=n(9605),d=n(90689),p=n(32258),f=n(43457),h=n(54917),m=n(41188),g=n(19878),v={entering:{opacity:1},entered:{opacity:1}},y={enter:f.p0.enteringScreen,exit:f.p0.leavingScreen};const b=a.forwardRef(function(e,t){var n=e.children,i=e.disableStrictModeCompat,s=void 0!==i&&i,l=e.in,c=e.onEnter,u=e.onEntered,f=e.onEntering,b=e.onExit,x=e.onExited,A=e.onExiting,w=e.style,k=e.TransitionComponent,S=void 0===k?p.Ay:k,C=e.timeout,E=void 0===C?y:C,M=(0,o.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),R=(0,h.A)(),I=R.unstable_strictMode&&!s,T=a.useRef(null),P=(0,g.A)(n.ref,t),O=(0,g.A)(I?T:void 0,P),L=function(e){return function(t,n){if(e){var r=I?[T.current,t]:[t,n],o=(0,d.A)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},_=L(f),N=L(function(e,t){(0,m.q)(e);var n=(0,m.c)({style:w,timeout:E},{mode:"enter"});e.style.webkitTransition=R.transitions.create("opacity",n),e.style.transition=R.transitions.create("opacity",n),c&&c(e,t)}),j=L(u),D=L(A),F=L(function(e){var t=(0,m.c)({style:w,timeout:E},{mode:"exit"});e.style.webkitTransition=R.transitions.create("opacity",t),e.style.transition=R.transitions.create("opacity",t),b&&b(e)}),$=L(x);return a.createElement(S,(0,r.A)({appear:!0,in:l,nodeRef:I?T:void 0,onEnter:N,onEntered:j,onEntering:_,onExit:F,onExited:$,onExiting:D,timeout:E},M),function(e,t){return a.cloneElement(n,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||l?void 0:"hidden"},v[e],w,n.props.style),ref:O},t))})});var x=a.forwardRef(function(e,t){var n=e.children,i=e.classes,l=e.className,c=e.invisible,u=void 0!==c&&c,d=e.open,p=e.transitionDuration,f=e.TransitionComponent,h=void 0===f?b:f,m=(0,o.A)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return a.createElement(h,(0,r.A)({in:d,timeout:p},m),a.createElement("div",{className:(0,s.A)(i.root,l,u&&i.invisible),"aria-hidden":!0,ref:t},n))});const A=(0,l.A)({root:{zIndex:-1,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"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(x);var w=n(4321),k={enter:f.p0.enteringScreen,exit:f.p0.leavingScreen},S=a.forwardRef(function(e,t){var n=e.BackdropProps,i=e.children,l=e.classes,d=e.className,p=e.disableBackdropClick,f=void 0!==p&&p,h=e.disableEscapeKeyDown,m=void 0!==h&&h,g=e.fullScreen,v=void 0!==g&&g,y=e.fullWidth,x=void 0!==y&&y,S=e.maxWidth,C=void 0===S?"sm":S,E=e.onBackdropClick,M=e.onClose,R=e.onEnter,I=e.onEntered,T=e.onEntering,P=e.onEscapeKeyDown,O=e.onExit,L=e.onExited,_=e.onExiting,N=e.open,j=e.PaperComponent,D=void 0===j?w.A:j,F=e.PaperProps,$=void 0===F?{}:F,z=e.scroll,B=void 0===z?"paper":z,W=e.TransitionComponent,H=void 0===W?b:W,V=e.transitionDuration,U=void 0===V?k:V,q=e.TransitionProps,G=e["aria-describedby"],K=e["aria-labelledby"],X=(0,o.A)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),Y=a.useRef();return a.createElement(u.A,(0,r.A)({className:(0,s.A)(l.root,d),BackdropComponent:A,BackdropProps:(0,r.A)({transitionDuration:U},n),closeAfterTransition:!0},f?{disableBackdropClick:f}:{},{disableEscapeKeyDown:m,onEscapeKeyDown:P,onClose:M,open:N,ref:t},X),a.createElement(H,(0,r.A)({appear:!0,in:N,timeout:U,onEnter:R,onEntering:T,onEntered:I,onExit:O,onExiting:_,onExited:L,role:"none presentation"},q),a.createElement("div",{className:(0,s.A)(l.container,l["scroll".concat((0,c.A)(B))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===Y.current&&(Y.current=null,E&&E(e),!f&&M&&M(e,"backdropClick"))},onMouseDown:function(e){Y.current=e.target}},a.createElement(D,(0,r.A)({elevation:24,role:"dialog","aria-describedby":G,"aria-labelledby":K},$,{className:(0,s.A)(l.paper,l["paperScroll".concat((0,c.A)(B))],l["paperWidth".concat((0,c.A)(String(C)))],$.className,v&&l.paperFullScreen,x&&l.paperFullWidth)}),i))))});const C=(0,l.A)(function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,i.A)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}},{name:"MuiDialog"})(S)},93453:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=i.forwardRef(function(e,t){var n=e.disableSpacing,s=void 0!==n&&n,l=e.classes,c=e.className,u=(0,o.A)(e,["disableSpacing","classes","className"]);return i.createElement("div",(0,r.A)({className:(0,a.A)(l.root,c,!s&&l.spacing),ref:t},u))});const c=(0,s.A)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(l)},46805:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=i.forwardRef(function(e,t){var n=e.classes,s=e.className,l=e.dividers,c=void 0!==l&&l,u=(0,o.A)(e,["classes","className","dividers"]);return i.createElement("div",(0,r.A)({className:(0,a.A)(n.root,s,c&&n.dividers),ref:t},u))});const c=(0,s.A)(function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}},{name:"MuiDialogContent"})(l)},61477:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(72501),c=i.forwardRef(function(e,t){var n=e.children,s=e.classes,c=e.className,u=e.disableTypography,d=void 0!==u&&u,p=(0,o.A)(e,["children","classes","className","disableTypography"]);return i.createElement("div",(0,r.A)({className:(0,a.A)(s.root,c),ref:t},p),d?n:i.createElement(l.A,{component:"h2",variant:"h6"},n))});const u=(0,s.A)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(c)},37197:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(268),c=i.forwardRef(function(e,t){var n=e.absolute,s=void 0!==n&&n,l=e.classes,c=e.className,u=e.component,d=void 0===u?"hr":u,p=e.flexItem,f=void 0!==p&&p,h=e.light,m=void 0!==h&&h,g=e.orientation,v=void 0===g?"horizontal":g,y=e.role,b=void 0===y?"hr"!==d?"separator":void 0:y,x=e.variant,A=void 0===x?"fullWidth":x,w=(0,o.A)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return i.createElement(d,(0,r.A)({className:(0,a.A)(l.root,c,"fullWidth"!==A&&l[A],s&&l.absolute,f&&l.flexItem,m&&l.light,"vertical"===v&&l.vertical),role:b,ref:t},w))});const u=(0,s.A)(function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,l.X4)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}},{name:"MuiDivider"})(c)},42899:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(39850),o=n(89575),i=n(95478),a=n(36274),s=n(7031),l=[0,1,2,3,4,5,6,7,8,9,10],c=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var d=i.forwardRef(function(e,t){var n=e.alignContent,s=void 0===n?"stretch":n,l=e.alignItems,c=void 0===l?"stretch":l,u=e.classes,d=e.className,p=e.component,f=void 0===p?"div":p,h=e.container,m=void 0!==h&&h,g=e.direction,v=void 0===g?"row":g,y=e.item,b=void 0!==y&&y,x=e.justify,A=e.justifyContent,w=void 0===A?"flex-start":A,k=e.lg,S=void 0!==k&&k,C=e.md,E=void 0!==C&&C,M=e.sm,R=void 0!==M&&M,I=e.spacing,T=void 0===I?0:I,P=e.wrap,O=void 0===P?"wrap":P,L=e.xl,_=void 0!==L&&L,N=e.xs,j=void 0!==N&&N,D=e.zeroMinWidth,F=void 0!==D&&D,$=(0,r.A)(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),z=(0,a.A)(u.root,d,m&&[u.container,0!==T&&u["spacing-xs-".concat(String(T))]],b&&u.item,F&&u.zeroMinWidth,"row"!==v&&u["direction-xs-".concat(String(v))],"wrap"!==O&&u["wrap-xs-".concat(String(O))],"stretch"!==c&&u["align-items-xs-".concat(String(c))],"stretch"!==s&&u["align-content-xs-".concat(String(s))],"flex-start"!==(x||w)&&u["justify-content-xs-".concat(String(x||w))],!1!==j&&u["grid-xs-".concat(String(j))],!1!==R&&u["grid-sm-".concat(String(R))],!1!==E&&u["grid-md-".concat(String(E))],!1!==S&&u["grid-lg-".concat(String(S))],!1!==_&&u["grid-xl-".concat(String(_))]);return i.createElement(f,(0,o.A)({className:z,ref:t},$))});const p=(0,s.A)(function(e){return(0,o.A)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e){var t={};return l.forEach(function(n){var r=e.spacing(n);0!==r&&(t["spacing-".concat("xs","-").concat(n)]={margin:"-".concat(u(r,2)),width:"calc(100% + ".concat(u(r),")"),"& > $item":{padding:u(r,2)}})}),t}(e),e.breakpoints.keys.reduce(function(t,n){return function(e,t,n){var r={};c.forEach(function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}}),"xs"===n?(0,o.A)(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t},{}))},{name:"MuiGrid"})(d)},33145:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(89575),o=n(90689),i=n(39850),a=n(95478),s=n(32258),l=n(54917),c=n(41188),u=n(19878);function d(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},f=a.forwardRef(function(e,t){var n=e.children,f=e.disableStrictModeCompat,h=void 0!==f&&f,m=e.in,g=e.onEnter,v=e.onEntered,y=e.onEntering,b=e.onExit,x=e.onExited,A=e.onExiting,w=e.style,k=e.timeout,S=void 0===k?"auto":k,C=e.TransitionComponent,E=void 0===C?s.Ay:C,M=(0,i.A)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),R=a.useRef(),I=a.useRef(),T=(0,l.A)(),P=T.unstable_strictMode&&!h,O=a.useRef(null),L=(0,u.A)(n.ref,t),_=(0,u.A)(P?O:void 0,L),N=function(e){return function(t,n){if(e){var r=P?[O.current,t]:[t,n],i=(0,o.A)(r,2),a=i[0],s=i[1];void 0===s?e(a):e(a,s)}}},j=N(y),D=N(function(e,t){(0,c.q)(e);var n,r=(0,c.c)({style:w,timeout:S},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===S?(n=T.transitions.getAutoHeightDuration(e.clientHeight),I.current=n):n=o,e.style.transition=[T.transitions.create("opacity",{duration:n,delay:i}),T.transitions.create("transform",{duration:.666*n,delay:i})].join(","),g&&g(e,t)}),F=N(v),$=N(A),z=N(function(e){var t,n=(0,c.c)({style:w,timeout:S},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===S?(t=T.transitions.getAutoHeightDuration(e.clientHeight),I.current=t):t=r,e.style.transition=[T.transitions.create("opacity",{duration:t,delay:o}),T.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=d(.75),b&&b(e)}),B=N(x);return a.useEffect(function(){return function(){clearTimeout(R.current)}},[]),a.createElement(E,(0,r.A)({appear:!0,in:m,nodeRef:P?O:void 0,onEnter:D,onEntered:F,onEntering:j,onExit:z,onExited:B,onExiting:$,addEndListener:function(e,t){var n=P?e:t;"auto"===S&&(R.current=setTimeout(n,I.current||0))},timeout:"auto"===S?null:S},M),function(e,t){return a.cloneElement(n,(0,r.A)({style:(0,r.A)({opacity:0,transform:d(.75),visibility:"exited"!==e||m?void 0:"hidden"},p[e],w,n.props.style),ref:_},t))})});f.muiSupportAuto=!0;const h=f},29365:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(268),c=n(97740),u=n(11192),d=i.forwardRef(function(e,t){var n=e.edge,s=void 0!==n&&n,l=e.children,d=e.classes,p=e.className,f=e.color,h=void 0===f?"default":f,m=e.disabled,g=void 0!==m&&m,v=e.disableFocusRipple,y=void 0!==v&&v,b=e.size,x=void 0===b?"medium":b,A=(0,o.A)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return i.createElement(c.A,(0,r.A)({className:(0,a.A)(d.root,p,"default"!==h&&d["color".concat((0,u.A)(h))],g&&d.disabled,"small"===x&&d["size".concat((0,u.A)(x))],{start:d.edgeStart,end:d.edgeEnd}[s]),centerRipple:!0,focusRipple:!y,disabled:g,ref:t},A),i.createElement("span",{className:d.label},l))});const p=(0,s.A)(function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,l.X4)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,l.X4)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}},{name:"MuiIconButton"})(d)},58007:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(43504),c=i.forwardRef(function(e,t){var n=e.children,s=e.classes,c=e.className,u=e.component,d=void 0===u?"ul":u,p=e.dense,f=void 0!==p&&p,h=e.disablePadding,m=void 0!==h&&h,g=e.subheader,v=(0,o.A)(e,["children","classes","className","component","dense","disablePadding","subheader"]),y=i.useMemo(function(){return{dense:f}},[f]);return i.createElement(l.A.Provider,{value:y},i.createElement(d,(0,r.A)({className:(0,a.A)(s.root,c,f&&s.dense,!m&&s.padding,g&&s.subheader),ref:t},v),g,n))});const u=(0,s.A)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},43504:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(95478).createContext({})},8109:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(97740),c=n(73525),u=n(19878),d=n(43504),p=n(40484),f="undefined"==typeof window?i.useEffect:i.useLayoutEffect,h=i.forwardRef(function(e,t){var n=e.alignItems,s=void 0===n?"center":n,h=e.autoFocus,m=void 0!==h&&h,g=e.button,v=void 0!==g&&g,y=e.children,b=e.classes,x=e.className,A=e.component,w=e.ContainerComponent,k=void 0===w?"li":w,S=e.ContainerProps,C=(S=void 0===S?{}:S).className,E=(0,o.A)(S,["className"]),M=e.dense,R=void 0!==M&&M,I=e.disabled,T=void 0!==I&&I,P=e.disableGutters,O=void 0!==P&&P,L=e.divider,_=void 0!==L&&L,N=e.focusVisibleClassName,j=e.selected,D=void 0!==j&&j,F=(0,o.A)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),$=i.useContext(d.A),z={dense:R||$.dense||!1,alignItems:s},B=i.useRef(null);f(function(){m&&B.current&&B.current.focus()},[m]);var W=i.Children.toArray(y),H=W.length&&(0,c.A)(W[W.length-1],["ListItemSecondaryAction"]),V=i.useCallback(function(e){B.current=p.findDOMNode(e)},[]),U=(0,u.A)(V,t),q=(0,r.A)({className:(0,a.A)(b.root,x,z.dense&&b.dense,!O&&b.gutters,_&&b.divider,T&&b.disabled,v&&b.button,"center"!==s&&b.alignItemsFlexStart,H&&b.secondaryAction,D&&b.selected),disabled:T},F),G=A||"li";return v&&(q.component=A||"div",q.focusVisibleClassName=(0,a.A)(b.focusVisible,N),G=l.A),H?(G=q.component||A?G:"div","li"===k&&("li"===G?G="div":"li"===q.component&&(q.component="div")),i.createElement(d.A.Provider,{value:z},i.createElement(k,(0,r.A)({className:(0,a.A)(b.container,C),ref:U},E),i.createElement(G,q,W),W.pop()))):i.createElement(d.A.Provider,{value:z},i.createElement(G,(0,r.A)({ref:U},q),W))});const m=(0,s.A)(function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}},{name:"MuiListItem"})(h)},46423:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(43504),c=i.forwardRef(function(e,t){var n=e.classes,s=e.className,c=(0,o.A)(e,["classes","className"]),u=i.useContext(l.A);return i.createElement("div",(0,r.A)({className:(0,a.A)(n.root,s,"flex-start"===u.alignItems&&n.alignItemsFlexStart),ref:t},c))});const u=(0,s.A)(function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}},{name:"MuiListItemIcon"})(c)},5951:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(72501),c=n(43504),u=i.forwardRef(function(e,t){var n=e.children,s=e.classes,u=e.className,d=e.disableTypography,p=void 0!==d&&d,f=e.inset,h=void 0!==f&&f,m=e.primary,g=e.primaryTypographyProps,v=e.secondary,y=e.secondaryTypographyProps,b=(0,o.A)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),x=i.useContext(c.A).dense,A=null!=m?m:n;null==A||A.type===l.A||p||(A=i.createElement(l.A,(0,r.A)({variant:x?"body2":"body1",className:s.primary,component:"span",display:"block"},g),A));var w=v;return null==w||w.type===l.A||p||(w=i.createElement(l.A,(0,r.A)({variant:"body2",className:s.secondary,color:"textSecondary",display:"block"},y),w)),i.createElement("div",(0,r.A)({className:(0,a.A)(s.root,u,x&&s.dense,h&&s.inset,A&&w&&s.multiline),ref:t},b),A,w)});const d=(0,s.A)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(u)},26343:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(39850),o=n(24586),i=n(89575),a=n(95478),s=n(36274),l=n(7031),c=n(8109),u=a.forwardRef(function(e,t){var n,o=e.classes,l=e.className,u=e.component,d=void 0===u?"li":u,p=e.disableGutters,f=void 0!==p&&p,h=e.ListItemClasses,m=e.role,g=void 0===m?"menuitem":m,v=e.selected,y=e.tabIndex,b=(0,r.A)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==y?y:-1),a.createElement(c.A,(0,i.A)({button:!0,role:g,tabIndex:n,component:d,selected:v,disableGutters:f,classes:(0,i.A)({dense:o.dense},h),className:(0,s.A)(o.root,l,v&&o.selected,!f&&o.gutters),ref:t},b))});const d=(0,l.A)(function(e){return{root:(0,i.A)({},e.typography.body1,(0,o.A)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,i.A)({},e.typography.body2,{minHeight:"auto"})}},{name:"MuiMenuItem"})(u)},9605:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(39850),o=n(89575),i=n(95478),a=n(40484),s=n(11942),l=n(76446),c=n(41883),u=n(37260),d=n(19878),p=n(70020),f=n(26931),h=n(55152),m=n(30414),g=n(83705),v=n(18977),y=n(82431);function b(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function x(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function A(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,g.A)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&b(e,o)})}function w(e,t){var n=-1;return e.some(function(e,r){return!!t(e)&&(n=r,!0)}),n}var k=function(){function e(){(0,h.A)(this,e),this.modals=[],this.containers=[]}return(0,m.A)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&b(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);A(t,e.mountNode,e.modalRef,r,!0);var o=w(this.containers,function(e){return e.container===t});return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=w(this.containers,function(t){return-1!==t.modals.indexOf(e)}),r=this.containers[n];r.restore||(r.restore=function(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,l.A)(e);return t.body===e?(0,y.A)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=(0,v.A)();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(x(i)+a,"px"),n=(0,l.A)(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(x(e)+a,"px")})}var s=i.parentElement,c="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:c.style.overflow,key:"overflow",el:c}),c.style.overflow="hidden"}return function(){n&&[].forEach.call(n,function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")}),r.forEach(function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)})}}(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=w(this.containers,function(t){return-1!==t.modals.indexOf(e)}),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&b(e.modalRef,!0),A(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&b(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();const S=function(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,s=void 0!==o&&o,c=e.disableRestoreFocus,u=void 0!==c&&c,p=e.getDoc,f=e.isEnabled,h=e.open,m=i.useRef(),g=i.useRef(null),v=i.useRef(null),y=i.useRef(),b=i.useRef(null),x=i.useCallback(function(e){b.current=a.findDOMNode(e)},[]),A=(0,d.A)(t.ref,x),w=i.useRef();return i.useEffect(function(){w.current=h},[h]),!w.current&&h&&"undefined"!=typeof window&&(y.current=p().activeElement),i.useEffect(function(){if(h){var e=(0,l.A)(b.current);r||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!s&&f()&&!m.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():m.current=!1)},n=function(t){!s&&f()&&9===t.keyCode&&e.activeElement===b.current&&(m.current=!0,t.shiftKey?v.current.focus():g.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval(function(){t()},50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),u||(y.current&&y.current.focus&&y.current.focus(),y.current=null)}}},[r,s,u,f,h]),i.createElement(i.Fragment,null,i.createElement("div",{tabIndex:0,ref:g,"data-test":"sentinelStart"}),i.cloneElement(t,{ref:A}),i.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelEnd"}))};var C={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}};const E=i.forwardRef(function(e,t){var n=e.invisible,a=void 0!==n&&n,s=e.open,l=(0,r.A)(e,["invisible","open"]);return s?i.createElement("div",(0,o.A)({"aria-hidden":!0,ref:t},l,{style:(0,o.A)({},C.root,a?C.invisible:{},l.style)})):null});var M=new k;const R=i.forwardRef(function(e,t){var n=(0,s.useTheme)(),h=(0,s.getThemeProps)({name:"MuiModal",props:(0,o.A)({},e),theme:n}),m=h.BackdropComponent,g=void 0===m?E:m,v=h.BackdropProps,y=h.children,x=h.closeAfterTransition,A=void 0!==x&&x,w=h.container,k=h.disableAutoFocus,C=void 0!==k&&k,R=h.disableBackdropClick,I=void 0!==R&&R,T=h.disableEnforceFocus,P=void 0!==T&&T,O=h.disableEscapeKeyDown,L=void 0!==O&&O,_=h.disablePortal,N=void 0!==_&&_,j=h.disableRestoreFocus,D=void 0!==j&&j,F=h.disableScrollLock,$=void 0!==F&&F,z=h.hideBackdrop,B=void 0!==z&&z,W=h.keepMounted,H=void 0!==W&&W,V=h.manager,U=void 0===V?M:V,q=h.onBackdropClick,G=h.onClose,K=h.onEscapeKeyDown,X=h.onRendered,Y=h.open,Z=(0,r.A)(h,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=i.useState(!0),J=Q[0],ee=Q[1],te=i.useRef({}),ne=i.useRef(null),re=i.useRef(null),oe=(0,d.A)(re,t),ie=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(h),ae=function(){return(0,l.A)(ne.current)},se=function(){return te.current.modalRef=re.current,te.current.mountNode=ne.current,te.current},le=function(){U.mount(se(),{disableScrollLock:$}),re.current.scrollTop=0},ce=(0,p.A)(function(){var e=function(e){return e="function"==typeof e?e():e,a.findDOMNode(e)}(w)||ae().body;U.add(se(),e),re.current&&le()}),ue=i.useCallback(function(){return U.isTopModal(se())},[U]),de=(0,p.A)(function(e){ne.current=e,e&&(X&&X(),Y&&ue()?le():b(re.current,!0))}),pe=i.useCallback(function(){U.remove(se())},[U]);if(i.useEffect(function(){return function(){pe()}},[pe]),i.useEffect(function(){Y?ce():ie&&A||pe()},[Y,pe,ie,A,ce]),!H&&!Y&&(!ie||J))return null;var fe=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:f.A}),he={};return void 0===y.props.tabIndex&&(he.tabIndex=y.props.tabIndex||"-1"),ie&&(he.onEnter=(0,u.A)(function(){ee(!1)},y.props.onEnter),he.onExited=(0,u.A)(function(){ee(!0),A&&pe()},y.props.onExited)),i.createElement(c.A,{ref:de,container:w,disablePortal:N},i.createElement("div",(0,o.A)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&ue()&&(K&&K(e),L||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Z,{style:(0,o.A)({},fe.root,!Y&&J?fe.hidden:{},Z.style)}),B?null:i.createElement(g,(0,o.A)({open:Y,onClick:function(e){e.target===e.currentTarget&&(q&&q(e),!I&&G&&G(e,"backdropClick"))}},v)),i.createElement(S,{disableEnforceFocus:P,disableAutoFocus:C,disableRestoreFocus:D,getDoc:ae,isEnabled:ue,open:Y},i.cloneElement(y,he))))})},4321:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(39850),o=n(89575),i=n(95478),a=n(36274),s=n(7031),l=i.forwardRef(function(e,t){var n=e.classes,s=e.className,l=e.component,c=void 0===l?"div":l,u=e.square,d=void 0!==u&&u,p=e.elevation,f=void 0===p?1:p,h=e.variant,m=void 0===h?"elevation":h,g=(0,r.A)(e,["classes","className","component","square","elevation","variant"]);return i.createElement(c,(0,o.A)({className:(0,a.A)(n.root,s,"outlined"===m?n.outlined:n["elevation".concat(f)],!d&&n.rounded),ref:t},g))});const c=(0,s.A)(function(e){var t={};return e.shadows.forEach(function(e,n){t["elevation".concat(n)]={boxShadow:e}}),(0,o.A)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)},{name:"MuiPaper"})(l)},41883:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(95478),o=n(40484),i=n(93371),a=n(19878),s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;const l=r.forwardRef(function(e,t){var n=e.children,l=e.container,c=e.disablePortal,u=void 0!==c&&c,d=e.onRendered,p=r.useState(null),f=p[0],h=p[1],m=(0,a.A)(r.isValidElement(n)?n.ref:null,t);return s(function(){u||h(function(e){return e="function"==typeof e?e():e,o.findDOMNode(e)}(l)||document.body)},[l,u]),s(function(){if(f&&!u)return(0,i.A)(t,f),function(){(0,i.A)(t,null)}},[t,f,u]),s(function(){d&&(f||u)&&d()},[d,f,u]),u?r.isValidElement(n)?r.cloneElement(n,{ref:m}):n:f?o.createPortal(n,f):f})},89040:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Le});var r=n(89575),o=n(90689),i=n(39850),a=n(24586),s=n(95478),l=n(40484),c=n(36274),u=n(16328),d=n(268),p=n(7031),f=n(11192),h=n(33145),m="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,g=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(m&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),v=m&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},g))}};function y(e){return e&&"[object Function]"==={}.toString.call(e)}function b(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function x(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function A(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=b(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:A(x(e))}function w(e){return e&&e.referenceNode?e.referenceNode:e}var k=m&&!(!window.MSInputMethodContext||!document.documentMode),S=m&&/MSIE 10/.test(navigator.userAgent);function C(e){return 11===e?k:10===e?S:k||S}function E(e){if(!e)return document.documentElement;for(var t=C(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===b(n,"position")?E(n):n:e?e.ownerDocument.documentElement:document.documentElement}function M(e){return null!==e.parentNode?M(e.parentNode):e}function R(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&E(a.firstElementChild)!==a?E(l):l;var c=M(e);return c.host?R(c.host,t):R(e,M(t).host)}function I(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function T(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function P(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],C(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function O(e){var t=e.body,n=e.documentElement,r=C(10)&&getComputedStyle(n);return{height:P("Height",t,n,r),width:P("Width",t,n,r)}}var L=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function j(e){return N({},e,{right:e.left+e.width,bottom:e.top+e.height})}function D(e){var t={};try{if(C(10)){t=e.getBoundingClientRect();var n=I(e,"top"),r=I(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?O(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=b(e);l-=T(u,"x"),c-=T(u,"y"),o.width-=l,o.height-=c}return j(o)}function F(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=C(10),o="HTML"===t.nodeName,i=D(e),a=D(t),s=A(e),l=b(t),c=parseFloat(l.borderTopWidth),u=parseFloat(l.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=j({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(l.marginTop),f=parseFloat(l.marginLeft);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=I(t,"top"),o=I(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(d,t)),d}function $(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===b(e,"position"))return!0;var n=x(e);return!!n&&$(n)}function z(e){if(!e||!e.parentElement||C())return document.documentElement;for(var t=e.parentElement;t&&"none"===b(t,"transform");)t=t.parentElement;return t||document.documentElement}function B(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?z(e):R(e,w(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=F(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:I(n),s=t?0:I(n,"left");return j({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=A(x(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=F(s,a,o);if("HTML"!==s.nodeName||$(a))i=l;else{var c=O(e.ownerDocument),u=c.height,d=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=d+l.left}}var p="number"==typeof(n=n||0);return i.left+=p?n:n.left||0,i.top+=p?n:n.top||0,i.right-=p?n:n.right||0,i.bottom-=p?n:n.bottom||0,i}function W(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=B(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return N({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t}).sort(function(e,t){return t.area-e.area}),c=l.filter(function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function H(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return F(n,r?z(t):R(t,w(n)),r)}function V(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function U(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function q(e,t,n){n=n.split("-")[0];var r=V(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[U(s)],o}function G(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function K(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var r=G(e,function(e){return e[t]===n});return e.indexOf(r)}(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&y(n)&&(t.offsets.popper=j(t.offsets.popper),t.offsets.reference=j(t.offsets.reference),t=n(t,e))}),t}function X(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=H(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=W(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=q(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=K(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Y(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function Z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function Q(){return this.state.isDestroyed=!0,Y(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function J(e){var t=e.ownerDocument;return t?t.defaultView:window}function ee(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||ee(A(i.parentNode),t,n,r),r.push(i)}function te(e,t,n,r){n.updateBound=r,J(e).addEventListener("resize",n.updateBound,{passive:!0});var o=A(e);return ee(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function ne(){this.state.eventsEnabled||(this.state=te(this.reference,this.options,this.state,this.scheduleUpdate))}function re(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,J(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function oe(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ie(e,t){Object.keys(t).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&oe(t[n])&&(r="px"),e.style[n]=t[n]+r})}var ae=m&&/Firefox/i.test(navigator.userAgent);function se(e,t,n){var r=G(e,function(e){return e.name===t}),o=!!r&&e.some(function(e){return e.name===n&&e.enabled&&e.order<r.order});if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var le=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ce=le.slice(3);function ue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ce.indexOf(e),r=ce.slice(n+1).concat(ce.slice(0,n));return t?r.reverse():r}var de={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:_({},l,i[l]),end:_({},l,i[l]+i[c]-a[c])};e.offsets.popper=N({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r=t.offset,o=e.placement,i=e.offsets,a=i.popper,s=i.reference,l=o.split("-")[0];return n=oe(+r)?[+r,0]:function(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(G(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];return i?0===a.indexOf("%")?j("%p"===a?n:r)[t]/100*i:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,o,t,n)})})).forEach(function(e,t){e.forEach(function(n,r){oe(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))})}),o}(r,a,s,l),"left"===l?(a.top+=n[0],a.left-=n[1]):"right"===l?(a.top+=n[0],a.left+=n[1]):"top"===l?(a.left+=n[0],a.top-=n[1]):"bottom"===l&&(a.left+=n[0],a.top+=n[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||E(e.instance.popper);e.instance.reference===n&&(n=E(n));var r=Z("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=B(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),_({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),_({},n,r)}};return c.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=N({},u,d[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!se(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=V(r)[c];s[f]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-h)),s[d]+h>a[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=j(e.offsets.popper);var m=s[d]+s[c]/2-h/2,g=b(e.instance.popper),v=parseFloat(g["margin"+u]),y=parseFloat(g["border"+u+"Width"]),x=m-e.offsets.popper[d]-v-y;return x=Math.max(Math.min(a[c]-h,x),0),e.arrowElement=r,e.offsets.arrow=(_(n={},d,Math.round(x)),_(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Y(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=B(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=U(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[r,o];break;case"clockwise":a=ue(r);break;case"counterclockwise":a=ue(r,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=U(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&g),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),A=b||x;(p||v||A)&&(e.flipped=!0,(p||v)&&(r=a[l+1]),A&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=N({},e.offsets.popper,q(e.instance.popper,e.offsets.reference,e.placement)),e=K(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=U(t),e.offsets.popper=j(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!se(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=G(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=G(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,l=void 0!==i?i:t.gpuAcceleration,c=E(e.instance.popper),u=D(c),d={position:o.position},p=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!ae),f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",m=Z("transform");if(s="bottom"===f?"HTML"===c.nodeName?-c.clientHeight+p.bottom:-u.height+p.bottom:p.top,a="right"===h?"HTML"===c.nodeName?-c.clientWidth+p.right:-u.width+p.right:p.left,l&&m)d[m]="translate3d("+a+"px, "+s+"px, 0)",d[f]=0,d[h]=0,d.willChange="transform";else{var g="bottom"===f?-1:1,v="right"===h?-1:1;d[f]=s*g,d[h]=a*v,d.willChange=f+", "+h}var y={"x-placement":e.placement};return e.attributes=N({},y,e.attributes),e.styles=N({},d,e.styles),e.arrowStyles=N({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return ie(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach(function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&ie(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=H(o,t,e,n.positionFixed),a=W(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),ie(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},pe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:de},fe=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=v(this.update.bind(this)),this.options=N({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(N({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){r.options.modifiers[t]=N({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return N({name:e},r.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&y(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return L(e,[{key:"update",value:function(){return X.call(this)}},{key:"destroy",value:function(){return Q.call(this)}},{key:"enableEventListeners",value:function(){return ne.call(this)}},{key:"disableEventListeners",value:function(){return re.call(this)}}]),e}();fe.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,fe.placements=le,fe.Defaults=pe;const he=fe;var me=n(11942),ge=n(41883),ve=n(37260),ye=n(93371),be=n(19878);function xe(e){return"function"==typeof e?e():e}var Ae="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,we={},ke=s.forwardRef(function(e,t){var n=e.anchorEl,o=e.children,a=e.container,l=e.disablePortal,c=void 0!==l&&l,u=e.keepMounted,d=void 0!==u&&u,p=e.modifiers,f=e.open,h=e.placement,m=void 0===h?"bottom":h,g=e.popperOptions,v=void 0===g?we:g,y=e.popperRef,b=e.style,x=e.transition,A=void 0!==x&&x,w=(0,i.A)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),k=s.useRef(null),S=(0,be.A)(k,t),C=s.useRef(null),E=(0,be.A)(C,y),M=s.useRef(E);Ae(function(){M.current=E},[E]),s.useImperativeHandle(y,function(){return C.current},[]);var R=s.useState(!0),I=R[0],T=R[1],P=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(m,(0,me.useTheme)()),O=s.useState(P),L=O[0],_=O[1];s.useEffect(function(){C.current&&C.current.update()});var N=s.useCallback(function(){if(k.current&&n&&f){C.current&&(C.current.destroy(),M.current(null));var e=function(e){_(e.placement)},t=(xe(n),new he(xe(n),k.current,(0,r.A)({placement:P},v,{modifiers:(0,r.A)({},c?{}:{preventOverflow:{boundariesElement:"window"}},p,v.modifiers),onCreate:(0,ve.A)(e,v.onCreate),onUpdate:(0,ve.A)(e,v.onUpdate)})));M.current(t)}},[n,c,p,f,P,v]),j=s.useCallback(function(e){(0,ye.A)(S,e),N()},[S,N]),D=function(){C.current&&(C.current.destroy(),M.current(null))};if(s.useEffect(function(){return function(){D()}},[]),s.useEffect(function(){f||A||D()},[f,A]),!d&&!f&&(!A||I))return null;var F={placement:L};return A&&(F.TransitionProps={in:f,onEnter:function(){T(!1)},onExited:function(){T(!0),D()}}),s.createElement(ge.A,{disablePortal:c,container:a},s.createElement("div",(0,r.A)({ref:j,role:"tooltip"},w,{style:(0,r.A)({position:"fixed",top:0,left:0,display:f||!d||A?null:"none"},b)}),"function"==typeof o?o(F):o))});const Se=ke;var Ce=n(18955),Ee=n(29409),Me=n(45065),Re=n(54917);function Ie(e){return Math.round(1e5*e)/1e5}var Te=!1,Pe=null,Oe=s.forwardRef(function(e,t){var n=e.arrow,a=void 0!==n&&n,d=e.children,p=e.classes,m=e.disableFocusListener,g=void 0!==m&&m,v=e.disableHoverListener,y=void 0!==v&&v,b=e.disableTouchListener,x=void 0!==b&&b,A=e.enterDelay,w=void 0===A?100:A,k=e.enterNextDelay,S=void 0===k?0:k,C=e.enterTouchDelay,E=void 0===C?700:C,M=e.id,R=e.interactive,I=void 0!==R&&R,T=e.leaveDelay,P=void 0===T?0:T,O=e.leaveTouchDelay,L=void 0===O?1500:O,_=e.onClose,N=e.onOpen,j=e.open,D=e.placement,F=void 0===D?"bottom":D,$=e.PopperComponent,z=void 0===$?Se:$,B=e.PopperProps,W=e.title,H=e.TransitionComponent,V=void 0===H?h.A:H,U=e.TransitionProps,q=(0,i.A)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),G=(0,Re.A)(),K=s.useState(),X=K[0],Y=K[1],Z=s.useState(null),Q=Z[0],J=Z[1],ee=s.useRef(!1),te=s.useRef(),ne=s.useRef(),re=s.useRef(),oe=s.useRef(),ie=(0,Me.A)({controlled:j,default:!1,name:"Tooltip",state:"open"}),ae=(0,o.A)(ie,2),se=ae[0],le=ae[1],ce=se,ue=(0,Ce.A)(M);s.useEffect(function(){return function(){clearTimeout(te.current),clearTimeout(ne.current),clearTimeout(re.current),clearTimeout(oe.current)}},[]);var de=function(e){clearTimeout(Pe),Te=!0,le(!0),N&&N(e)},pe=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),ee.current&&"touchstart"!==t.type||(X&&X.removeAttribute("title"),clearTimeout(ne.current),clearTimeout(re.current),w||Te&&S?(t.persist(),ne.current=setTimeout(function(){de(t)},Te?S:w)):de(t))}},fe=(0,Ee.A)(),he=fe.isFocusVisible,me=fe.onBlurVisible,ge=fe.ref,ve=s.useState(!1),xe=ve[0],Ae=ve[1],we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){X||Y(t.currentTarget),he(t)&&(Ae(!0),pe()(t));var n=d.props;n.onFocus&&e&&n.onFocus(t)}},ke=function(e){clearTimeout(Pe),Pe=setTimeout(function(){Te=!1},800+P),le(!1),_&&_(e),clearTimeout(te.current),te.current=setTimeout(function(){ee.current=!1},G.transitions.duration.shortest)},Ie=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),xe&&(Ae(!1),me())),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===X&&n.onMouseLeave(t),clearTimeout(ne.current),clearTimeout(re.current),t.persist(),re.current=setTimeout(function(){ke(t)},P)}},Oe=function(e){ee.current=!0;var t=d.props;t.onTouchStart&&t.onTouchStart(e)},Le=(0,be.A)(Y,t),_e=(0,be.A)(ge,Le),Ne=s.useCallback(function(e){(0,ye.A)(_e,l.findDOMNode(e))},[_e]),je=(0,be.A)(d.ref,Ne);""===W&&(ce=!1);var De=!ce&&!y,Fe=(0,r.A)({"aria-describedby":ce?ue:null,title:De&&"string"==typeof W?W:null},q,d.props,{className:(0,c.A)(q.className,d.props.className),onTouchStart:Oe,ref:je}),$e={};x||(Fe.onTouchStart=function(e){Oe(e),clearTimeout(re.current),clearTimeout(te.current),clearTimeout(oe.current),e.persist(),oe.current=setTimeout(function(){pe()(e)},E)},Fe.onTouchEnd=function(e){d.props.onTouchEnd&&d.props.onTouchEnd(e),clearTimeout(oe.current),clearTimeout(re.current),e.persist(),re.current=setTimeout(function(){ke(e)},L)}),y||(Fe.onMouseOver=pe(),Fe.onMouseLeave=Ie(),I&&($e.onMouseOver=pe(!1),$e.onMouseLeave=Ie(!1))),g||(Fe.onFocus=we(),Fe.onBlur=Ie(),I&&($e.onFocus=we(!1),$e.onBlur=Ie(!1)));var ze=s.useMemo(function(){return(0,u.A)({popperOptions:{modifiers:{arrow:{enabled:Boolean(Q),element:Q}}}},B)},[Q,B]);return s.createElement(s.Fragment,null,s.cloneElement(d,Fe),s.createElement(z,(0,r.A)({className:(0,c.A)(p.popper,I&&p.popperInteractive,a&&p.popperArrow),placement:F,anchorEl:X,open:!!X&&ce,id:Fe["aria-describedby"],transition:!0},$e,ze),function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(V,(0,r.A)({timeout:G.transitions.duration.shorter},n,U),s.createElement("div",{className:(0,c.A)(p.tooltip,p["tooltipPlacement".concat((0,f.A)(t.split("-")[0]))],ee.current&&p.touch,a&&p.tooltipArrow)},W,a?s.createElement("span",{className:p.arrow,ref:J}):null))}))});const Le=(0,p.A)(function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,d.X4)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(Ie(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,d.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(Ie(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,a.A)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,a.A)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,a.A)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,a.A)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}},{name:"MuiTooltip",flip:!1})(Oe)},72501:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(89575),o=n(39850),i=n(95478),a=n(36274),s=n(7031),l=n(11192),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},u=i.forwardRef(function(e,t){var n=e.align,s=void 0===n?"inherit":n,u=e.classes,d=e.className,p=e.color,f=void 0===p?"initial":p,h=e.component,m=e.display,g=void 0===m?"initial":m,v=e.gutterBottom,y=void 0!==v&&v,b=e.noWrap,x=void 0!==b&&b,A=e.paragraph,w=void 0!==A&&A,k=e.variant,S=void 0===k?"body1":k,C=e.variantMapping,E=void 0===C?c:C,M=(0,o.A)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),R=h||(w?"p":E[S]||c[S])||"span";return i.createElement(R,(0,r.A)({className:(0,a.A)(u.root,d,"inherit"!==S&&u[S],"initial"!==f&&u["color".concat((0,l.A)(f))],x&&u.noWrap,y&&u.gutterBottom,w&&u.paragraph,"inherit"!==s&&u["align".concat((0,l.A)(s))],"initial"!==g&&u["display".concat((0,l.A)(g))]),ref:t},M))});const d=(0,s.A)(function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}},{name:"MuiTypography"})(u)},41188:(e,t,n)=>{"use strict";n.d(t,{c:()=>o,q:()=>r});var r=function(e){return e.scrollTop};function o(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}},11192:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(87447);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},37260:(e,t,n)=>{"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}},function(){})}n.d(t,{A:()=>r})},58064:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(89575),o=n(95478),i=n.n(o),a=n(39850),s=n(36274),l=n(7031),c=n(11192),u=o.forwardRef(function(e,t){var n=e.children,i=e.classes,l=e.className,u=e.color,d=void 0===u?"inherit":u,p=e.component,f=void 0===p?"svg":p,h=e.fontSize,m=void 0===h?"medium":h,g=e.htmlColor,v=e.titleAccess,y=e.viewBox,b=void 0===y?"0 0 24 24":y,x=(0,a.A)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(f,(0,r.A)({className:(0,s.A)(i.root,l,"inherit"!==d&&i["color".concat((0,c.A)(d))],"default"!==m&&"medium"!==m&&i["fontSize".concat((0,c.A)(m))]),focusable:"false",viewBox:b,color:g,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t},x),n,v?o.createElement("title",null,v):null)});u.muiName="SvgIcon";const d=(0,l.A)(function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}},{name:"MuiSvgIcon"})(u);function p(e,t){var n=function(t,n){return i().createElement(d,(0,r.A)({ref:n},t),e)};return n.muiName=d.muiName,i().memo(i().forwardRef(n))}},2589:(e,t,n)=>{"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this;clearTimeout(t),t=setTimeout(function(){e.apply(a,o)},n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{A:()=>r})},18977:(e,t,n)=>{"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{A:()=>r})},50118:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>r.A,createChainedFunction:()=>o.A,createSvgIcon:()=>i.A,debounce:()=>a.A,deprecatedPropType:()=>s,isMuiElement:()=>l.A,ownerDocument:()=>c.A,ownerWindow:()=>u.A,requirePropFactory:()=>d,setRef:()=>p.A,unstable_useId:()=>v.A,unsupportedProp:()=>f,useControlled:()=>h.A,useEventCallback:()=>m.A,useForkRef:()=>g.A,useIsFocusVisible:()=>y.A});var r=n(11192),o=n(37260),i=n(58064),a=n(2589);function s(e,t){return function(){return null}}var l=n(73525),c=n(76446),u=n(82431);function d(e){return function(){return null}}var p=n(93371);function f(e,t,n,r,o){return null}var h=n(45065),m=n(70020),g=n(19878),v=n(18955),y=n(29409)},73525:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},76446:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},82431:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(76446);function o(e){return(0,r.A)(e).defaultView||window}},93371:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},18955:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect(function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))},[n]),i}},45065:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],s=i[1];return[o?t:a,r.useCallback(function(e){o||s(e)},[])]}},70020:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95478),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o(function(){t.current=e}),r.useCallback(function(){return t.current.apply(void 0,arguments)},[])}},19878:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95478),o=n(93371);function i(e,t){return r.useMemo(function(){return null==e&&null==t?null:function(n){(0,o.A)(e,n),(0,o.A)(t,n)}},[e,t])}},29409:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(95478),o=n(40484),i=!0,a=!1,s=null,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function p(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return i||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!l[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function f(){a=!0,window.clearTimeout(s),s=window.setTimeout(function(){a=!1},100)}function h(){return{isFocusVisible:p,onBlurVisible:f,ref:r.useCallback(function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))},[])}}},36274:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},52235:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");t.A=a},9181:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");t.A=a},6924:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.A=a},99594:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4l6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}),"FileCopy");t.A=a},39330:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"}),"OpenInNew");t.A=a},9684:(e,t,n)=>{"use strict";var r=n(4293),o=n(78920);t.A=void 0;var i=o(n(95478)),a=(0,r(n(74044)).default)(i.createElement("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");t.A=a},74044:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(50118)},64811:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},50232:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},27732:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M14 2H4c-1.11 0-2 .9-2 2v10h2V4h10zm4 4H8c-1.11 0-2 .9-2 2v10h2V8h10zm2 4h-8c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2"}),"AutoAwesomeMotion")},13295:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined")},3629:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V20c0 1.1.9 2 2 2h3.8v-1.5c0-1.49 1.21-2.7 2.7-2.7 1.49 0 2.7 1.21 2.7 2.7V22H17c1.1 0 2-.9 2-2v-4h1.5c1.38 0 2.5-1.12 2.5-2.5S21.88 11 20.5 11"}),"Extension")},97035:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)([(0,i.jsx)("path",{d:"M3 6H1v13c0 1.1.9 2 2 2h17v-2H3z"},"0"),(0,i.jsx)("path",{d:"M21 4h-7l-2-2H7c-1.1 0-1.99.9-1.99 2L5 15c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2"},"1")],"FolderCopy")},49915:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"}),"HelpOutline")},97522:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)([(0,i.jsx)("path",{d:"M21 8c-1.45 0-2.26 1.44-1.93 2.51l-3.55 3.56c-.3-.09-.74-.09-1.04 0l-2.55-2.55C12.27 10.45 11.46 9 10 9c-1.45 0-2.27 1.44-1.93 2.52l-4.56 4.55C2.44 15.74 1 16.55 1 18c0 1.1.9 2 2 2 1.45 0 2.26-1.44 1.93-2.51l4.55-4.56c.3.09.74.09 1.04 0l2.55 2.55C12.73 16.55 13.54 18 15 18c1.45 0 2.27-1.44 1.93-2.52l3.56-3.55c1.07.33 2.51-.48 2.51-1.93 0-1.1-.9-2-2-2"},"0"),(0,i.jsx)("path",{d:"m15 9 .94-2.07L18 6l-2.06-.93L15 3l-.92 2.07L12 6l2.08.93zM3.5 11 4 9l2-.5L4 8l-.5-2L3 8l-2 .5L3 9z"},"1")],"InsightsRounded")},46121:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined")},57368:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout")},52452:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications")},55330:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},94087:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},61690:(e,t,n)=>{"use strict";var r=n(4293);t.A=void 0;var o=r(n(80369)),i=n(31085);t.A=(0,o.default)((0,i.jsx)("path",{d:"M17 3H7c-1.1 0-1.99.9-1.99 2L5 21l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"TurnedInNot")},80369:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(79893)},81031:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(3345),d=n(84301),p=n(86310),f=n(18526);function h(e){return(0,f.Ay)("MuiAppBar",e)}(0,p.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var m=n(31085);const g=["className","color","enableColorOnDark","position"],v=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,y=(0,l.Ay)(d.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,u.A)(n.position)}`],t[`color${(0,u.A)(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,o.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,o.A)({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,o.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,o.A)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:v(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:v(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:v(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:v(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),b=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiAppBar"}),{className:i,color:l="primary",enableColorOnDark:d=!1,position:p="fixed"}=n,f=(0,r.A)(n,g),v=(0,o.A)({},n,{color:l,position:p,enableColorOnDark:d}),b=(e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${(0,u.A)(t)}`,`position${(0,u.A)(n)}`]};return(0,s.A)(o,h,r)})(v);return(0,m.jsx)(y,(0,o.A)({square:!0,component:"header",ownerState:v,elevation:4,className:(0,a.A)(b.root,i,"fixed"===p&&"mui-fixed"),ref:t},f))})},75638:(e,t,n)=>{"use strict";n.d(t,{A:()=>ae});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(77174),u=n(2662),d=n(10908),p=n(42768),f=n(89374);function h(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function m(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}const g=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:i,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=h(c));const u=c?e.filter(e=>{let r=(i||l)(e);return n&&(r=r.toLowerCase()),t&&(r=h(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1}):e;return"number"==typeof r?u.slice(0,r):u}}(),v=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))},y=[];var b=n(29285),x=n(59193),A=n(49556),w=n(3345),k=n(86310),S=n(18526);function C(e){return(0,S.Ay)("MuiListSubheader",e)}(0,k.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var E=n(31085);const M=["className","color","component","disableGutters","disableSticky","inset"],R=(0,x.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,w.A)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(({theme:e,ownerState:t})=>(0,o.A)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})),I=i.forwardRef(function(e,t){const n=(0,A.b)({props:e,name:"MuiListSubheader"}),{className:i,color:l="default",component:c="li",disableGutters:u=!1,disableSticky:d=!1,inset:p=!1}=n,f=(0,r.A)(n,M),h=(0,o.A)({},n,{color:l,component:c,disableGutters:u,disableSticky:d,inset:p}),m=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root","default"!==n&&`color${(0,w.A)(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,s.A)(a,C,t)})(h);return(0,E.jsx)(R,(0,o.A)({as:c,className:(0,a.A)(m.root,i),ref:t,ownerState:h},f))});I.muiSkipListHighlight=!0;const T=I;var P=n(84301),O=n(30330),L=n(113),_=n(67396),N=n(53203),j=n(20304),D=n(94776);const F=(0,n(41044).A)((0,E.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var $=n(50145);function z(e){return(0,S.Ay)("MuiAutocomplete",e)}const B=(0,k.A)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var W,H,V=n(42787);const U=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],q=["ref"],G=["key"],K=["key"],X=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${B.tag}`]:t.tag},{[`& .${B.tag}`]:t[`tagSize${(0,w.A)(s)}`]},{[`& .${B.inputRoot}`]:t.inputRoot},{[`& .${B.input}`]:t.input},{[`& .${B.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${B.focused} .${B.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${B.clearIndicator}`]:{visibility:"visible"}},[`& .${B.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${B.inputRoot}`]:{[`.${B.hasPopupIcon}&, .${B.hasClearIcon}&`]:{paddingRight:30},[`.${B.hasPopupIcon}.${B.hasClearIcon}&`]:{paddingRight:56},[`& .${B.input}`]:{width:0,minWidth:30}},[`& .${_.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${_.A.root}.${N.A.sizeSmall}`]:{[`& .${_.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${j.A.root}`]:{padding:9,[`.${B.hasPopupIcon}&, .${B.hasClearIcon}&`]:{paddingRight:39},[`.${B.hasPopupIcon}.${B.hasClearIcon}&`]:{paddingRight:65},[`& .${B.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${B.endAdornment}`]:{right:9}},[`& .${j.A.root}.${N.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${B.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${D.A.root}`]:{paddingTop:19,paddingLeft:8,[`.${B.hasPopupIcon}&, .${B.hasClearIcon}&`]:{paddingRight:39},[`.${B.hasPopupIcon}.${B.hasClearIcon}&`]:{paddingRight:65},[`& .${D.A.input}`]:{padding:"7px 4px"},[`& .${B.endAdornment}`]:{right:9}},[`& .${D.A.root}.${N.A.sizeSmall}`]:{paddingBottom:1,[`& .${D.A.input}`]:{padding:"2.5px 4px"}},[`& .${N.A.hiddenLabel}`]:{paddingTop:8},[`& .${D.A.root}.${N.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${B.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${D.A.root}.${N.A.hiddenLabel}.${N.A.sizeSmall}`]:{[`& .${B.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${B.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${B.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${B.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${B.inputRoot}`]:{flexWrap:"wrap"}}}]}),Y=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Z=(0,x.Ay)(O.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Q=(0,x.Ay)(O.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,o.A)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),J=(0,x.Ay)(b.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${B.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})),ee=(0,x.Ay)(P.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({theme:e})=>(0,o.A)({},e.typography.body1,{overflow:"auto"})),te=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),ne=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})),re=(0,x.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${B.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${B.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${B.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${B.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${B.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})),oe=(0,x.Ay)(T,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})),ie=(0,x.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${B.option}`]:{paddingLeft:24}}),ae=i.forwardRef(function(e,t){var n,l,h,x;const k=(0,A.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:S=!1,autoHighlight:C=!1,autoSelect:M=!1,blurOnSelect:R=!1,ChipProps:I,className:T,clearIcon:O=W||(W=(0,E.jsx)(F,{fontSize:"small"})),clearOnBlur:_=!k.freeSolo,clearOnEscape:N=!1,clearText:j="Clear",closeText:D="Close",componentsProps:B={},defaultValue:ae=(k.multiple?[]:null),disableClearable:se=!1,disableCloseOnSelect:le=!1,disabled:ce=!1,disabledItemsFocusable:ue=!1,disableListWrap:de=!1,disablePortal:pe=!1,filterSelectedOptions:fe=!1,forcePopupIcon:he="auto",freeSolo:me=!1,fullWidth:ge=!1,getLimitTagsText:ve=e=>`+${e}`,getOptionLabel:ye,groupBy:be,handleHomeEndKeys:xe=!k.freeSolo,includeInputInList:Ae=!1,limitTags:we=-1,ListboxComponent:ke="ul",ListboxProps:Se,loading:Ce=!1,loadingText:Ee="Loading…",multiple:Me=!1,noOptionsText:Re="No options",openOnFocus:Ie=!1,openText:Te="Open",PaperComponent:Pe=P.A,PopperComponent:Oe=b.A,popupIcon:Le=H||(H=(0,E.jsx)($.A,{})),readOnly:_e=!1,renderGroup:Ne,renderInput:je,renderOption:De,renderTags:Fe,selectOnFocus:$e=!k.freeSolo,size:ze="medium",slotProps:Be={}}=k,We=(0,r.A)(k,U),{getRootProps:He,getInputProps:Ve,getInputLabelProps:Ue,getPopupIndicatorProps:qe,getClearProps:Ge,getTagProps:Ke,getListboxProps:Xe,getOptionProps:Ye,value:Ze,dirty:Qe,expanded:Je,id:et,popupOpen:tt,focused:nt,focusedTag:rt,anchorEl:ot,setAnchorEl:it,inputValue:at,groupedOptions:st}=function(e){const{unstable_isActiveElementInListbox:t=v,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:s=!1,blurOnSelect:l=!1,clearOnBlur:h=!e.freeSolo,clearOnEscape:b=!1,componentName:x="useAutocomplete",defaultValue:A=(e.multiple?y:null),disableClearable:w=!1,disableCloseOnSelect:k=!1,disabled:S,disabledItemsFocusable:C=!1,disableListWrap:E=!1,filterOptions:M=g,filterSelectedOptions:R=!1,freeSolo:I=!1,getOptionDisabled:T,getOptionKey:P,getOptionLabel:O=e=>{var t;return null!=(t=e.label)?t:e},groupBy:L,handleHomeEndKeys:_=!e.freeSolo,id:N,includeInputInList:j=!1,inputValue:D,isOptionEqualToValue:F=(e,t)=>e===t,multiple:$=!1,onChange:z,onClose:B,onHighlightChange:W,onInputChange:H,onOpen:V,open:U,openOnFocus:q=!1,options:G,readOnly:K=!1,selectOnFocus:X=!e.freeSolo,value:Y}=e,Z=(0,c.A)(N);let Q=O;Q=e=>{const t=O(e);return"string"!=typeof t?String(t):t};const J=i.useRef(!1),ee=i.useRef(!0),te=i.useRef(null),ne=i.useRef(null),[re,oe]=i.useState(null),[ie,ae]=i.useState(-1),se=a?0:-1,le=i.useRef(se),[ce,ue]=(0,u.A)({controlled:Y,default:A,name:x}),[de,pe]=(0,u.A)({controlled:D,default:"",name:x,state:"inputValue"}),[fe,he]=i.useState(!1),me=i.useCallback((e,t)=>{if(!($?ce.length<t.length:null!==t)&&!h)return;let n;if($)n="";else if(null==t)n="";else{const e=Q(t);n="string"==typeof e?e:""}de!==n&&(pe(n),H&&H(e,n,"reset"))},[Q,de,$,H,pe,h,ce]),[ge,ve]=(0,u.A)({controlled:U,default:!1,name:x,state:"open"}),[ye,be]=i.useState(!0),xe=!$&&null!=ce&&de===Q(ce),Ae=ge&&!K,we=Ae?M(G.filter(e=>!R||!($?ce:[ce]).some(t=>null!==t&&F(e,t))),{inputValue:xe&&ye?"":de,getOptionLabel:Q}):[],ke=(0,d.A)({filteredOptions:we,value:ce,inputValue:de});i.useEffect(()=>{const e=ce!==ke.value;fe&&!e||I&&!e||me(null,ce)},[ce,me,fe,ke.value,I]);const Se=ge&&we.length>0&&!K,Ce=(0,p.A)(e=>{-1===e?te.current.focus():re.querySelector(`[data-tag-index="${e}"]`).focus()});i.useEffect(()=>{$&&ie>ce.length-1&&(ae(-1),Ce(-1))},[ce,$,ie,Ce]);const Ee=(0,p.A)(({event:e,index:t,reason:r="auto"})=>{if(le.current=t,-1===t?te.current.removeAttribute("aria-activedescendant"):te.current.setAttribute("aria-activedescendant",`${Z}-option-${t}`),W&&W(e,-1===t?null:we[t],r),!ne.current)return;const o=ne.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let i=ne.current;if("listbox"!==ne.current.getAttribute("role")&&(i=ne.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=ne.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===r&&a.classList.add(`${n}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=a,t=i.clientHeight+i.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?i.scrollTop=n-i.clientHeight:e.offsetTop-e.offsetHeight*(L?1.3:0)<i.scrollTop&&(i.scrollTop=e.offsetTop-e.offsetHeight*(L?1.3:0))}}),Me=(0,p.A)(({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!Ae)return;const i=function(e,t){if(!ne.current||e<0||e>=we.length)return-1;let n=e;for(;;){const r=ne.current.querySelector(`[data-option-index="${n}"]`),o=!C&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%we.length:(n-1+we.length)%we.length,n===e)return-1}}((()=>{const e=we.length-1;if("reset"===t)return se;if("start"===t)return 0;if("end"===t)return e;const n=le.current+t;return n<0?-1===n&&j?-1:E&&-1!==le.current||Math.abs(t)>1?0:e:n>e?n===e+1&&j?-1:E||Math.abs(t)>1?e:0:n})(),n);if(Ee({index:i,reason:o,event:e}),r&&"reset"!==t)if(-1===i)te.current.value=de;else{const e=Q(we[i]);te.current.value=e,0===e.toLowerCase().indexOf(de.toLowerCase())&&de.length>0&&te.current.setSelectionRange(de.length,e.length)}}),Re=i.useCallback(()=>{if(!Ae)return;const e=(()=>{if(-1!==le.current&&ke.filteredOptions&&ke.filteredOptions.length!==we.length&&ke.inputValue===de&&($?ce.length===ke.value.length&&ke.value.every((e,t)=>Q(ce[t])===Q(e)):(e=ke.value,t=ce,(e?Q(e):"")===(t?Q(t):"")))){const e=ke.filteredOptions[le.current];if(e)return m(we,t=>Q(t)===Q(e))}var e,t;return-1})();if(-1!==e)return void(le.current=e);const t=$?ce[0]:ce;if(0!==we.length&&null!=t){if(ne.current){if(null!=t){const e=we[le.current];if($&&e&&-1!==m(ce,t=>F(e,t)))return;const n=m(we,e=>F(e,t));return void(-1===n?Me({diff:"reset"}):Ee({index:n}))}le.current>=we.length-1?Ee({index:we.length-1}):Ee({index:le.current})}}else Me({diff:"reset"})},[we.length,!$&&ce,R,Me,Ee,Ae,de,$]),Ie=(0,p.A)(e=>{(0,f.A)(ne,e),e&&Re()});i.useEffect(()=>{Re()},[Re]);const Te=e=>{ge||(ve(!0),be(!0),V&&V(e))},Pe=(e,t)=>{ge&&(ve(!1),B&&B(e,t))},Oe=(e,t,n,r)=>{if($){if(ce.length===t.length&&ce.every((e,n)=>e===t[n]))return}else if(ce===t)return;z&&z(e,t,n,r),ue(t)},Le=i.useRef(!1),_e=(e,t,n="selectOption",r="options")=>{let o=n,i=t;if($){i=Array.isArray(ce)?ce.slice():[];const e=m(i,e=>F(t,e));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),o="removeOption")}me(e,i),Oe(e,i,o,{option:t}),k||e&&(e.ctrlKey||e.metaKey)||Pe(e,o),(!0===l||"touch"===l&&Le.current||"mouse"===l&&!Le.current)&&te.current.blur()},Ne=(e,t)=>{if(!$)return;""===de&&Pe(e,"toggleInput");let n=ie;-1===ie?""===de&&"previous"===t&&(n=ce.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===ce.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ce.length||"previous"===t&&-1===n)return-1;const e=re.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),ae(n),Ce(n)},je=e=>{J.current=!0,pe(""),H&&H(e,"","clear"),Oe(e,$?[]:null,"clear")},De=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==ie&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(ae(-1),Ce(-1)),229!==t.which))switch(t.key){case"Home":Ae&&_&&(t.preventDefault(),Me({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":Ae&&_&&(t.preventDefault(),Me({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Me({diff:-5,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"PageDown":t.preventDefault(),Me({diff:5,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowDown":t.preventDefault(),Me({diff:1,direction:"next",reason:"keyboard",event:t}),Te(t);break;case"ArrowUp":t.preventDefault(),Me({diff:-1,direction:"previous",reason:"keyboard",event:t}),Te(t);break;case"ArrowLeft":Ne(t,"previous");break;case"ArrowRight":Ne(t,"next");break;case"Enter":if(-1!==le.current&&Ae){const e=we[le.current],n=!!T&&T(e);if(t.preventDefault(),n)return;_e(t,e,"selectOption"),r&&te.current.setSelectionRange(te.current.value.length,te.current.value.length)}else I&&""!==de&&!1===xe&&($&&t.preventDefault(),_e(t,de,"createOption","freeSolo"));break;case"Escape":Ae?(t.preventDefault(),t.stopPropagation(),Pe(t,"escape")):b&&(""!==de||$&&ce.length>0)&&(t.preventDefault(),t.stopPropagation(),je(t));break;case"Backspace":if($&&!K&&""===de&&ce.length>0){const e=-1===ie?ce.length-1:ie,n=ce.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:ce[e]})}break;case"Delete":if($&&!K&&""===de&&ce.length>0&&-1!==ie){const e=ie,n=ce.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:ce[e]})}}},Fe=e=>{he(!0),q&&!J.current&&Te(e)},$e=e=>{t(ne)?te.current.focus():(he(!1),ee.current=!0,J.current=!1,s&&-1!==le.current&&Ae?_e(e,we[le.current],"blur"):s&&I&&""!==de?_e(e,de,"blur","freeSolo"):h&&me(e,ce),Pe(e,"blur"))},ze=e=>{const t=e.target.value;de!==t&&(pe(t),be(!1),H&&H(e,t,"input")),""===t?w||$||Oe(e,null,"clear"):Te(e)},Be=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));le.current!==t&&Ee({event:e,index:t,reason:"mouse"})},We=e=>{Ee({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Le.current=!0},He=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));_e(e,we[t],"selectOption"),Le.current=!1},Ve=e=>t=>{const n=ce.slice();n.splice(e,1),Oe(t,n,"removeOption",{option:ce[e]})},Ue=e=>{ge?Pe(e,"toggleInput"):Te(e)},qe=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==Z&&e.preventDefault()},Ge=e=>{e.currentTarget.contains(e.target)&&(te.current.focus(),X&&ee.current&&te.current.selectionEnd-te.current.selectionStart===0&&te.current.select(),ee.current=!1)},Ke=e=>{S||""!==de&&ge||Ue(e)};let Xe=I&&de.length>0;Xe=Xe||($?ce.length>0:null!==ce);let Ye=we;return L&&(new Map,Ye=we.reduce((e,t,n)=>{const r=L(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e},[])),S&&fe&&$e(),{getRootProps:(e={})=>(0,o.A)({"aria-owns":Se?`${Z}-listbox`:null},e,{onKeyDown:De(e),onMouseDown:qe,onClick:Ge}),getInputLabelProps:()=>({id:`${Z}-label`,htmlFor:Z}),getInputProps:()=>({id:Z,value:de,onBlur:$e,onFocus:Fe,onChange:ze,onMouseDown:Ke,"aria-activedescendant":Ae?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Se?`${Z}-listbox`:void 0,"aria-expanded":Se,autoComplete:"off",ref:te,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:S}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:je}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ue}),getTagProps:({index:e})=>(0,o.A)({key:e,"data-tag-index":e,tabIndex:-1},!K&&{onDelete:Ve(e)}),getListboxProps:()=>({role:"listbox",id:`${Z}-listbox`,"aria-labelledby":`${Z}-label`,ref:Ie,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=($?ce:[ce]).some(e=>null!=e&&F(t,e)),o=!!T&&T(t);return{key:null!=(n=null==P?void 0:P(t))?n:Q(t),tabIndex:-1,role:"option",id:`${Z}-option-${e}`,onMouseMove:Be,onClick:He,onTouchStart:We,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:Z,inputValue:de,value:ce,dirty:Xe,expanded:Ae&&re,popupOpen:Ae,focused:fe||-1!==ie,anchorEl:re,setAnchorEl:oe,focusedTag:ie,groupedOptions:Ye}}((0,o.A)({},k,{componentName:"Autocomplete"})),lt=!se&&!ce&&Qe&&!_e,ct=(!me||!0===he)&&!1!==he,{onMouseDown:ut}=Ve(),{ref:dt}=null!=Se?Se:{},pt=Xe(),{ref:ft}=pt,ht=(0,r.A)(pt,q),mt=(0,V.A)(ft,dt),gt=ye||(e=>{var t;return null!=(t=e.label)?t:e}),vt=(0,o.A)({},k,{disablePortal:pe,expanded:Je,focused:nt,fullWidth:ge,getOptionLabel:gt,hasClearIcon:lt,hasPopupIcon:ct,inputFocused:-1===rt,popupOpen:tt,size:ze}),yt=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:l,inputFocused:c,popupOpen:u,size:d}=e,p={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${(0,w.A)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,s.A)(p,z,t)})(vt);let bt;if(Me&&Ze.length>0){const e=e=>(0,o.A)({className:yt.tag,disabled:ce},Ke(e));bt=Fe?Fe(Ze,e,vt):Ze.map((t,n)=>{const i=e({index:n}),{key:a}=i,s=(0,r.A)(i,G);return(0,E.jsx)(L.A,(0,o.A)({label:gt(t),size:ze},s,I),a)})}if(we>-1&&Array.isArray(bt)){const e=bt.length-we;!nt&&e>0&&(bt=bt.splice(0,we),bt.push((0,E.jsx)("span",{className:yt.tag,children:ve(e)},bt.length)))}const xt=Ne||(e=>(0,E.jsxs)("li",{children:[(0,E.jsx)(oe,{className:yt.groupLabel,ownerState:vt,component:"div",children:e.group}),(0,E.jsx)(ie,{className:yt.groupUl,ownerState:vt,children:e.children})]},e.key)),At=De||((e,t)=>{const{key:n}=e,i=(0,r.A)(e,K);return(0,E.jsx)("li",(0,o.A)({},i,{children:gt(t)}),n)}),wt=(e,t)=>{const n=Ye({option:e,index:t});return At((0,o.A)({},n,{className:yt.option}),e,{selected:n["aria-selected"],index:t,inputValue:at},vt)},kt=null!=(n=Be.clearIndicator)?n:B.clearIndicator,St=null!=(l=Be.paper)?l:B.paper,Ct=null!=(h=Be.popper)?h:B.popper,Et=null!=(x=Be.popupIndicator)?x:B.popupIndicator;return(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)(X,(0,o.A)({ref:t,className:(0,a.A)(yt.root,T),ownerState:vt},He(We),{children:je({id:et,disabled:ce,fullWidth:!0,size:"small"===ze?"small":void 0,InputLabelProps:Ue(),InputProps:(0,o.A)({ref:it,className:yt.inputRoot,startAdornment:bt,onClick:e=>{e.target===e.currentTarget&&ut(e)}},(lt||ct)&&{endAdornment:(0,E.jsxs)(Y,{className:yt.endAdornment,ownerState:vt,children:[lt?(0,E.jsx)(Z,(0,o.A)({},Ge(),{"aria-label":j,title:j,ownerState:vt},kt,{className:(0,a.A)(yt.clearIndicator,null==kt?void 0:kt.className),children:O})):null,ct?(0,E.jsx)(Q,(0,o.A)({},qe(),{disabled:ce,"aria-label":tt?D:Te,title:tt?D:Te,ownerState:vt},Et,{className:(0,a.A)(yt.popupIndicator,null==Et?void 0:Et.className),children:Le})):null]})}),inputProps:(0,o.A)({className:yt.input,disabled:ce,readOnly:_e},Ve())})})),ot?(0,E.jsx)(J,(0,o.A)({as:Oe,disablePortal:pe,style:{width:ot?ot.clientWidth:null},ownerState:vt,role:"presentation",anchorEl:ot,open:tt},Ct,{className:(0,a.A)(yt.popper,null==Ct?void 0:Ct.className),children:(0,E.jsxs)(ee,(0,o.A)({ownerState:vt,as:Pe},St,{className:(0,a.A)(yt.paper,null==St?void 0:St.className),children:[Ce&&0===st.length?(0,E.jsx)(te,{className:yt.loading,ownerState:vt,children:Ee}):null,0!==st.length||me||Ce?null:(0,E.jsx)(ne,{className:yt.noOptions,ownerState:vt,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:Re}),st.length>0?(0,E.jsx)(re,(0,o.A)({as:ke,className:yt.listbox,ownerState:vt},ht,Se,{ref:mt,children:st.map((e,t)=>be?xt({key:e.key,group:e.group,children:e.options.map((t,n)=>wt(t,e.index+n))}):wt(e,t))})):null]}))})):null]})})},55626:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(41044),d=n(31085);const p=(0,u.A)((0,d.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var f=n(86310),h=n(18526);function m(e){return(0,h.Ay)("MuiAvatar",e)}(0,f.A)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var g=n(75584),v=n(80288),y=n(48342),b=n(99116);const x=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],A=["component","slots","slotProps"],w=["component"],k=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],S=(0,l.Ay)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,o.A)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:(0,o.A)({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),C=(0,l.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),E=(0,l.Ay)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),M=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiAvatar"}),{alt:l,children:u,className:p,component:f="div",slots:h={},slotProps:M={},imgProps:R,sizes:I,src:T,srcSet:P,variant:O="circular"}=n,L=(0,r.A)(n,k);let _=null;const N=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=i.useState(!1);return i.useEffect(()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}},[e,t,n,r]),o}((0,o.A)({},R,{src:T,srcSet:P})),j=T||P,D=j&&"error"!==N,F=(0,o.A)({},n,{colorDefault:!D,component:f,variant:O}),$=(e=>{const{classes:t,variant:n,colorDefault:r}=e,o={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,s.A)(o,m,t)})(F),[z,B]=function(e,t){const{className:n,elementType:i,ownerState:a,externalForwardedProps:s,getSlotOwnerState:l,internalForwardedProps:c}=t,u=(0,r.A)(t,x),{component:d,slots:p={[e]:void 0},slotProps:f={[e]:void 0}}=s,h=(0,r.A)(s,A),m=p[e]||i,k=(0,y.A)(f[e],a),S=(0,b.A)((0,o.A)({className:n},u,{externalForwardedProps:"root"===e?h:void 0,externalSlotProps:k})),{props:{component:C},internalRef:E}=S,M=(0,r.A)(S.props,w),R=(0,g.A)(E,null==k?void 0:k.ref,t.ref),I=l?l(M):{},T=(0,o.A)({},a,I),P="root"===e?C||d:C,O=(0,v.A)(m,(0,o.A)({},"root"===e&&!d&&!p[e]&&c,"root"!==e&&!p[e]&&c,M,P&&{as:P},{ref:R}),T);return Object.keys(I).forEach(e=>{delete O[e]}),[m,O]}("img",{className:$.img,elementType:C,externalForwardedProps:{slots:h,slotProps:{img:(0,o.A)({},R,M.img)}},additionalProps:{alt:l,src:T,srcSet:P,sizes:I},ownerState:F});return _=D?(0,d.jsx)(z,(0,o.A)({},B)):u||0===u?u:j&&l?l[0]:(0,d.jsx)(E,{ownerState:F,className:$.fallback}),(0,d.jsx)(S,(0,o.A)({as:f,ownerState:F,className:(0,a.A)($.root,p),ref:t},L,{children:_}))})},33265:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(10908),l=n(90028),c=n(71014);var u=n(59193),d=n(49556),p=n(3345),f=n(86310),h=n(18526);function m(e){return(0,h.Ay)("MuiBadge",e)}const g=(0,f.A)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);var v=n(31085);const y=["anchorOrigin","className","classes","component","components","componentsProps","children","overlap","color","invisible","max","badgeContent","slots","slotProps","showZero","variant"],b=(0,u.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),x=(0,u.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,p.A)(n.anchorOrigin.vertical)}${(0,p.A)(n.anchorOrigin.horizontal)}${(0,p.A)(n.overlap)}`],"default"!==n.color&&t[`color${(0,p.A)(n.color)}`],n.invisible&&t.invisible]}})(({theme:e})=>{var t;return{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var n,r;return(null!=(n=e.vars)?n:e).palette[t].main&&(null!=(r=e.vars)?r:e).palette[t].contrastText}).map(t=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${g.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]}}),A=i.forwardRef(function(e,t){var n,i,u,f,h,g;const A=(0,d.b)({props:e,name:"MuiBadge"}),{anchorOrigin:w={vertical:"top",horizontal:"right"},className:k,component:S,components:C={},componentsProps:E={},children:M,overlap:R="rectangular",color:I="default",invisible:T=!1,max:P=99,badgeContent:O,slots:L,slotProps:_,showZero:N=!1,variant:j="standard"}=A,D=(0,o.A)(A,y),{badgeContent:F,invisible:$,max:z,displayValue:B}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=(0,s.A)({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:l,max:c=r}=a?i:e;return{badgeContent:l,invisible:a,max:c,displayValue:l&&Number(l)>c?`${c}+`:l}}({max:P,invisible:T,badgeContent:O,showZero:N}),W=(0,s.A)({anchorOrigin:w,color:I,overlap:R,variant:j,badgeContent:O}),H=$||null==F&&"dot"!==j,{color:V=I,overlap:U=R,anchorOrigin:q=w,variant:G=j}=H?W:A,K="dot"!==G?B:void 0,X=(0,r.A)({},A,{badgeContent:F,invisible:H,max:z,displayValue:K,showZero:N,anchorOrigin:q,color:V,overlap:U,variant:G}),Y=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e,s={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${(0,p.A)(n.vertical)}${(0,p.A)(n.horizontal)}`,`anchorOrigin${(0,p.A)(n.vertical)}${(0,p.A)(n.horizontal)}${(0,p.A)(o)}`,`overlap${(0,p.A)(o)}`,"default"!==t&&`color${(0,p.A)(t)}`]};return(0,l.A)(s,m,a)})(X),Z=null!=(n=null!=(i=null==L?void 0:L.root)?i:C.Root)?n:b,Q=null!=(u=null!=(f=null==L?void 0:L.badge)?f:C.Badge)?u:x,J=null!=(h=null==_?void 0:_.root)?h:E.root,ee=null!=(g=null==_?void 0:_.badge)?g:E.badge,te=(0,c.A)({elementType:Z,externalSlotProps:J,externalForwardedProps:D,additionalProps:{ref:t,as:S},ownerState:X,className:(0,a.A)(null==J?void 0:J.className,Y.root,k)}),ne=(0,c.A)({elementType:Q,externalSlotProps:ee,ownerState:X,className:(0,a.A)(Y.badge,null==ee?void 0:ee.className)});return(0,v.jsxs)(Z,(0,r.A)({},te,{children:[M,(0,v.jsx)(Q,(0,r.A)({},ne,{children:K}))]}))})},46702:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(54994),o=n(64636),i=n(17063),a=n(58001);const s=(0,n(86310).A)("MuiBox",["root"]),l=(0,i.A)(),c=(0,r.createBox)({themeId:a.A,defaultTheme:l,defaultClassName:s.root,generateClassName:o.A.generate})},58213:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(42787),d=n(56113),p=n(50227),f=n(1675),h=n(54994),m=n(50909),g=n(31085);var v=n(86310);const y=(0,v.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),b=["center","classes","className"];let x,A,w,k,S=e=>e;const C=(0,h.keyframes)(x||(x=S`
|
|
3
|
-
0% {
|
|
4
|
-
transform: scale(0);
|
|
5
|
-
opacity: 0.1;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
100% {
|
|
9
|
-
transform: scale(1);
|
|
10
|
-
opacity: 0.3;
|
|
11
|
-
}
|
|
12
|
-
`)),E=(0,h.keyframes)(A||(A=S`
|
|
13
|
-
0% {
|
|
14
|
-
opacity: 1;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
100% {
|
|
18
|
-
opacity: 0;
|
|
19
|
-
}
|
|
20
|
-
`)),M=(0,h.keyframes)(w||(w=S`
|
|
21
|
-
0% {
|
|
22
|
-
transform: scale(1);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
50% {
|
|
26
|
-
transform: scale(0.92);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
100% {
|
|
30
|
-
transform: scale(1);
|
|
31
|
-
}
|
|
32
|
-
`)),R=(0,l.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),I=(0,l.Ay)(function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=e,[p,f]=i.useState(!1),h=(0,a.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:l,height:l,top:-l/2+s,left:-l/2+o},v=(0,a.A)(n.child,p&&n.childLeaving,r&&n.childPulsate);return c||p||f(!0),i.useEffect(()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}},[u,c,d]),(0,g.jsx)("span",{className:h,style:m,children:(0,g.jsx)("span",{className:v})})},{name:"MuiTouchRipple",slot:"Ripple"})(k||(k=S`
|
|
33
|
-
opacity: 0;
|
|
34
|
-
position: absolute;
|
|
35
|
-
|
|
36
|
-
&.${0} {
|
|
37
|
-
opacity: 0.3;
|
|
38
|
-
transform: scale(1);
|
|
39
|
-
animation-name: ${0};
|
|
40
|
-
animation-duration: ${0}ms;
|
|
41
|
-
animation-timing-function: ${0};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.${0} {
|
|
45
|
-
animation-duration: ${0}ms;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
& .${0} {
|
|
49
|
-
opacity: 1;
|
|
50
|
-
display: block;
|
|
51
|
-
width: 100%;
|
|
52
|
-
height: 100%;
|
|
53
|
-
border-radius: 50%;
|
|
54
|
-
background-color: currentColor;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
& .${0} {
|
|
58
|
-
opacity: 0;
|
|
59
|
-
animation-name: ${0};
|
|
60
|
-
animation-duration: ${0}ms;
|
|
61
|
-
animation-timing-function: ${0};
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
& .${0} {
|
|
65
|
-
position: absolute;
|
|
66
|
-
/* @noflip */
|
|
67
|
-
left: 0px;
|
|
68
|
-
top: 0;
|
|
69
|
-
animation-name: ${0};
|
|
70
|
-
animation-duration: 2500ms;
|
|
71
|
-
animation-timing-function: ${0};
|
|
72
|
-
animation-iteration-count: infinite;
|
|
73
|
-
animation-delay: 200ms;
|
|
74
|
-
}
|
|
75
|
-
`),y.rippleVisible,C,550,({theme:e})=>e.transitions.easing.easeInOut,y.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,y.child,y.childLeaving,E,550,({theme:e})=>e.transitions.easing.easeInOut,y.childPulsate,M,({theme:e})=>e.transitions.easing.easeInOut),T=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:u}=n,d=(0,o.A)(n,b),[p,h]=i.useState([]),v=i.useRef(0),x=i.useRef(null);i.useEffect(()=>{x.current&&(x.current(),x.current=null)},[p]);const A=i.useRef(!1),w=(0,m.A)(),k=i.useRef(null),S=i.useRef(null),C=i.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;h(e=>[...e,(0,g.jsx)(I,{classes:{ripple:(0,a.A)(l.ripple,y.ripple),rippleVisible:(0,a.A)(l.rippleVisible,y.rippleVisible),ripplePulsate:(0,a.A)(l.ripplePulsate,y.ripplePulsate),child:(0,a.A)(l.child,y.child),childLeaving:(0,a.A)(l.childLeaving,y.childLeaving),childPulsate:(0,a.A)(l.childPulsate,y.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},v.current)]),v.current+=1,x.current=i},[l]),E=i.useCallback((e={},t={},n=()=>{})=>{const{pulsate:r=!1,center:o=s||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&A.current)return void(A.current=!1);"touchstart"===(null==e?void 0:e.type)&&(A.current=!0);const a=i?null:S.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===k.current&&(k.current=()=>{C({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},w.start(80,()=>{k.current&&(k.current(),k.current=null)})):C({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},[s,C,w]),M=i.useCallback(()=>{E({},{pulsate:!0})},[E]),T=i.useCallback((e,t)=>{if(w.clear(),"touchend"===(null==e?void 0:e.type)&&k.current)return k.current(),k.current=null,void w.start(0,()=>{T(e,t)});k.current=null,h(e=>e.length>0?e.slice(1):e),x.current=t},[w]);return i.useImperativeHandle(t,()=>({pulsate:M,start:E,stop:T}),[M,E,T]),(0,g.jsx)(R,(0,r.A)({className:(0,a.A)(y.root,l.root,u),ref:S},d,{children:(0,g.jsx)(f.A,{component:null,exit:!0,children:p})}))});var P=n(18526);function O(e){return(0,P.Ay)("MuiButtonBase",e)}const L=(0,v.A)("MuiButtonBase",["root","disabled","focusVisible"]),_=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],N=(0,l.Ay)("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"},[`&.${L.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),j=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:h,className:m,component:v="button",disabled:y=!1,disableRipple:b=!1,disableTouchRipple:x=!1,focusRipple:A=!1,LinkComponent:w="a",onBlur:k,onClick:S,onContextMenu:C,onDragLeave:E,onFocus:M,onFocusVisible:R,onKeyDown:I,onKeyUp:P,onMouseDown:L,onMouseLeave:j,onMouseUp:D,onTouchEnd:F,onTouchMove:$,onTouchStart:z,tabIndex:B=0,TouchRippleProps:W,touchRippleRef:H,type:V}=n,U=(0,o.A)(n,_),q=i.useRef(null),G=i.useRef(null),K=(0,u.A)(G,H),{isFocusVisibleRef:X,onFocus:Y,onBlur:Z,ref:Q}=(0,p.A)(),[J,ee]=i.useState(!1);y&&J&&ee(!1),i.useImperativeHandle(l,()=>({focusVisible:()=>{ee(!0),q.current.focus()}}),[]);const[te,ne]=i.useState(!1);i.useEffect(()=>{ne(!0)},[]);const re=te&&!b&&!y;function oe(e,t,n=x){return(0,d.A)(r=>(t&&t(r),!n&&G.current&&G.current[e](r),!0))}i.useEffect(()=>{J&&A&&!b&&te&&G.current.pulsate()},[b,A,J,te]);const ie=oe("start",L),ae=oe("stop",C),se=oe("stop",E),le=oe("stop",D),ce=oe("stop",e=>{J&&e.preventDefault(),j&&j(e)}),ue=oe("start",z),de=oe("stop",F),pe=oe("stop",$),fe=oe("stop",e=>{Z(e),!1===X.current&&ee(!1),k&&k(e)},!1),he=(0,d.A)(e=>{q.current||(q.current=e.currentTarget),Y(e),!0===X.current&&(ee(!0),R&&R(e)),M&&M(e)}),me=()=>{const e=q.current;return v&&"button"!==v&&!("A"===e.tagName&&e.href)},ge=i.useRef(!1),ve=(0,d.A)(e=>{A&&!ge.current&&J&&G.current&&" "===e.key&&(ge.current=!0,G.current.stop(e,()=>{G.current.start(e)})),e.target===e.currentTarget&&me()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&me()&&"Enter"===e.key&&!y&&(e.preventDefault(),S&&S(e))}),ye=(0,d.A)(e=>{A&&" "===e.key&&G.current&&J&&!e.defaultPrevented&&(ge.current=!1,G.current.stop(e,()=>{G.current.pulsate(e)})),P&&P(e),S&&e.target===e.currentTarget&&me()&&" "===e.key&&!e.defaultPrevented&&S(e)});let be=v;"button"===be&&(U.href||U.to)&&(be=w);const xe={};"button"===be?(xe.type=void 0===V?"button":V,xe.disabled=y):(U.href||U.to||(xe.role="button"),y&&(xe["aria-disabled"]=y));const Ae=(0,u.A)(t,Q,q),we=(0,r.A)({},n,{centerRipple:f,component:v,disabled:y,disableRipple:b,disableTouchRipple:x,focusRipple:A,tabIndex:B,focusVisible:J}),ke=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,s.A)(i,O,o);return n&&r&&(a.root+=` ${r}`),a})(we);return(0,g.jsxs)(N,(0,r.A)({as:be,className:(0,a.A)(ke.root,m),ownerState:we,onBlur:fe,onClick:S,onContextMenu:ae,onFocus:he,onKeyDown:ve,onKeyUp:ye,onMouseDown:ie,onMouseLeave:ce,onMouseUp:le,onDragLeave:se,onTouchEnd:de,onTouchMove:pe,onTouchStart:ue,ref:Ae,tabIndex:y?-1:B,type:V},xe,U,{children:[h,re?(0,g.jsx)(T,(0,r.A)({ref:K,center:f},W)):null]}))})},12302:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(84301),d=n(86310),p=n(18526);function f(e){return(0,p.Ay)("MuiCard",e)}(0,d.A)("MuiCard",["root"]);var h=n(31085);const m=["className","raised"],g=(0,l.Ay)(u.A,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),v=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiCard"}),{className:i,raised:l=!1}=n,u=(0,o.A)(n,m),d=(0,r.A)({},n,{raised:l}),p=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},f,t)})(d);return(0,h.jsx)(g,(0,r.A)({className:(0,a.A)(p.root,i),elevation:l?8:void 0,ref:t,ownerState:d},u))})},80731:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(86310),d=n(18526);function p(e){return(0,d.Ay)("MuiCardContent",e)}(0,u.A)("MuiCardContent",["root"]);var f=n(31085);const h=["className","component"],m=(0,l.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),g=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiCardContent"}),{className:i,component:l="div"}=n,u=(0,o.A)(n,h),d=(0,r.A)({},n,{component:l}),g=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},p,t)})(d);return(0,f.jsx)(m,(0,r.A)({as:l,className:(0,a.A)(g.root,i),ownerState:d,ref:t},u))})},113:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(41044),u=n(31085);const d=(0,c.A)((0,u.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var p=n(42787),f=n(3345),h=n(58213),m=n(49556),g=n(59193),v=n(86310),y=n(18526);function b(e){return(0,y.Ay)("MuiChip",e)}const x=(0,v.A)("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),A=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],w=(0,g.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${x.avatar}`]:t.avatar},{[`& .${x.avatar}`]:t[`avatar${(0,f.A)(s)}`]},{[`& .${x.avatar}`]:t[`avatarColor${(0,f.A)(r)}`]},{[`& .${x.icon}`]:t.icon},{[`& .${x.icon}`]:t[`icon${(0,f.A)(s)}`]},{[`& .${x.icon}`]:t[`iconColor${(0,f.A)(o)}`]},{[`& .${x.deleteIcon}`]:t.deleteIcon},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,f.A)(s)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIconColor${(0,f.A)(r)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,f.A)(l)}Color${(0,f.A)(r)}`]},t.root,t[`size${(0,f.A)(s)}`],t[`color${(0,f.A)(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${(0,f.A)(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${(0,f.A)(r)}`],t[l],t[`${l}${(0,f.A)(r)}`]]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,o.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${x.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${x.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${x.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${x.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${x.icon}`]:(0,o.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,o.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${x.deleteIcon}`]:(0,o.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,l.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,l.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>(0,o.A)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>(0,o.A)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${x.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${x.avatar}`]:{marginLeft:4},[`& .${x.avatarSmall}`]:{marginLeft:2},[`& .${x.icon}`]:{marginLeft:4},[`& .${x.iconSmall}`]:{marginLeft:2},[`& .${x.deleteIcon}`]:{marginRight:5},[`& .${x.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].main,.7)}`,[`&.${x.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,l.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${x.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,l.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),k=(0,g.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,f.A)(r)}`]]}})(({ownerState:e})=>(0,o.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7}));function S(e){return"Backspace"===e.key||"Delete"===e.key}const C=i.forwardRef(function(e,t){const n=(0,m.b)({props:e,name:"MuiChip"}),{avatar:l,className:c,clickable:g,color:v="default",component:y,deleteIcon:x,disabled:C=!1,icon:E,label:M,onClick:R,onDelete:I,onKeyDown:T,onKeyUp:P,size:O="medium",variant:L="filled",tabIndex:_,skipFocusWhenDisabled:N=!1}=n,j=(0,r.A)(n,A),D=i.useRef(null),F=(0,p.A)(D,t),$=e=>{e.stopPropagation(),I&&I(e)},z=!(!1===g||!R)||g,B=z||I?h.A:y||"div",W=(0,o.A)({},n,{component:B,disabled:C,size:O,color:v,iconColor:i.isValidElement(E)&&E.props.color||v,onDelete:!!I,clickable:z,variant:L}),H=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:l,variant:c}=e,u={root:["root",c,n&&"disabled",`size${(0,f.A)(r)}`,`color${(0,f.A)(o)}`,l&&"clickable",l&&`clickableColor${(0,f.A)(o)}`,a&&"deletable",a&&`deletableColor${(0,f.A)(o)}`,`${c}${(0,f.A)(o)}`],label:["label",`label${(0,f.A)(r)}`],avatar:["avatar",`avatar${(0,f.A)(r)}`,`avatarColor${(0,f.A)(o)}`],icon:["icon",`icon${(0,f.A)(r)}`,`iconColor${(0,f.A)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,f.A)(r)}`,`deleteIconColor${(0,f.A)(o)}`,`deleteIcon${(0,f.A)(c)}Color${(0,f.A)(o)}`]};return(0,s.A)(u,b,t)})(W),V=B===h.A?(0,o.A)({component:y||"div",focusVisibleClassName:H.focusVisible},I&&{disableRipple:!0}):{};let U=null;I&&(U=x&&i.isValidElement(x)?i.cloneElement(x,{className:(0,a.A)(x.props.className,H.deleteIcon),onClick:$}):(0,u.jsx)(d,{className:(0,a.A)(H.deleteIcon),onClick:$}));let q=null;l&&i.isValidElement(l)&&(q=i.cloneElement(l,{className:(0,a.A)(H.avatar,l.props.className)}));let G=null;return E&&i.isValidElement(E)&&(G=i.cloneElement(E,{className:(0,a.A)(H.icon,E.props.className)})),(0,u.jsxs)(w,(0,o.A)({as:B,className:(0,a.A)(H.root,c),disabled:!(!z||!C)||void 0,onClick:R,onKeyDown:e=>{e.currentTarget===e.target&&S(e)&&e.preventDefault(),T&&T(e)},onKeyUp:e=>{e.currentTarget===e.target&&(I&&S(e)?I(e):"Escape"===e.key&&D.current&&D.current.blur()),P&&P(e)},ref:F,tabIndex:N&&C?-1:_,ownerState:W},V,j,{children:[q||G,(0,u.jsx)(k,{className:(0,a.A)(H.label),ownerState:W,children:M}),U]}))})},47566:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(54994),c=n(3345),u=n(49556),d=n(59193),p=n(86310),f=n(18526);function h(e){return(0,f.Ay)("MuiCircularProgress",e)}(0,p.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var m=n(31085);const g=["className","color","disableShrink","size","style","thickness","value","variant"];let v,y,b,x,A=e=>e;const w=(0,l.keyframes)(v||(v=A`
|
|
76
|
-
0% {
|
|
77
|
-
transform: rotate(0deg);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
100% {
|
|
81
|
-
transform: rotate(360deg);
|
|
82
|
-
}
|
|
83
|
-
`)),k=(0,l.keyframes)(y||(y=A`
|
|
84
|
-
0% {
|
|
85
|
-
stroke-dasharray: 1px, 200px;
|
|
86
|
-
stroke-dashoffset: 0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
50% {
|
|
90
|
-
stroke-dasharray: 100px, 200px;
|
|
91
|
-
stroke-dashoffset: -15px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
100% {
|
|
95
|
-
stroke-dasharray: 100px, 200px;
|
|
96
|
-
stroke-dashoffset: -125px;
|
|
97
|
-
}
|
|
98
|
-
`)),S=(0,d.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,c.A)(n.color)}`]]}})(({ownerState:e,theme:t})=>(0,o.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,l.css)(b||(b=A`
|
|
99
|
-
animation: ${0} 1.4s linear infinite;
|
|
100
|
-
`),w)),C=(0,d.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),E=(0,d.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,c.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,o.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.css)(x||(x=A`
|
|
101
|
-
animation: ${0} 1.4s ease-in-out infinite;
|
|
102
|
-
`),k)),M=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:d=!1,size:p=40,style:f,thickness:v=3.6,value:y=0,variant:b="indeterminate"}=n,x=(0,r.A)(n,g),A=(0,o.A)({},n,{color:l,disableShrink:d,size:p,thickness:v,value:y,variant:b}),w=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,c.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.A)(n)}`,o&&"circleDisableShrink"]};return(0,s.A)(i,h,t)})(A),k={},M={},R={};if("determinate"===b){const e=2*Math.PI*((44-v)/2);k.strokeDasharray=e.toFixed(3),R["aria-valuenow"]=Math.round(y),k.strokeDashoffset=`${((100-y)/100*e).toFixed(3)}px`,M.transform="rotate(-90deg)"}return(0,m.jsx)(S,(0,o.A)({className:(0,a.A)(w.root,i),style:(0,o.A)({width:p,height:p},M,f),ownerState:A,ref:t,role:"progressbar"},R,x,{children:(0,m.jsx)(C,{className:w.svg,ownerState:A,viewBox:"22 22 44 44",children:(0,m.jsx)(E,{className:w.circle,style:k,ownerState:A,cx:44,cy:44,r:(44-v)/2,fill:"none",strokeWidth:v})})}))})},49556:(e,t,n)=>{"use strict";n.d(t,{b:()=>o}),n(95478);var r=n(57416);function o(e){return(0,r.b)(e)}n(31085)},71543:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(59193),u=n(49556),d=n(86310),p=n(18526);function f(e){return(0,p.Ay)("MuiDivider",e)}(0,d.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var h=n(31085);const m=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],g=(0,c.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,o.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,o.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>(0,o.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),v=(0,c.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,o.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),y=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:c,component:d=(l?"div":"hr"),flexItem:p=!1,light:y=!1,orientation:b="horizontal",role:x=("hr"!==d?"separator":void 0),textAlign:A="center",variant:w="fullWidth"}=n,k=(0,r.A)(n,m),S=(0,o.A)({},n,{absolute:i,component:d,flexItem:p,light:y,orientation:b,role:x,textAlign:A,variant:w}),C=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:c}=e,u={root:["root",t&&"absolute",c,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.A)(u,f,r)})(S);return(0,h.jsx)(g,(0,o.A)({as:d,className:(0,a.A)(C.root,c),role:x,ref:t,ownerState:S},k,{children:l?(0,h.jsx)(v,{className:C.wrapper,ownerState:S,children:l}):null}))});y.muiSkipListHighlight=!0;const b=y},94776:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,N:()=>s});var r=n(89575),o=n(86310),i=n(18526),a=n(53203);function s(e){return(0,i.Ay)("MuiFilledInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiFilledInput",["root","underline","input"]))},77963:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(95478).createContext(void 0)},24499:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95478),o=n(77963);function i(){return r.useContext(o.A)}},19996:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(54994),l=n(29724),c=n(90028),u=n(59193),d=n(49556),p=n(6530);const f=i.createContext();var h=n(86310),m=n(18526);function g(e){return(0,m.Ay)("MuiGrid",e)}const v=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],y=(0,h.A)("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map(e=>`spacing-xs-${e}`),...["column-reverse","column","row-reverse","row"].map(e=>`direction-xs-${e}`),...["nowrap","wrap-reverse","wrap"].map(e=>`wrap-xs-${e}`),...v.map(e=>`grid-xs-${e}`),...v.map(e=>`grid-sm-${e}`),...v.map(e=>`grid-md-${e}`),...v.map(e=>`grid-lg-${e}`),...v.map(e=>`grid-xl-${e}`)]);var b=n(31085);const x=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function A(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function w({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(e=>{""===n&&0!==t[e]&&(n=e)});const r=Object.keys(e).sort((t,n)=>e[t]-e[n]);return r.slice(0,r.indexOf(n))}const k=(0,u.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])}),r}(a,c,t));const d=[];return c.forEach(e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])}),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})(({ownerState:e})=>(0,o.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap}),function({theme:e,ownerState:t}){const n=(0,s.unstable_resolveBreakpointValues)({values:t.direction,breakpoints:e.breakpoints.values});return(0,s.handleBreakpoints)({theme:e},n,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${y.item}`]={maxWidth:"none"}),t})},function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.unstable_resolveBreakpointValues)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=w({breakpoints:e.breakpoints.values,values:t})),o=(0,s.handleBreakpoints)({theme:e},t,(t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${A(i)}`,[`& > .${y.item}`]:{paddingTop:A(i)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${y.item}`]:{paddingTop:0}}})}return o},function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,s.unstable_resolveBreakpointValues)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=w({breakpoints:e.breakpoints.values,values:t})),o=(0,s.handleBreakpoints)({theme:e},t,(t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${A(i)})`,marginLeft:`-${A(i)}`,[`& > .${y.item}`]:{paddingLeft:A(i)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${y.item}`]:{paddingLeft:0}}})}return o},function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,i)=>{let a={};if(t[i]&&(n=t[i]),!n)return r;if(!0===n)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=(0,s.unstable_resolveBreakpointValues)({values:t.columns,breakpoints:e.breakpoints.values}),c="object"==typeof l?l[i]:l;if(null==c)return r;const u=Math.round(n/c*1e8)/1e6+"%";let d={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${u} + ${A(n)})`;d={flexBasis:e,maxWidth:e}}}a=(0,o.A)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===e.breakpoints.values[i]?Object.assign(r,a):r[e.breakpoints.up(i)]=a,r},{})}),S=i.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiGrid"}),{breakpoints:s}=(0,p.A)(),u=(0,l.A)(n),{className:h,columns:m,columnSpacing:v,component:y="div",container:A=!1,direction:w="row",item:S=!1,rowSpacing:C,spacing:E=0,wrap:M="wrap",zeroMinWidth:R=!1}=u,I=(0,r.A)(u,x),T=C||E,P=v||E,O=i.useContext(f),L=A?m||12:O,_={},N=(0,o.A)({},I);s.keys.forEach(e=>{null!=I[e]&&(_[e]=I[e],delete N[e])});const j=(0,o.A)({},u,{columns:L,container:A,direction:w,item:S,rowSpacing:T,columnSpacing:P,wrap:M,zeroMinWidth:R,spacing:E},_,{breakpoints:s.keys}),D=(e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}}),n}(i,l));const d=[];l.forEach(t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)});const p={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,c.A)(p,g,t)})(j);return(0,b.jsx)(f.Provider,{value:L,children:(0,b.jsx)(k,(0,o.A)({ownerState:j,className:(0,a.A)(D.root,h),as:y,ref:t},N))})})},34766:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(89575),o=n(17502),i=n(95478),a=n(50909),s=n(82600),l=n(32258),c=n(6530),u=n(82071),d=n(42787),p=n(31085);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function h(e){return`scale(${e}, ${e**2})`}const m={entering:{opacity:1,transform:h(1)},entered:{opacity:1,transform:"none"}},g="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef(function(e,t){const{addEndListener:n,appear:v=!0,children:y,easing:b,in:x,onEnter:A,onEntered:w,onEntering:k,onExit:S,onExited:C,onExiting:E,style:M,timeout:R="auto",TransitionComponent:I=l.Ay}=e,T=(0,o.A)(e,f),P=(0,a.A)(),O=i.useRef(),L=(0,c.A)(),_=i.useRef(null),N=(0,d.A)(_,(0,s.A)(y),t),j=e=>t=>{if(e){const n=_.current;void 0===t?e(n):e(n,t)}},D=j(k),F=j((e,t)=>{(0,u.q)(e);const{duration:n,delay:r,easing:o}=(0,u.c)({style:M,timeout:R,easing:b},{mode:"enter"});let i;"auto"===R?(i=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=i):i=n,e.style.transition=[L.transitions.create("opacity",{duration:i,delay:r}),L.transitions.create("transform",{duration:g?i:.666*i,delay:r,easing:o})].join(","),A&&A(e,t)}),$=j(w),z=j(E),B=j(e=>{const{duration:t,delay:n,easing:r}=(0,u.c)({style:M,timeout:R,easing:b},{mode:"exit"});let o;"auto"===R?(o=L.transitions.getAutoHeightDuration(e.clientHeight),O.current=o):o=t,e.style.transition=[L.transitions.create("opacity",{duration:o,delay:n}),L.transitions.create("transform",{duration:g?o:.666*o,delay:g?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=h(.75),S&&S(e)}),W=j(C);return(0,p.jsx)(I,(0,r.A)({appear:v,in:x,nodeRef:_,onEnter:F,onEntered:$,onEntering:D,onExit:B,onExited:W,onExiting:z,addEndListener:e=>{"auto"===R&&P.start(O.current||0,e),n&&n(_.current,e)},timeout:"auto"===R?null:R},T,{children:(e,t)=>i.cloneElement(y,(0,r.A)({style:(0,r.A)({opacity:0,transform:h(.75),visibility:"exited"!==e||x?void 0:"hidden"},m[e],M,y.props.style),ref:N},t))}))});v.muiSupportAuto=!0;const y=v},30330:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(59193),u=n(49556),d=n(58213),p=n(3345),f=n(86310),h=n(18526);function m(e){return(0,h.Ay)("MuiIconButton",e)}const g=(0,f.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var v=n(31085);const y=["edge","children","className","color","disabled","disableFocusRipple","size"],b=(0,c.Ay)(d.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,p.A)(n.color)}`],n.edge&&t[`edge${(0,p.A)(n.edge)}`],t[`size${(0,p.A)(n.size)}`]]}})(({theme:e,ownerState:t})=>(0,o.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,o.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,o.A)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,o.A)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${g.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),x=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiIconButton"}),{edge:i=!1,children:l,className:c,color:d="default",disabled:f=!1,disableFocusRipple:h=!1,size:g="medium"}=n,x=(0,r.A)(n,y),A=(0,o.A)({},n,{edge:i,color:d,disabled:f,disableFocusRipple:h,size:g}),w=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,p.A)(r)}`,o&&`edge${(0,p.A)(o)}`,`size${(0,p.A)(i)}`]};return(0,s.A)(a,m,t)})(A);return(0,v.jsx)(b,(0,o.A)({className:(0,a.A)(w.root,c),centerRipple:!0,focusRipple:!h,disabled:f,ref:t},x,{ownerState:A,children:l}))})},67396:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,B:()=>s});var r=n(89575),o=n(86310),i=n(18526),a=n(53203);function s(e){return(0,i.Ay)("MuiInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiInput",["root","underline","input"]))},35648:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(3345),c=n(13674),u=n(77963),d=n(24499),p=n(59193),f=n(86310),h=n(18526);function m(e){return(0,h.Ay)("MuiInputAdornment",e)}const g=(0,f.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var v,y=n(49556),b=n(31085);const x=["children","className","component","disablePointerEvents","disableTypography","position","variant"],A=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,l.A)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>(0,o.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${g.positionStart}&:not(.${g.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),w=i.forwardRef(function(e,t){const n=(0,y.b)({props:e,name:"MuiInputAdornment"}),{children:p,className:f,component:h="div",disablePointerEvents:g=!1,disableTypography:w=!1,position:k,variant:S}=n,C=(0,r.A)(n,x),E=(0,d.A)()||{};let M=S;S&&E.variant,E&&!M&&(M=E.variant);const R=(0,o.A)({},n,{hiddenLabel:E.hiddenLabel,size:E.size,disablePointerEvents:g,position:k,variant:M}),I=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,c={root:["root",n&&"disablePointerEvents",o&&`position${(0,l.A)(o)}`,a,r&&"hiddenLabel",i&&`size${(0,l.A)(i)}`]};return(0,s.A)(c,m,t)})(R);return(0,b.jsx)(u.A.Provider,{value:null,children:(0,b.jsx)(A,(0,o.A)({as:h,ownerState:R,className:(0,a.A)(I.root,f),ref:t},C,{children:"string"!=typeof p||w?(0,b.jsxs)(i.Fragment,{children:["start"===k?v||(v=(0,b.jsx)("span",{className:"notranslate",children:""})):null,p]}):(0,b.jsx)(c.A,{color:"text.secondary",children:p})}))})})},53203:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,g:()=>i});var r=n(86310),o=n(18526);function i(e){return(0,o.Ay)("MuiInputBase",e)}const a=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},16481:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(54994),c=n(10984),u=n(26117),d=n(3345),p=n(59193),f=n(49556),h=n(86310),m=n(18526);function g(e){return(0,m.Ay)("MuiLinearProgress",e)}(0,h.A)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var v=n(31085);const y=["className","color","value","valueBuffer","variant"];let b,x,A,w,k,S,C=e=>e;const E=(0,l.keyframes)(b||(b=C`
|
|
103
|
-
0% {
|
|
104
|
-
left: -35%;
|
|
105
|
-
right: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
60% {
|
|
109
|
-
left: 100%;
|
|
110
|
-
right: -90%;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
100% {
|
|
114
|
-
left: 100%;
|
|
115
|
-
right: -90%;
|
|
116
|
-
}
|
|
117
|
-
`)),M=(0,l.keyframes)(x||(x=C`
|
|
118
|
-
0% {
|
|
119
|
-
left: -200%;
|
|
120
|
-
right: 100%;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
60% {
|
|
124
|
-
left: 107%;
|
|
125
|
-
right: -8%;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
100% {
|
|
129
|
-
left: 107%;
|
|
130
|
-
right: -8%;
|
|
131
|
-
}
|
|
132
|
-
`)),R=(0,l.keyframes)(A||(A=C`
|
|
133
|
-
0% {
|
|
134
|
-
opacity: 1;
|
|
135
|
-
background-position: 0 -23px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
60% {
|
|
139
|
-
opacity: 0;
|
|
140
|
-
background-position: 0 -23px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
100% {
|
|
144
|
-
opacity: 1;
|
|
145
|
-
background-position: -200px -23px;
|
|
146
|
-
}
|
|
147
|
-
`)),I=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,c.a)(e.palette[t].main,.62):(0,c.e$)(e.palette[t].main,.5),T=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,d.A)(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>(0,o.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:I(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),P=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,d.A)(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=I(t,e.color);return(0,o.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.css)(w||(w=C`
|
|
148
|
-
animation: ${0} 3s infinite linear;
|
|
149
|
-
`),R)),O=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,d.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,o.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.css)(k||(k=C`
|
|
150
|
-
width: auto;
|
|
151
|
-
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
152
|
-
`),E)),L=(0,p.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,d.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,o.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:I(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.css)(S||(S=C`
|
|
153
|
-
width: auto;
|
|
154
|
-
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
155
|
-
`),M)),_=i.forwardRef(function(e,t){const n=(0,f.b)({props:e,name:"MuiLinearProgress"}),{className:i,color:l="primary",value:c,valueBuffer:p,variant:h="indeterminate"}=n,m=(0,r.A)(n,y),b=(0,o.A)({},n,{color:l,variant:h}),x=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,d.A)(r)}`,n],dashed:["dashed",`dashedColor${(0,d.A)(r)}`],bar1:["bar",`barColor${(0,d.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,d.A)(r)}`,"buffer"===n&&`color${(0,d.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,s.A)(o,g,t)})(b),A=(0,u.I)(),w={},k={bar1:{},bar2:{}};if(("determinate"===h||"buffer"===h)&&void 0!==c){w["aria-valuenow"]=Math.round(c),w["aria-valuemin"]=0,w["aria-valuemax"]=100;let e=c-100;A&&(e=-e),k.bar1.transform=`translateX(${e}%)`}if("buffer"===h&&void 0!==p){let e=(p||0)-100;A&&(e=-e),k.bar2.transform=`translateX(${e}%)`}return(0,v.jsxs)(T,(0,o.A)({className:(0,a.A)(x.root,i),ownerState:b,role:"progressbar"},w,{ref:t},m,{children:["buffer"===h?(0,v.jsx)(P,{className:x.dashed,ownerState:b}):null,(0,v.jsx)(O,{className:x.bar1,ownerState:b,style:k.bar1}),"determinate"===h?null:(0,v.jsx)(L,{className:x.bar2,ownerState:b,style:k.bar2})]}))})},46321:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(95478).createContext({})},89789:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>O});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(9566),u=n(59193),d=n(49556),p=n(58213),f=n(95456),h=n(14931),m=n(42787),g=n(46321),v=n(86310),y=n(18526);function b(e){return(0,y.Ay)("MuiListItem",e)}const x=(0,v.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),A=(0,v.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function w(e){return(0,y.Ay)("MuiListItemSecondaryAction",e)}(0,v.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var k=n(31085);const S=["className"],C=(0,u.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>(0,o.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),E=i.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:l}=n,c=(0,r.A)(n,S),u=i.useContext(g.A),p=(0,o.A)({},n,{disableGutters:u.disableGutters}),f=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,s.A)(r,w,n)})(p);return(0,k.jsx)(C,(0,o.A)({className:(0,a.A)(f.root,l),ownerState:p,ref:t},c))});E.muiName="ListItemSecondaryAction";const M=E,R=["className"],I=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],T=(0,u.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>(0,o.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,o.A)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${A.root}`]:{paddingRight:48}},{[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${x.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${x.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,l.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),P=(0,u.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),O=i.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiListItem"}),{alignItems:l="center",autoFocus:u=!1,button:v=!1,children:y,className:A,component:w,components:S={},componentsProps:C={},ContainerComponent:E="li",ContainerProps:{className:O}={},dense:L=!1,disabled:_=!1,disableGutters:N=!1,disablePadding:j=!1,divider:D=!1,focusVisibleClassName:F,secondaryAction:$,selected:z=!1,slotProps:B={},slots:W={}}=n,H=(0,r.A)(n.ContainerProps,R),V=(0,r.A)(n,I),U=i.useContext(g.A),q=i.useMemo(()=>({dense:L||U.dense||!1,alignItems:l,disableGutters:N}),[l,U.dense,L,N]),G=i.useRef(null);(0,h.A)(()=>{u&&G.current&&G.current.focus()},[u]);const K=i.Children.toArray(y),X=K.length&&(0,f.A)(K[K.length-1],["ListItemSecondaryAction"]),Y=(0,o.A)({},n,{alignItems:l,autoFocus:u,button:v,dense:q.dense,disabled:_,disableGutters:N,disablePadding:j,divider:D,hasSecondaryAction:X,selected:z}),Z=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:c,hasSecondaryAction:u,selected:d}=e,p={root:["root",o&&"dense",!a&&"gutters",!l&&"padding",c&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",d&&"selected"],container:["container"]};return(0,s.A)(p,b,r)})(Y),Q=(0,m.A)(G,t),J=W.root||S.Root||T,ee=B.root||C.root||{},te=(0,o.A)({className:(0,a.A)(Z.root,ee.className,A),disabled:_},V);let ne=w||"li";return v&&(te.component=w||"div",te.focusVisibleClassName=(0,a.A)(x.focusVisible,F),ne=p.A),X?(ne=te.component||w?ne:"div","li"===E&&("li"===ne?ne="div":"li"===te.component&&(te.component="div")),(0,k.jsx)(g.A.Provider,{value:q,children:(0,k.jsxs)(P,(0,o.A)({as:E,className:(0,a.A)(Z.container,O),ref:Q,ownerState:Y},H,{children:[(0,k.jsx)(J,(0,o.A)({},ee,!(0,c.A)(J)&&{as:ne,ownerState:(0,o.A)({},Y,ee.ownerState)},te,{children:K})),K.pop()]}))})):(0,k.jsx)(g.A.Provider,{value:q,children:(0,k.jsxs)(J,(0,o.A)({},ee,{as:ne,ref:Q},!(0,c.A)(J)&&{ownerState:(0,o.A)({},Y,ee.ownerState)},te,{children:[K,$&&(0,k.jsx)(M,{children:$})]}))})})},27018:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(59193),c=n(49556),u=n(86310),d=n(18526);function p(e){return(0,d.Ay)("MuiListItemIcon",e)}(0,u.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);var f=n(46321),h=n(31085);const m=["className"],g=(0,l.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>(0,o.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),v=i.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiListItemIcon"}),{className:l}=n,u=(0,r.A)(n,m),d=i.useContext(f.A),v=(0,o.A)({},n,{alignItems:d.alignItems}),y=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,s.A)(r,p,n)})(v);return(0,h.jsx)(g,(0,o.A)({className:(0,a.A)(y.root,l),ownerState:v,ref:t},u))})},19277:(e,t,n)=>{"use strict";n.d(t,{A:()=>_e});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(90028),l=n(26117),c=n(71014),u=n(81889),d=n(59193),p=n(49556),f=n(46321),h=n(86310),m=n(18526);function g(e){return(0,m.Ay)("MuiList",e)}(0,h.A)("MuiList",["root","padding","dense","subheader"]);var v=n(31085);const y=["children","className","component","dense","disablePadding","subheader"],b=(0,d.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>(0,r.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),x=i.forwardRef(function(e,t){const n=(0,p.b)({props:e,name:"MuiList"}),{children:l,className:c,component:u="ul",dense:d=!1,disablePadding:h=!1,subheader:m}=n,x=(0,o.A)(n,y),A=i.useMemo(()=>({dense:d}),[d]),w=(0,r.A)({},n,{component:u,dense:d,disablePadding:h}),k=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,s.A)(i,g,t)})(w);return(0,v.jsx)(f.A.Provider,{value:A,children:(0,v.jsxs)(b,(0,r.A)({as:u,className:(0,a.A)(k.root,c),ref:t,ownerState:w},x,{children:[m,l]}))})});function A(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const w=A;var k=n(42787),S=n(14931);const C=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function E(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function M(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function R(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function I(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&R(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const T=i.forwardRef(function(e,t){const{actions:n,autoFocus:a=!1,autoFocusItem:s=!1,children:l,className:c,disabledItemsFocusable:d=!1,disableListWrap:p=!1,onKeyDown:f,variant:h="selectedMenu"}=e,m=(0,o.A)(e,C),g=i.useRef(null),y=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,S.A)(()=>{a&&g.current.focus()},[a]),i.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!g.current.style.width;if(e.clientHeight<g.current.clientHeight&&n){const n=`${w((0,u.A)(e))}px`;g.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,g.current.style.width=`calc(100% + ${n})`}return g.current}}),[]);const b=(0,k.A)(g,t);let A=-1;i.Children.forEach(l,(e,t)=>{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===h&&e.props.selected||-1===A)&&(A=t),A===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(A+=1,A>=l.length&&(A=-1))):A===t&&(A+=1,A>=l.length&&(A=-1))});const T=i.Children.map(l,(e,t)=>{if(t===A){const t={};return s&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===h&&(t.tabIndex=0),i.cloneElement(e,t)}return e});return(0,v.jsx)(x,(0,r.A)({role:"menu",ref:b,className:c,onKeyDown:e=>{const t=g.current,n=e.key,r=(0,u.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),I(t,r,p,d,E);else if("ArrowUp"===n)e.preventDefault(),I(t,r,p,d,M);else if("Home"===n)e.preventDefault(),I(t,null,p,d,E);else if("End"===n)e.preventDefault(),I(t,null,p,d,M);else if(1===n.length){const o=y.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&R(r,o);o.previousKeyMatched&&(s||I(t,r,!1,d,E,o))?e.preventDefault():o.previousKeyMatched=!1}f&&f(e)},tabIndex:a?0:-1},m,{children:T}))});var P=n(9566),O=n(22180),L=n(24720),_=n(34766),N=n(75584),j=n(82600),D=n(28862);const F=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function $(e){const t=[],n=[];return Array.from(e.querySelectorAll(F)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function z(){return!0}const B=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=$,isEnabled:s=z,open:l}=e,c=i.useRef(!1),u=i.useRef(null),d=i.useRef(null),p=i.useRef(null),f=i.useRef(null),h=i.useRef(!1),m=i.useRef(null),g=(0,N.A)((0,j.A)(t),m),y=i.useRef(null);i.useEffect(()=>{l&&m.current&&(h.current=!n)},[n,l]),i.useEffect(()=>{if(!l||!m.current)return;const e=(0,D.A)(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),h.current&&m.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),i.useEffect(()=>{if(!l||!m.current)return;const e=(0,D.A)(m.current),t=t=>{y.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!h.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=a(m.current)),n.length>0){var o,i;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=y.current)?void 0:i.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,s,l,a]);const b=e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0};return(0,v.jsxs)(i.Fragment,{children:[(0,v.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),h.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,v.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})};var W=n(49676),H=n(32258),V=n(6530),U=n(82071);const q=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],G={entering:{opacity:1},entered:{opacity:1}},K=i.forwardRef(function(e,t){const n=(0,V.A)(),a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:s,appear:l=!0,children:c,easing:u,in:d,onEnter:p,onEntered:f,onEntering:h,onExit:m,onExited:g,onExiting:y,style:b,timeout:x=a,TransitionComponent:A=H.Ay}=e,w=(0,o.A)(e,q),S=i.useRef(null),C=(0,k.A)(S,(0,j.A)(c),t),E=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},M=E(h),R=E((e,t)=>{(0,U.q)(e);const r=(0,U.c)({style:b,timeout:x,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),p&&p(e,t)}),I=E(f),T=E(y),P=E(e=>{const t=(0,U.c)({style:b,timeout:x,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),m&&m(e)}),O=E(g);return(0,v.jsx)(A,(0,r.A)({appear:l,in:d,nodeRef:S,onEnter:R,onEntered:I,onEntering:M,onExit:P,onExited:O,onExiting:T,addEndListener:e=>{s&&s(S.current,e)},timeout:x},w,{children:(e,t)=>i.cloneElement(c,(0,r.A)({style:(0,r.A)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},G[e],b,c.props.style),ref:C},t))}))});function X(e){return(0,m.Ay)("MuiBackdrop",e)}(0,h.A)("MuiBackdrop",["root","invisible"]);const Y=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Z=(0,d.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>(0,r.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Q=i.forwardRef(function(e,t){var n,i,l;const c=(0,p.b)({props:e,name:"MuiBackdrop"}),{children:u,className:d,component:f="div",components:h={},componentsProps:m={},invisible:g=!1,open:y,slotProps:b={},slots:x={},TransitionComponent:A=K,transitionDuration:w}=c,k=(0,o.A)(c,Y),S=(0,r.A)({},c,{component:f,invisible:g}),C=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,s.A)(r,X,t)})(S),E=null!=(n=b.root)?n:m.root;return(0,v.jsx)(A,(0,r.A)({in:y,timeout:w},k,{children:(0,v.jsx)(Z,(0,r.A)({"aria-hidden":!0},E,{as:null!=(i=null!=(l=x.root)?l:h.Root)?i:f,className:(0,a.A)(C.root,d,null==E?void 0:E.className),ownerState:(0,r.A)({},S,null==E?void 0:E.ownerState),classes:C,ref:t,children:u}))}))});var J=n(42768),ee=n(96754),te=n(88796),ne=n(26710);function re(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function oe(e){return parseInt((0,ne.A)(e).getComputedStyle(e).paddingRight,10)||0}function ie(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&re(e,o)})}function ae(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}const se=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&re(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);ie(t,e.mount,e.modalRef,r,!0);const o=ae(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=ae(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=function(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,D.A)(e);return t.body===e?(0,ne.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=A((0,D.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${oe(r)+e}px`;const t=(0,D.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${oe(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=(0,D.A)(r).body;else{const t=r.parentElement,n=(0,ne.A)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=ae(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&re(e.modalRef,t),ie(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&re(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function le(e){return(0,m.Ay)("MuiModal",e)}(0,h.A)("MuiModal",["root","hidden","backdrop"]);const ce=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ue=(0,d.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>(0,r.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),de=(0,d.Ay)(Q,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),pe=i.forwardRef(function(e,t){var n,l,u,d,f,h;const m=(0,p.b)({name:"MuiModal",props:e}),{BackdropComponent:g=de,BackdropProps:y,className:b,closeAfterTransition:x=!1,children:A,container:w,component:k,components:S={},componentsProps:C={},disableAutoFocus:E=!1,disableEnforceFocus:M=!1,disableEscapeKeyDown:R=!1,disablePortal:I=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:O=!1,keepMounted:L=!1,onBackdropClick:_,open:j,slotProps:F,slots:$}=m,z=(0,o.A)(m,ce),H=(0,r.A)({},m,{closeAfterTransition:x,disableAutoFocus:E,disableEnforceFocus:M,disableEscapeKeyDown:R,disablePortal:I,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:O,keepMounted:L}),{getRootProps:V,getBackdropProps:U,getTransitionProps:q,portalRef:G,isTopModal:K,exited:X,hasTransition:Y}=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=se,closeAfterTransition:s=!1,onTransitionEnter:l,onTransitionExited:c,children:u,onClose:d,open:p,rootRef:f}=e,h=i.useRef({}),m=i.useRef(null),g=i.useRef(null),v=(0,N.A)(g,f),[y,b]=i.useState(!p),x=function(e){return!!e&&e.props.hasOwnProperty("in")}(u);let A=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(A=!1);const w=()=>(h.current.modalRef=g.current,h.current.mount=m.current,h.current),k=()=>{a.mount(w(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},S=(0,J.A)(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,D.A)(m.current).body;a.add(w(),e),g.current&&k()}),C=i.useCallback(()=>a.isTopModal(w()),[a]),E=(0,J.A)(e=>{m.current=e,e&&(p&&C()?k():g.current&&re(g.current,A))}),M=i.useCallback(()=>{a.remove(w(),A)},[A,a]);i.useEffect(()=>()=>{M()},[M]),i.useEffect(()=>{p?S():x&&s||M()},[p,M,x,s,S]);const R=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&C()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,te.A)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=(0,r.A)({},n,t);return(0,r.A)({role:"presentation"},o,{onKeyDown:R(o),ref:v})},getBackdropProps:(e={})=>{const t=e;return(0,r.A)({"aria-hidden":!0},t,{onClick:I(t),open:p})},getTransitionProps:()=>({onEnter:(0,ee.A)(()=>{b(!1),l&&l()},null==u?void 0:u.props.onEnter),onExited:(0,ee.A)(()=>{b(!0),c&&c(),s&&M()},null==u?void 0:u.props.onExited)}),rootRef:v,portalRef:E,isTopModal:C,exited:y,hasTransition:x}}((0,r.A)({},H,{rootRef:t})),Z=(0,r.A)({},H,{exited:X}),Q=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,s.A)(o,le,r)})(Z),ne={};if(void 0===A.props.tabIndex&&(ne.tabIndex="-1"),Y){const{onEnter:e,onExited:t}=q();ne.onEnter=e,ne.onExited=t}const oe=null!=(n=null!=(l=null==$?void 0:$.root)?l:S.Root)?n:ue,ie=null!=(u=null!=(d=null==$?void 0:$.backdrop)?d:S.Backdrop)?u:g,ae=null!=(f=null==F?void 0:F.root)?f:C.root,pe=null!=(h=null==F?void 0:F.backdrop)?h:C.backdrop,fe=(0,c.A)({elementType:oe,externalSlotProps:ae,externalForwardedProps:z,getSlotProps:V,additionalProps:{ref:t,as:k},ownerState:Z,className:(0,a.A)(b,null==ae?void 0:ae.className,null==Q?void 0:Q.root,!Z.open&&Z.exited&&(null==Q?void 0:Q.hidden))}),he=(0,c.A)({elementType:ie,externalSlotProps:pe,additionalProps:y,getSlotProps:e=>U((0,r.A)({},e,{onClick:t=>{_&&_(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,a.A)(null==pe?void 0:pe.className,null==y?void 0:y.className,null==Q?void 0:Q.backdrop),ownerState:Z});return L||j||Y&&!X?(0,v.jsx)(W.A,{ref:G,container:w,disablePortal:I,children:(0,v.jsxs)(oe,(0,r.A)({},fe,{children:[!O&&g?(0,v.jsx)(ie,(0,r.A)({},he)):null,(0,v.jsx)(B,{disableEnforceFocus:M,disableAutoFocus:E,disableRestoreFocus:T,isEnabled:K,open:j,children:i.cloneElement(A,ne)})]}))}):null});var fe=n(84301);function he(e){return(0,m.Ay)("MuiPopover",e)}(0,h.A)("MuiPopover",["root","paper"]);const me=["onEntering"],ge=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],ve=["slotProps"];function ye(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function be(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function xe(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function Ae(e){return"function"==typeof e?e():e}const we=(0,d.Ay)(pe,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ke=(0,d.Ay)(fe.A,{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}),Se=i.forwardRef(function(e,t){var n,l,d;const f=(0,p.b)({props:e,name:"MuiPopover"}),{action:h,anchorEl:m,anchorOrigin:g={vertical:"top",horizontal:"left"},anchorPosition:y,anchorReference:b="anchorEl",children:x,className:A,container:w,elevation:S=8,marginThreshold:C=16,open:E,PaperProps:M={},slots:R,slotProps:I,transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:N=_.A,transitionDuration:j="auto",TransitionProps:{onEntering:D}={},disableScrollLock:F=!1}=f,$=(0,o.A)(f.TransitionProps,me),z=(0,o.A)(f,ge),B=null!=(n=null==I?void 0:I.paper)?n:M,W=i.useRef(),H=(0,k.A)(W,B.ref),V=(0,r.A)({},f,{anchorOrigin:g,anchorReference:b,elevation:S,marginThreshold:C,externalPaperSlotProps:B,transformOrigin:T,TransitionComponent:N,transitionDuration:j,TransitionProps:$}),U=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],paper:["paper"]},he,t)})(V),q=i.useCallback(()=>{if("anchorPosition"===b)return y;const e=Ae(m),t=(e&&1===e.nodeType?e:(0,u.A)(W.current).body).getBoundingClientRect();return{top:t.top+ye(t,g.vertical),left:t.left+be(t,g.horizontal)}},[m,g.horizontal,g.vertical,y,b]),G=i.useCallback(e=>({vertical:ye(e,T.vertical),horizontal:be(e,T.horizontal)}),[T.horizontal,T.vertical]),K=i.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=G(t);if("none"===b)return{top:null,left:null,transformOrigin:xe(n)};const r=q();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=(0,L.A)(Ae(m)),c=l.innerHeight-C,u=l.innerWidth-C;if(null!==C&&o<C){const e=o-C;o-=e,n.vertical+=e}else if(null!==C&&a>c){const e=a-c;o-=e,n.vertical+=e}if(null!==C&&i<C){const e=i-C;i-=e,n.horizontal+=e}else if(s>u){const e=s-u;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:xe(n)}},[m,b,q,G,C]),[X,Y]=i.useState(E),Z=i.useCallback(()=>{const e=W.current;if(!e)return;const t=K(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,Y(!0)},[K]);i.useEffect(()=>(F&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z)),[m,F,Z]),i.useEffect(()=>{E&&Z()}),i.useImperativeHandle(h,()=>E?{updatePosition:()=>{Z()}}:null,[E,Z]),i.useEffect(()=>{if(!E)return;const e=(0,O.A)(()=>{Z()}),t=(0,L.A)(m);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[m,E,Z]);let Q=j;"auto"!==j||N.muiSupportAuto||(Q=void 0);const J=w||(m?(0,u.A)(Ae(m)).body:void 0),ee=null!=(l=null==R?void 0:R.root)?l:we,te=null!=(d=null==R?void 0:R.paper)?d:ke,ne=(0,c.A)({elementType:te,externalSlotProps:(0,r.A)({},B,{style:X?B.style:(0,r.A)({},B.style,{opacity:0})}),additionalProps:{elevation:S,ref:H},ownerState:V,className:(0,a.A)(U.paper,null==B?void 0:B.className)}),re=(0,c.A)({elementType:ee,externalSlotProps:(null==I?void 0:I.root)||{},externalForwardedProps:z,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:J,open:E},ownerState:V,className:(0,a.A)(U.root,A)}),{slotProps:oe}=re,ie=(0,o.A)(re,ve);return(0,v.jsx)(ee,(0,r.A)({},ie,!(0,P.A)(ee)&&{slotProps:oe,disableScrollLock:F},{children:(0,v.jsx)(N,(0,r.A)({appear:!0,in:E,onEntering:(e,t)=>{D&&D(e,t),Z()},onExited:()=>{Y(!1)},timeout:Q},$,{children:(0,v.jsx)(te,(0,r.A)({},ne,{children:x}))}))}))});var Ce=n(80285);function Ee(e){return(0,m.Ay)("MuiMenu",e)}(0,h.A)("MuiMenu",["root","paper","list"]);const Me=["onEntering"],Re=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Ie={vertical:"top",horizontal:"right"},Te={vertical:"top",horizontal:"left"},Pe=(0,d.Ay)(Se,{shouldForwardProp:e=>(0,Ce.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Oe=(0,d.Ay)(ke,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Le=(0,d.Ay)(T,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),_e=i.forwardRef(function(e,t){var n,u;const d=(0,p.b)({props:e,name:"MuiMenu"}),{autoFocus:f=!0,children:h,className:m,disableAutoFocusItem:g=!1,MenuListProps:y={},onClose:b,open:x,PaperProps:A={},PopoverClasses:w,transitionDuration:k="auto",TransitionProps:{onEntering:S}={},variant:C="selectedMenu",slots:E={},slotProps:M={}}=d,R=(0,o.A)(d.TransitionProps,Me),I=(0,o.A)(d,Re),T=(0,l.I)(),P=(0,r.A)({},d,{autoFocus:f,disableAutoFocusItem:g,MenuListProps:y,onEntering:S,PaperProps:A,transitionDuration:k,TransitionProps:R,variant:C}),O=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"],paper:["paper"],list:["list"]},Ee,t)})(P),L=f&&!g&&x,_=i.useRef(null);let N=-1;i.Children.map(h,(e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===C&&e.props.selected||-1===N)&&(N=t))});const j=null!=(n=E.paper)?n:Oe,D=null!=(u=M.paper)?u:A,F=(0,c.A)({elementType:E.root,externalSlotProps:M.root,ownerState:P,className:[O.root,m]}),$=(0,c.A)({elementType:j,externalSlotProps:D,ownerState:P,className:O.paper});return(0,v.jsx)(Pe,(0,r.A)({onClose:b,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?Ie:Te,slots:{paper:j,root:E.root},slotProps:{root:F,paper:$},open:x,ref:t,transitionDuration:k,TransitionProps:(0,r.A)({onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:T?"rtl":"ltr"}),S&&S(e,t)}},R),ownerState:P},I,{classes:w,children:(0,v.jsx)(Le,(0,r.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),b&&b(e,"tabKeyDown"))},actions:_,autoFocus:f&&(-1===N||g),autoFocusItem:L,variant:C},y,{className:(0,a.A)(O.list,y.className),children:h}))}))})},20304:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,v:()=>s});var r=n(89575),o=n(86310),i=n(18526),a=n(53203);function s(e){return(0,i.Ay)("MuiOutlinedInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiOutlinedInput",["root","notchedOutline","input"]))},84301:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(10984),c=n(59193);const u=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};var d=n(49556),p=n(86310),f=n(18526);function h(e){return(0,f.Ay)("MuiPaper",e)}(0,p.A)("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"]);var m=n(31085);const g=["className","component","elevation","square","variant"],v=(0,c.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return(0,o.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,o.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.X4)("#fff",u(t.elevation))}, ${(0,l.X4)("#fff",u(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}),y=i.forwardRef(function(e,t){const n=(0,d.b)({props:e,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:p="elevation"}=n,f=(0,r.A)(n,g),y=(0,o.A)({},n,{component:l,elevation:c,square:u,variant:p}),b=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,s.A)(i,h,o)})(y);return(0,m.jsx)(v,(0,o.A)({as:l,ownerState:y,className:(0,a.A)(b.root,i),ref:t},f))})},29285:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ne});var r=n(89575),o=n(17502),i=n(19424),a=n(95478),s=n(75584),l=n(64714),c=n(28862);function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function d(e){return e instanceof u(e).Element||e instanceof Element}function p(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function f(e){return"undefined"!=typeof ShadowRoot&&(e instanceof u(e).ShadowRoot||e instanceof ShadowRoot)}var h=Math.max,m=Math.min,g=Math.round;function v(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function y(){return!/^((?!chrome|android).)*safari/i.test(v())}function b(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&p(e)&&(o=e.offsetWidth>0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var a=(d(e)?u(e):window).visualViewport,s=!y()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,f=r.width/o,h=r.height/i;return{width:f,height:h,top:c,right:l+f,bottom:c+h,left:l,x:l,y:c}}function x(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function A(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function k(e){return b(w(e)).left+x(e).scrollLeft}function S(e){return u(e).getComputedStyle(e)}function C(e){var t=S(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function E(e,t,n){void 0===n&&(n=!1);var r,o,i=p(t),a=p(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=w(t),l=b(e,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!n)&&(("body"!==A(t)||C(s))&&(c=(r=t)!==u(r)&&p(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:x(r)),p(t)?((d=b(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=k(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function M(e){var t=b(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function R(e){return"html"===A(e)?e:e.assignedSlot||e.parentNode||(f(e)?e.host:null)||w(e)}function I(e){return["html","body","#document"].indexOf(A(e))>=0?e.ownerDocument.body:p(e)&&C(e)?e:I(R(e))}function T(e,t){var n;void 0===t&&(t=[]);var r=I(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],C(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(T(R(a)))}function P(e){return["table","td","th"].indexOf(A(e))>=0}function O(e){return p(e)&&"fixed"!==S(e).position?e.offsetParent:null}function L(e){for(var t=u(e),n=O(e);n&&P(n)&&"static"===S(n).position;)n=O(n);return n&&("html"===A(n)||"body"===A(n)&&"static"===S(n).position)?t:n||function(e){var t=/firefox/i.test(v());if(/Trident/i.test(v())&&p(e)&&"fixed"===S(e).position)return null;var n=R(e);for(f(n)&&(n=n.host);p(n)&&["html","body"].indexOf(A(n))<0;){var r=S(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var _="top",N="bottom",j="right",D="left",F="auto",$=[_,N,j,D],z="start",B="end",W="viewport",H="popper",V=$.reduce(function(e,t){return e.concat([t+"-"+z,t+"-"+B])},[]),U=[].concat($,[F]).reduce(function(e,t){return e.concat([t,t+"-"+z,t+"-"+B])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function G(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var K={placement:"bottom",modifiers:[],strategy:"absolute"};function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Y(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?K:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},K,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:d(e)?T(e):e.contextElement?T(e.contextElement):[],popper:T(t)};var a,c,f=function(e){var t=G(e);return q.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r});l.push(i||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(X(t,n)){s.rects={reference:E(t,L(n),"fixed"===s.options.strategy),popper:M(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){p(),c=!0}};if(!X(e,t))return u;function p(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var Z={passive:!0};function Q(e){return e.split("-")[0]}function J(e){return e.split("-")[1]}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Q(o):null,a=o?J(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case _:t={x:s,y:n.y-r.height};break;case N:t={x:s,y:n.y+n.height};break;case j:t={x:n.x+n.width,y:l};break;case D:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?ee(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case z:t[c]=t[c]-(n[u]/2-r[u]/2);break;case B:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,p=e.isFixed,f=a.x,h=void 0===f?0:f,m=a.y,v=void 0===m?0:m,y="function"==typeof d?d({x:h,y:v}):{x:h,y:v};h=y.x,v=y.y;var b=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),A=D,k=_,C=window;if(c){var E=L(n),M="clientHeight",R="clientWidth";E===u(n)&&"static"!==S(E=w(n)).position&&"absolute"===s&&(M="scrollHeight",R="scrollWidth"),(o===_||(o===D||o===j)&&i===B)&&(k=N,v-=(p&&E===C&&C.visualViewport?C.visualViewport.height:E[M])-r.height,v*=l?1:-1),o!==D&&(o!==_&&o!==N||i!==B)||(A=j,h-=(p&&E===C&&C.visualViewport?C.visualViewport.width:E[R])-r.width,h*=l?1:-1)}var I,T=Object.assign({position:s},c&&ne),P=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:g(n*o)/o||0,y:g(r*o)/o||0}}({x:h,y:v},u(n)):{x:h,y:v};return h=P.x,v=P.y,l?Object.assign({},T,((I={})[k]=x?"0":"",I[A]=b?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",I)):Object.assign({},T,((t={})[k]=x?v+"px":"",t[A]=b?h+"px":"",t.transform="",t))}var oe={left:"right",right:"left",bottom:"top",top:"bottom"};function ie(e){return e.replace(/left|right|bottom|top/g,function(e){return oe[e]})}var ae={start:"end",end:"start"};function se(e){return e.replace(/start|end/g,function(e){return ae[e]})}function le(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&f(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ue(e,t,n){return t===W?ce(function(e,t){var n=u(e),r=w(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=y();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+k(e),y:l}}(e,n)):d(t)?function(e,t){var n=b(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ce(function(e){var t,n=w(e),r=x(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=h(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=h(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+k(e),l=-r.scrollTop;return"rtl"===S(o||n).direction&&(s+=h(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(w(e)))}function de(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function pe(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?W:c,f=n.elementContext,g=void 0===f?H:f,v=n.altBoundary,y=void 0!==v&&v,x=n.padding,k=void 0===x?0:x,C=de("number"!=typeof k?k:pe(k,$)),E=g===H?"reference":H,M=e.rects.popper,I=e.elements[y?E:g],P=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=T(R(e)),n=["absolute","fixed"].indexOf(S(e).position)>=0&&p(e)?L(e):e;return d(n)?t.filter(function(e){return d(e)&&le(e,n)&&"body"!==A(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=ue(e,n,r);return t.top=h(o.top,t.top),t.right=m(o.right,t.right),t.bottom=m(o.bottom,t.bottom),t.left=h(o.left,t.left),t},ue(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(d(I)?I:I.contextElement||w(e.elements.popper),l,u,a),O=b(e.elements.reference),D=te({reference:O,element:M,strategy:"absolute",placement:o}),F=ce(Object.assign({},M,D)),z=g===H?F:O,B={top:P.top-z.top+C.top,bottom:z.bottom-P.bottom+C.bottom,left:P.left-z.left+C.left,right:z.right-P.right+C.right},V=e.modifiersData.offset;if(g===H&&V){var U=V[o];Object.keys(B).forEach(function(e){var t=[j,N].indexOf(e)>=0?1:-1,n=[_,N].indexOf(e)>=0?"y":"x";B[e]+=U[n]*t})}return B}function he(e,t,n){return h(e,m(t,n))}function me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ge(e){return[_,j,N,D].some(function(t){return e[t]>=0})}var ve=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=u(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,Z)}),s&&l.addEventListener("resize",n.update,Z),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Z)}),s&&l.removeEventListener("resize",n.update,Z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:Q(t.placement),variation:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,re(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,re(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];p(o)&&A(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});p(r)&&A(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=U.reduce(function(e,n){return e[n]=function(e,t,n){var r=Q(e),o=[D,_].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[D,j].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=Q(g),y=l||(v!==g&&h?function(e){if(Q(e)===F)return[];var t=ie(e);return[se(e),t,se(t)]}(g):[ie(g)]),b=[g].concat(y).reduce(function(e,n){return e.concat(Q(n)===F?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?U:l,u=J(r),d=u?s?V:V.filter(function(e){return J(e)===u}):$,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Q(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,A=t.rects.popper,w=new Map,k=!0,S=b[0],C=0;C<b.length;C++){var E=b[C],M=Q(E),R=J(E)===z,I=[_,N].indexOf(M)>=0,T=I?"width":"height",P=fe(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),O=I?R?j:D:R?N:_;x[T]>A[T]&&(O=ie(O));var L=ie(O),B=[];if(i&&B.push(P[M]<=0),s&&B.push(P[O]<=0,P[L]<=0),B.every(function(e){return e})){S=E,k=!1;break}w.set(E,B)}if(k)for(var W=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},H=h?3:1;H>0&&"break"!==W(H);H--);t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,g=n.tetherOffset,v=void 0===g?0:g,y=fe(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Q(t.placement),x=J(t.placement),A=!x,w=ee(b),k="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,E=t.rects.popper,R="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var O,F="y"===w?_:D,$="y"===w?N:j,B="y"===w?"height":"width",W=S[w],H=W+y[F],V=W-y[$],U=f?-E[B]/2:0,q=x===z?C[B]:E[B],G=x===z?-E[B]:-C[B],K=t.elements.arrow,X=f&&K?M(K):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=Y[F],te=Y[$],ne=he(0,C[B],X[B]),re=A?C[B]/2-U-ne-Z-I.mainAxis:q-ne-Z-I.mainAxis,oe=A?-C[B]/2+U+ne+te+I.mainAxis:G+ne+te+I.mainAxis,ie=t.elements.arrow&&L(t.elements.arrow),ae=ie?"y"===w?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(O=null==T?void 0:T[w])?O:0,le=W+oe-se,ce=he(f?m(H,W+re-se-ae):H,W,f?h(V,le):V);S[w]=ce,P[w]=ce-W}if(s){var ue,de="x"===w?_:D,pe="x"===w?N:j,me=S[k],ge="y"===k?"height":"width",ve=me+y[de],ye=me-y[pe],be=-1!==[_,D].indexOf(b),xe=null!=(ue=null==T?void 0:T[k])?ue:0,Ae=be?ve:me-C[ge]-E[ge]-xe+I.altAxis,we=be?me+C[ge]+E[ge]-xe-I.altAxis:ye,ke=f&&be?function(e,t,n){var r=he(e,t,n);return r>n?n:r}(Ae,me,we):he(f?Ae:ve,me,f?we:ye);S[k]=ke,P[k]=ke-me}t.modifiersData[r]=P}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Q(n.placement),l=ee(s),c=[D,j].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return de("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:pe(e,$))}(o.padding,n),d=M(i),p="y"===l?_:D,f="y"===l?N:j,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],m=a[l]-n.rects.reference[l],g=L(i),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[p],x=v-d[c]-u[f],A=v/2-d[c]/2+y,w=he(b,A,x),k=l;n.modifiersData[r]=((t={})[k]=w,t.centerOffset=w-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&le(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=fe(t,{elementContext:"reference"}),s=fe(t,{altBoundary:!0}),l=me(a,r),c=me(s,o,i),u=ge(l),d=ge(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),ye=n(90028),be=n(71014),xe=n(49676),Ae=n(86310),we=n(18526);function ke(e){return(0,we.Ay)("MuiPopper",e)}(0,Ae.A)("MuiPopper",["root"]);var Se=n(31085);const Ce=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ee=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Me(e){return"function"==typeof e?e():e}const Re={},Ie=a.forwardRef(function(e,t){var n;const{anchorEl:i,children:c,direction:u,disablePortal:d,modifiers:p,open:f,placement:h,popperOptions:m,popperRef:g,slotProps:v={},slots:y={},TransitionProps:b}=e,x=(0,o.A)(e,Ce),A=a.useRef(null),w=(0,s.A)(A,t),k=a.useRef(null),S=(0,s.A)(k,g),C=a.useRef(S);(0,l.A)(()=>{C.current=S},[S]),a.useImperativeHandle(g,()=>k.current,[]);const E=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,u),[M,R]=a.useState(E),[I,T]=a.useState(Me(i));a.useEffect(()=>{k.current&&k.current.forceUpdate()}),a.useEffect(()=>{i&&T(Me(i))},[i]),(0,l.A)(()=>{if(!I||!f)return;let e=[{name:"preventOverflow",options:{altBoundary:d}},{name:"flip",options:{altBoundary:d}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{R(e.placement)}}];null!=p&&(e=e.concat(p)),m&&null!=m.modifiers&&(e=e.concat(m.modifiers));const t=ve(I,A.current,(0,r.A)({placement:E},m,{modifiers:e}));return C.current(t),()=>{t.destroy(),C.current(null)}},[I,d,p,f,m,E]);const P={placement:M};null!==b&&(P.TransitionProps=b);const O=(e=>{const{classes:t}=e;return(0,ye.A)({root:["root"]},ke,t)})(e),L=null!=(n=y.root)?n:"div",_=(0,be.A)({elementType:L,externalSlotProps:v.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:O.root});return(0,Se.jsx)(L,(0,r.A)({},_,{children:"function"==typeof c?c(P):c}))}),Te=a.forwardRef(function(e,t){const{anchorEl:n,children:i,container:s,direction:l="ltr",disablePortal:u=!1,keepMounted:d=!1,modifiers:p,open:f,placement:h="bottom",popperOptions:m=Re,popperRef:g,style:v,transition:y=!1,slotProps:b={},slots:x={}}=e,A=(0,o.A)(e,Ee),[w,k]=a.useState(!0);if(!d&&!f&&(!y||w))return null;let S;if(s)S=s;else if(n){const e=Me(n);S=e&&void 0!==e.nodeType?(0,c.A)(e).body:(0,c.A)(null).body}const C=f||!d||y&&!w?void 0:"none",E=y?{in:f,onEnter:()=>{k(!1)},onExited:()=>{k(!0)}}:void 0;return(0,Se.jsx)(xe.A,{disablePortal:u,container:S,children:(0,Se.jsx)(Ie,(0,r.A)({anchorEl:n,direction:l,disablePortal:u,modifiers:p,ref:t,open:y?!w:f,placement:h,popperOptions:m,popperRef:g,slotProps:b,slots:x},A,{style:(0,r.A)({position:"fixed",top:0,left:0,display:C},v),TransitionProps:E,children:i}))})});var Pe=n(59193),Oe=n(49556);const Le=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],_e=(0,Pe.Ay)(Te,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ne=a.forwardRef(function(e,t){var n;const a=(0,i.A)(),s=(0,Oe.b)({props:e,name:"MuiPopper"}),{anchorEl:l,component:c,components:u,componentsProps:d,container:p,disablePortal:f,keepMounted:h,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:b,transition:x,slots:A,slotProps:w}=s,k=(0,o.A)(s,Le),S=null!=(n=null==A?void 0:A.root)?n:null==u?void 0:u.Root,C=(0,r.A)({anchorEl:l,container:p,disablePortal:f,keepMounted:h,modifiers:m,open:g,placement:v,popperOptions:y,popperRef:b,transition:x},k);return(0,Se.jsx)(_e,(0,r.A)({as:c,direction:null==a?void 0:a.direction,slots:{root:S},slotProps:null!=w?w:d},C,{ref:t}))})},49676:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(95478),o=n(40484),i=n(75584),a=n(82600),s=n(64714),l=n(89374),c=n(31085);const u=r.forwardRef(function(e,t){const{children:n,container:u,disablePortal:d=!1}=e,[p,f]=r.useState(null),h=(0,i.A)(r.isValidElement(n)?(0,a.A)(n):null,t);if((0,s.A)(()=>{d||f(function(e){return"function"==typeof e?e():e}(u)||document.body)},[u,d]),(0,s.A)(()=>{if(p&&!d)return(0,l.A)(t,p),()=>{(0,l.A)(t,null)}},[t,p,d]),d){if(r.isValidElement(n)){const e={ref:h};return r.cloneElement(n,e)}return(0,c.jsx)(r.Fragment,{children:n})}return(0,c.jsx)(r.Fragment,{children:p?o.createPortal(n,p):p})})},22854:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(54994),l=n(90028);var c=n(59193),u=n(49556),d=n(86310),p=n(18526);function f(e){return(0,p.Ay)("MuiSkeleton",e)}(0,d.A)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var h=n(31085);const m=["animation","className","component","height","style","variant","width"];let g,v,y,b,x=e=>e;const A=(0,s.keyframes)(g||(g=x`
|
|
156
|
-
0% {
|
|
157
|
-
opacity: 1;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
50% {
|
|
161
|
-
opacity: 0.4;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
100% {
|
|
165
|
-
opacity: 1;
|
|
166
|
-
}
|
|
167
|
-
`)),w=(0,s.keyframes)(v||(v=x`
|
|
168
|
-
0% {
|
|
169
|
-
transform: translateX(-100%);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
50% {
|
|
173
|
-
/* +0.5s of delay between each loop */
|
|
174
|
-
transform: translateX(100%);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
100% {
|
|
178
|
-
transform: translateX(100%);
|
|
179
|
-
}
|
|
180
|
-
`)),k=(0,c.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const n=(a=e.shape.borderRadius,String(a).match(/[\d.\-+]*\s*(.*)/)[1]||""||"px"),r=(i=e.shape.borderRadius,parseFloat(i));var i,a;return(0,o.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,s.alpha)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>"pulse"===e.animation&&(0,s.css)(y||(y=x`
|
|
181
|
-
animation: ${0} 2s ease-in-out 0.5s infinite;
|
|
182
|
-
`),A),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,s.css)(b||(b=x`
|
|
183
|
-
position: relative;
|
|
184
|
-
overflow: hidden;
|
|
185
|
-
|
|
186
|
-
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
|
|
187
|
-
-webkit-mask-image: -webkit-radial-gradient(white, black);
|
|
188
|
-
|
|
189
|
-
&::after {
|
|
190
|
-
animation: ${0} 2s linear 0.5s infinite;
|
|
191
|
-
background: linear-gradient(
|
|
192
|
-
90deg,
|
|
193
|
-
transparent,
|
|
194
|
-
${0},
|
|
195
|
-
transparent
|
|
196
|
-
);
|
|
197
|
-
content: '';
|
|
198
|
-
position: absolute;
|
|
199
|
-
transform: translateX(-100%); /* Avoid flash during server-side hydration */
|
|
200
|
-
bottom: 0;
|
|
201
|
-
left: 0;
|
|
202
|
-
right: 0;
|
|
203
|
-
top: 0;
|
|
204
|
-
}
|
|
205
|
-
`),w,(t.vars||t).palette.action.hover)),S=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiSkeleton"}),{animation:i="pulse",className:s,component:c="span",height:d,style:p,variant:g="text",width:v}=n,y=(0,r.A)(n,m),b=(0,o.A)({},n,{animation:i,component:c,variant:g,hasChildren:Boolean(y.children)}),x=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:a}=e,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,l.A)(s,f,t)})(b);return(0,h.jsx)(k,(0,o.A)({as:c,ref:t,className:(0,a.A)(x.root,s),ownerState:b},y,{style:(0,o.A)({width:v,height:d},p)}))})},97134:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(54994),o=n(59193),i=n(49556);const a=(0,r.createStack)({createStyledComponent:(0,o.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,i.b)({props:e,name:"MuiStack"})})},53855:(e,t,n)=>{"use strict";n.d(t,{A:()=>At});var r=n(89575),o=n(17502),i=n(95478),a=n(54357),s=n(90028),l=n(77174),c=n(59193),u=n(49556),d=n(3134),p=n(62886),f=n(9566),h=n(75584),m=n(26710),g=n(42768),v=n(64714),y=n(97254),b=n(31085);const x=["onChange","maxRows","minRows","style","value"];function A(e){return parseInt(e,10)||0}const w={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function k(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const S=i.forwardRef(function(e,t){const{onChange:n,maxRows:a,minRows:s=1,style:l,value:c}=e,u=(0,o.A)(e,x),{current:d}=i.useRef(null!=c),p=i.useRef(null),f=(0,h.A)(t,p),S=i.useRef(null),C=i.useRef(null),E=i.useCallback(()=>{const t=p.current,n=C.current;if(!t||!n)return;const r=(0,m.A)(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=r.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const o=r.boxSizing,i=A(r.paddingBottom)+A(r.paddingTop),l=A(r.borderBottomWidth)+A(r.borderTopWidth),c=n.scrollHeight;n.value="x";const u=n.scrollHeight;let d=c;return s&&(d=Math.max(Number(s)*u,d)),a&&(d=Math.min(Number(a)*u,d)),d=Math.max(d,u),{outerHeightStyle:d+("border-box"===o?i+l:0),overflowing:Math.abs(d-c)<=1}},[a,s,e.placeholder]),M=(0,g.A)(()=>{const e=p.current,t=E();if(!e||!t||k(t))return!1;const n=t.outerHeightStyle;return null!=S.current&&S.current!==n}),R=i.useCallback(()=>{const e=p.current,t=E();if(!e||!t||k(t))return;const n=t.outerHeightStyle;S.current!==n&&(S.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[E]),I=i.useRef(-1);return(0,v.A)(()=>{const e=(0,y.A)(R),t=null==p?void 0:p.current;if(!t)return;const n=(0,m.A)(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{M()&&(r.unobserve(t),cancelAnimationFrame(I.current),R(),I.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(I.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[E,R,M]),(0,v.A)(()=>{R()}),(0,b.jsxs)(i.Fragment,{children:[(0,b.jsx)("textarea",(0,r.A)({value:c,onChange:e=>{d||R(),n&&n(e)},ref:f,rows:s,style:l},u)),(0,b.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:C,tabIndex:-1,style:(0,r.A)({},w,l,{paddingTop:0,paddingBottom:0})})]})});function C({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}var E=n(77963),M=n(24499),R=n(3345),I=n(42787),T=n(14931),P=n(54994),O=n(12012),L=n(58001);const _=function(e){return(0,b.jsx)(P.GlobalStyles,(0,r.A)({},e,{defaultTheme:O.A,themeId:L.A}))};function N(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function j(e,t=!1){return e&&(N(e.value)&&""!==e.value||t&&N(e.defaultValue)&&""!==e.defaultValue)}var D=n(53203);const F=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],$=(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,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,R.A)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},z=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},B=(0,c.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:$})(({theme:e,ownerState:t})=>(0,r.A)({},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",[`&.${D.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,r.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),W=(0,c.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:z})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,o=(0,r.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,r.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${D.A.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${D.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),H=(0,b.jsx)(_,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),V=i.forwardRef(function(e,t){var n;const l=(0,u.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":c,autoComplete:d,autoFocus:h,className:m,components:g={},componentsProps:v={},defaultValue:y,disabled:x,disableInjectingGlobalStyles:A,endAdornment:w,fullWidth:k=!1,id:P,inputComponent:O="input",inputProps:L={},inputRef:_,maxRows:N,minRows:$,multiline:z=!1,name:V,onBlur:U,onChange:q,onClick:G,onFocus:K,onKeyDown:X,onKeyUp:Y,placeholder:Z,readOnly:Q,renderSuffix:J,rows:ee,slotProps:te={},slots:ne={},startAdornment:re,type:oe="text",value:ie}=l,ae=(0,o.A)(l,F),se=null!=L.value?L.value:ie,{current:le}=i.useRef(null!=se),ce=i.useRef(),ue=i.useCallback(e=>{},[]),de=(0,I.A)(ce,_,L.ref,ue),[pe,fe]=i.useState(!1),he=(0,M.A)(),me=C({props:l,muiFormControl:he,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=he?he.focused:pe,i.useEffect(()=>{!he&&x&&pe&&(fe(!1),U&&U())},[he,x,pe,U]);const ge=he&&he.onFilled,ve=he&&he.onEmpty,ye=i.useCallback(e=>{j(e)?ge&&ge():ve&&ve()},[ge,ve]);(0,T.A)(()=>{le&&ye({value:se})},[se,ye,le]),i.useEffect(()=>{ye(ce.current)},[]);let be=O,xe=L;z&&"input"===be&&(xe=ee?(0,r.A)({type:void 0,minRows:ee,maxRows:ee},xe):(0,r.A)({type:void 0,maxRows:N,minRows:$},xe),be=S),i.useEffect(()=>{he&&he.setAdornedStart(Boolean(re))},[he,re]);const Ae=(0,r.A)({},l,{color:me.color||"primary",disabled:me.disabled,endAdornment:w,error:me.error,focused:me.focused,formControl:he,fullWidth:k,hiddenLabel:me.hiddenLabel,multiline:z,size:me.size,startAdornment:re,type:oe}),we=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:p,size:f,startAdornment:h,type:m}=e,g={root:["root",`color${(0,R.A)(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",a&&"focused",l&&"formControl",f&&"medium"!==f&&`size${(0,R.A)(f)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return(0,s.A)(g,D.g,t)})(Ae),ke=ne.root||g.Root||B,Se=te.root||v.root||{},Ce=ne.input||g.Input||W;return xe=(0,r.A)({},xe,null!=(n=te.input)?n:v.input),(0,b.jsxs)(i.Fragment,{children:[!A&&H,(0,b.jsxs)(ke,(0,r.A)({},Se,!(0,f.A)(ke)&&{ownerState:(0,r.A)({},Ae,Se.ownerState)},{ref:t,onClick:e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),G&&G(e)}},ae,{className:(0,a.A)(we.root,Se.className,m,Q&&"MuiInputBase-readOnly"),children:[re,(0,b.jsx)(E.A.Provider,{value:null,children:(0,b.jsx)(Ce,(0,r.A)({ownerState:Ae,"aria-invalid":me.error,"aria-describedby":c,autoComplete:d,autoFocus:h,defaultValue:y,disabled:me.disabled,id:P,onAnimationStart:e=>{ye("mui-auto-fill-cancel"===e.animationName?ce.current:{value:"x"})},name:V,placeholder:Z,readOnly:Q,required:me.required,rows:ee,value:se,onKeyDown:X,onKeyUp:Y,type:oe},xe,!(0,f.A)(Ce)&&{as:be,ownerState:(0,r.A)({},Ae,xe.ownerState)},{ref:de,className:(0,a.A)(we.input,xe.className,Q&&"MuiInputBase-readOnly"),onBlur:e=>{U&&U(e),L.onBlur&&L.onBlur(e),he&&he.onBlur?he.onBlur(e):fe(!1)},onChange:(e,...t)=>{if(!le){const t=e.target||ce.current;if(null==t)throw new Error((0,p.A)(1));ye({value:t.value})}L.onChange&&L.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{me.disabled?e.stopPropagation():(K&&K(e),L.onFocus&&L.onFocus(e),he&&he.onFocus?he.onFocus(e):fe(!0))}}))}),w,J?J((0,r.A)({},me,{startAdornment:re})):null]}))]})}),U=V;var q=n(80285),G=n(67396);const K=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],X=(0,c.Ay)(B,{shouldForwardProp:e=>(0,q.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"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})`),(0,r.A)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${G.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${G.A.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(.${G.A.disabled}, .${G.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${G.A.disabled}:before`]:{borderBottomStyle:"dotted"}})}),Y=(0,c.Ay)(W,{name:"MuiInput",slot:"Input",overridesResolver:z})({}),Z=i.forwardRef(function(e,t){var n,i,a,l;const c=(0,u.b)({props:e,name:"MuiInput"}),{disableUnderline:p,components:f={},componentsProps:h,fullWidth:m=!1,inputComponent:g="input",multiline:v=!1,slotProps:y,slots:x={},type:A="text"}=c,w=(0,o.A)(c,K),k=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,s.A)(o,G.B,t);return(0,r.A)({},t,i)})(c),S={root:{ownerState:{disableUnderline:p}}},C=(null!=y?y:h)?(0,d.A)(null!=y?y:h,S):S,E=null!=(n=null!=(i=x.root)?i:f.Root)?n:X,M=null!=(a=null!=(l=x.input)?l:f.Input)?a:Y;return(0,b.jsx)(U,(0,r.A)({slots:{root:E,input:M},slotProps:C,fullWidth:m,inputComponent:g,multiline:v,ref:t,type:A},w,{classes:k}))});Z.muiName="Input";const Q=Z;var J=n(94776);const ee=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],te=(0,c.Ay)(B,{shouldForwardProp:e=>(0,q.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...$(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const o="light"===e.palette.mode,i=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,r.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${J.A.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${J.A.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${J.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${J.A.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})`:i}`,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(.${J.A.disabled}, .${J.A.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${J.A.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,r.A)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))}),ne=(0,c.Ay)(W,{name:"MuiFilledInput",slot:"Input",overridesResolver:z})(({theme:e,ownerState:t})=>(0,r.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),re=i.forwardRef(function(e,t){var n,i,a,l;const c=(0,u.b)({props:e,name:"MuiFilledInput"}),{components:p={},componentsProps:f,fullWidth:h=!1,inputComponent:m="input",multiline:g=!1,slotProps:v,slots:y={},type:x="text"}=c,A=(0,o.A)(c,ee),w=(0,r.A)({},c,{fullWidth:h,inputComponent:m,multiline:g,type:x}),k=(e=>{const{classes:t,disableUnderline:n}=e,o={root:["root",!n&&"underline"],input:["input"]},i=(0,s.A)(o,J.N,t);return(0,r.A)({},t,i)})(c),S={root:{ownerState:w},input:{ownerState:w}},C=(null!=v?v:f)?(0,d.A)(S,null!=v?v:f):S,E=null!=(n=null!=(i=y.root)?i:p.Root)?n:te,M=null!=(a=null!=(l=y.input)?l:p.Input)?a:ne;return(0,b.jsx)(U,(0,r.A)({slots:{root:E,input:M},componentsProps:C,fullWidth:h,inputComponent:m,multiline:g,ref:t,type:x},A,{classes:k}))});re.muiName="Input";const oe=re;var ie;const ae=["children","classes","className","label","notched"],se=(0,c.Ay)("fieldset",{shouldForwardProp:q.A})({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%"}),le=(0,c.Ay)("legend",{shouldForwardProp:q.A})(({ownerState:e,theme:t})=>(0,r.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,r.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));var ce=n(20304);const ue=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],de=(0,c.Ay)(B,{shouldForwardProp:e=>(0,q.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:$})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,r.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${ce.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${ce.A.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${ce.A.focused} .${ce.A.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${ce.A.error} .${ce.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${ce.A.disabled} .${ce.A.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,r.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),pe=(0,c.Ay)(function(e){const{className:t,label:n,notched:i}=e,a=(0,o.A)(e,ae),s=null!=n&&""!==n,l=(0,r.A)({},e,{notched:i,withLabel:s});return(0,b.jsx)(se,(0,r.A)({"aria-hidden":!0,className:t,ownerState:l},a,{children:(0,b.jsx)(le,{ownerState:l,children:s?(0,b.jsx)("span",{children:n}):ie||(ie=(0,b.jsx)("span",{className:"notranslate",children:""}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t="light"===e.palette.mode?"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}}),fe=(0,c.Ay)(W,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:z})(({theme:e,ownerState:t})=>(0,r.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?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"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),he=i.forwardRef(function(e,t){var n,a,l,c,d;const p=(0,u.b)({props:e,name:"MuiOutlinedInput"}),{components:f={},fullWidth:h=!1,inputComponent:m="input",label:g,multiline:v=!1,notched:y,slots:x={},type:A="text"}=p,w=(0,o.A)(p,ue),k=(e=>{const{classes:t}=e,n=(0,s.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},ce.v,t);return(0,r.A)({},t,n)})(p),S=(0,M.A)(),E=C({props:p,muiFormControl:S,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R=(0,r.A)({},p,{color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:S,fullWidth:h,hiddenLabel:E.hiddenLabel,multiline:v,size:E.size,type:A}),I=null!=(n=null!=(a=x.root)?a:f.Root)?n:de,T=null!=(l=null!=(c=x.input)?c:f.Input)?l:fe;return(0,b.jsx)(U,(0,r.A)({slots:{root:I,input:T},renderSuffix:e=>(0,b.jsx)(pe,{ownerState:R,className:k.notchedOutline,label:null!=g&&""!==g&&E.required?d||(d=(0,b.jsxs)(i.Fragment,{children:[g," ","*"]})):g,notched:void 0!==y?y:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:h,inputComponent:m,multiline:v,ref:t,type:A},w,{classes:(0,r.A)({},k,{notchedOutline:null})}))});he.muiName="Input";const me=he;var ge=n(86310),ve=n(18526);function ye(e){return(0,ve.Ay)("MuiFormLabel",e)}const be=(0,ge.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xe=["children","className","color","component","disabled","error","filled","focused","required"],Ae=(0,c.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,r.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>(0,r.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${be.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${be.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${be.error}`]:{color:(e.vars||e).palette.error.main}})),we=(0,c.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${be.error}`]:{color:(e.vars||e).palette.error.main}})),ke=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiFormLabel"}),{children:i,className:l,component:c="label"}=n,d=(0,o.A)(n,xe),p=C({props:n,muiFormControl:(0,M.A)(),states:["color","required","focused","disabled","error","filled"]}),f=(0,r.A)({},n,{color:p.color||"primary",component:c,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),h=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,c={root:["root",`color${(0,R.A)(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,s.A)(c,ye,t)})(f);return(0,b.jsxs)(Ae,(0,r.A)({as:c,ownerState:f,className:(0,a.A)(h.root,l),ref:t},d,{children:[i,p.required&&(0,b.jsxs)(we,{ownerState:f,"aria-hidden":!0,className:h.asterisk,children:[" ","*"]})]}))});function Se(e){return(0,ve.Ay)("MuiInputLabel",e)}(0,ge.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Ce=["disableAnimation","margin","shrink","variant","className"],Ee=(0,c.Ay)(ke,{shouldForwardProp:e=>(0,q.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${be.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>(0,r.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,r.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,r.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,r.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),Me=i.forwardRef(function(e,t){const n=(0,u.b)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:l,className:c}=n,d=(0,o.A)(n,Ce),p=(0,M.A)();let f=l;void 0===f&&p&&(f=p.filled||p.focused||p.adornedStart);const h=C({props:n,muiFormControl:p,states:["size","variant","required","focused"]}),m=(0,r.A)({},n,{disableAnimation:i,formControl:p,shrink:f,size:h.size,variant:h.variant,required:h.required,focused:h.focused}),g=(e=>{const{classes:t,formControl:n,size:o,shrink:i,disableAnimation:a,variant:l,required:c}=e,u={root:["root",n&&"formControl",!a&&"animated",i&&"shrink",o&&"normal"!==o&&`size${(0,R.A)(o)}`,l],asterisk:[c&&"asterisk"]},d=(0,s.A)(u,Se,t);return(0,r.A)({},t,d)})(m);return(0,b.jsx)(Ee,(0,r.A)({"data-shrink":f,ownerState:m,ref:t,className:(0,a.A)(g.root,c)},d,{classes:g}))});var Re=n(95456);function Ie(e){return(0,ve.Ay)("MuiFormControl",e)}(0,ge.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Te=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],Pe=(0,c.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,r.A)({},t.root,t[`margin${(0,R.A)(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>(0,r.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),Oe=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiFormControl"}),{children:l,className:c,color:d="primary",component:p="div",disabled:f=!1,error:h=!1,focused:m,fullWidth:g=!1,hiddenLabel:v=!1,margin:y="none",required:x=!1,size:A="medium",variant:w="outlined"}=n,k=(0,o.A)(n,Te),S=(0,r.A)({},n,{color:d,component:p,disabled:f,error:h,fullWidth:g,hiddenLabel:v,margin:y,required:x,size:A,variant:w}),C=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,R.A)(n)}`,r&&"fullWidth"]};return(0,s.A)(o,Ie,t)})(S),[M,I]=i.useState(()=>{let e=!1;return l&&i.Children.forEach(l,t=>{if(!(0,Re.A)(t,["Input","Select"]))return;const n=(0,Re.A)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}),e}),[T,P]=i.useState(()=>{let e=!1;return l&&i.Children.forEach(l,t=>{(0,Re.A)(t,["Input","Select"])&&(j(t.props,!0)||j(t.props.inputProps,!0))&&(e=!0)}),e}),[O,L]=i.useState(!1);f&&O&&L(!1);const _=void 0===m||f?O:m;let N;const D=i.useMemo(()=>({adornedStart:M,setAdornedStart:I,color:d,disabled:f,error:h,filled:T,focused:_,fullWidth:g,hiddenLabel:v,size:A,onBlur:()=>{L(!1)},onEmpty:()=>{P(!1)},onFilled:()=>{P(!0)},onFocus:()=>{L(!0)},registerEffect:N,required:x,variant:w}),[M,d,f,h,T,_,g,v,N,x,A,w]);return(0,b.jsx)(E.A.Provider,{value:D,children:(0,b.jsx)(Pe,(0,r.A)({as:p,ownerState:S,className:(0,a.A)(C.root,c),ref:t},k,{children:l}))})});function Le(e){return(0,ve.Ay)("MuiFormHelperText",e)}const _e=(0,ge.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Ne;const je=["children","className","component","disabled","error","filled","focused","margin","required","variant"],De=(0,c.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,R.A)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>(0,r.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${_e.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${_e.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),Fe=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiFormHelperText"}),{children:i,className:l,component:c="p"}=n,d=(0,o.A)(n,je),p=C({props:n,muiFormControl:(0,M.A)(),states:["variant","size","disabled","error","filled","focused","required"]}),f=(0,r.A)({},n,{component:c,contained:"filled"===p.variant||"outlined"===p.variant,variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required}),h=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:c}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${(0,R.A)(r)}`,n&&"contained",l&&"focused",a&&"filled",c&&"required"]};return(0,s.A)(u,Le,t)})(f);return(0,b.jsx)(De,(0,r.A)({as:c,ownerState:f,className:(0,a.A)(h.root,l),ref:t},d,{children:" "===i?Ne||(Ne=(0,b.jsx)("span",{className:"notranslate",children:""})):i}))});var $e=n(82600),ze=n(81889),Be=n(19277);function We(e){return(0,ve.Ay)("MuiNativeSelect",e)}const He=(0,ge.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ve=["className","disabled","error","IconComponent","inputRef","variant"],Ue=({ownerState:e,theme:t})=>(0,r.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,r.A)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${He.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),qe=(0,c.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:q.A,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${He.multiple}`]:t.multiple}]}})(Ue),Ge=({ownerState:e,theme:t})=>(0,r.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${He.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),Ke=(0,c.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,R.A)(n.variant)}`],n.open&&t.iconOpen]}})(Ge),Xe=i.forwardRef(function(e,t){const{className:n,disabled:l,error:c,IconComponent:u,inputRef:d,variant:p="standard"}=e,f=(0,o.A)(e,Ve),h=(0,r.A)({},e,{disabled:l,variant:p,error:c}),m=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,R.A)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,s.A)(l,We,t)})(h);return(0,b.jsxs)(i.Fragment,{children:[(0,b.jsx)(qe,(0,r.A)({ownerState:h,className:(0,a.A)(m.select,n),disabled:l,ref:d||t},f)),e.multiple?null:(0,b.jsx)(Ke,{as:u,ownerState:h,className:m.icon})]})});var Ye=n(36721),Ze=n(37358);function Qe(e){return(0,ve.Ay)("MuiSelect",e)}const Je=(0,ge.A)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var et;const tt=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],nt=(0,c.Ay)("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Je.select}`]:t.select},{[`&.${Je.select}`]:t[n.variant]},{[`&.${Je.error}`]:t.error},{[`&.${Je.multiple}`]:t.multiple}]}})(Ue,{[`&.${Je.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),rt=(0,c.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,R.A)(n.variant)}`],n.open&&t.iconOpen]}})(Ge),ot=(0,c.Ay)("input",{shouldForwardProp:e=>(0,Ye.A)(e)&&"classes"!==e,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 it(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function at(e){return null==e||"string"==typeof e&&!e.trim()}const st=i.forwardRef(function(e,t){var n;const{"aria-describedby":c,"aria-label":u,autoFocus:d,autoWidth:f,children:h,className:m,defaultOpen:g,defaultValue:v,disabled:y,displayEmpty:x,error:A=!1,IconComponent:w,inputRef:k,labelId:S,MenuProps:C={},multiple:E,name:M,onBlur:T,onChange:P,onClose:O,onFocus:L,onOpen:_,open:N,readOnly:D,renderValue:F,SelectDisplayProps:$={},tabIndex:z,value:B,variant:W="standard"}=e,H=(0,o.A)(e,tt),[V,U]=(0,Ze.A)({controlled:B,default:v,name:"Select"}),[q,G]=(0,Ze.A)({controlled:N,default:g,name:"Select"}),K=i.useRef(null),X=i.useRef(null),[Y,Z]=i.useState(null),{current:Q}=i.useRef(null!=N),[J,ee]=i.useState(),te=(0,I.A)(t,k),ne=i.useCallback(e=>{X.current=e,e&&Z(e)},[]),re=null==Y?void 0:Y.parentNode;i.useImperativeHandle(te,()=>({focus:()=>{X.current.focus()},node:K.current,value:V}),[V]),i.useEffect(()=>{g&&q&&Y&&!Q&&(ee(f?null:re.clientWidth),X.current.focus())},[Y,f]),i.useEffect(()=>{d&&X.current.focus()},[d]),i.useEffect(()=>{if(!S)return;const e=(0,ze.A)(X.current).getElementById(S);if(e){const t=()=>{getSelection().isCollapsed&&X.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[S]);const oe=(e,t)=>{e?_&&_(t):O&&O(t),Q||(ee(f?null:re.clientWidth),G(e))},ie=i.Children.toArray(h),ae=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(E){n=Array.isArray(V)?V.slice():[];const t=V.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),V!==n&&(U(n),P)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:M}}),P(o,e)}E||oe(!1,t)}},se=null!==Y&&q;let le,ce;delete H["aria-invalid"];const ue=[];let de=!1,pe=!1;(j({value:V})||x)&&(F?le=F(V):de=!0);const fe=ie.map(e=>{if(!i.isValidElement(e))return null;let t;if(E){if(!Array.isArray(V))throw new Error((0,p.A)(2));t=V.some(t=>it(t,e.props.value)),t&&de&&ue.push(e.props.children)}else t=it(V,e.props.value),t&&de&&(ce=e.props.children);return t&&(pe=!0),i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ae(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});de&&(le=E?0===ue.length?null:ue.reduce((e,t,n)=>(e.push(t),n<ue.length-1&&e.push(", "),e),[]):ce);let he,me=J;!f&&Q&&Y&&(me=re.clientWidth),he=void 0!==z?z:y?null:0;const ge=$.id||(M?`mui-component-select-${M}`:void 0),ve=(0,r.A)({},e,{variant:W,value:V,open:se,error:A}),ye=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,R.A)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,s.A)(l,Qe,t)})(ve),be=(0,r.A)({},C.PaperProps,null==(n=C.slotProps)?void 0:n.paper),xe=(0,l.A)();return(0,b.jsxs)(i.Fragment,{children:[(0,b.jsx)(nt,(0,r.A)({ref:ne,tabIndex:he,role:"combobox","aria-controls":xe,"aria-disabled":y?"true":void 0,"aria-expanded":se?"true":"false","aria-haspopup":"listbox","aria-label":u,"aria-labelledby":[S,ge].filter(Boolean).join(" ")||void 0,"aria-describedby":c,onKeyDown:e=>{D||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),oe(!0,e))},onMouseDown:y||D?null:e=>{0===e.button&&(e.preventDefault(),X.current.focus(),oe(!0,e))},onBlur:e=>{!se&&T&&(Object.defineProperty(e,"target",{writable:!0,value:{value:V,name:M}}),T(e))},onFocus:L},$,{ownerState:ve,className:(0,a.A)($.className,ye.select,m),id:ge,children:at(le)?et||(et=(0,b.jsx)("span",{className:"notranslate",children:""})):le})),(0,b.jsx)(ot,(0,r.A)({"aria-invalid":A,value:Array.isArray(V)?V.join(","):V,name:M,ref:K,"aria-hidden":!0,onChange:e=>{const t=ie.find(t=>t.props.value===e.target.value);void 0!==t&&(U(t.props.value),P&&P(e,t))},tabIndex:-1,disabled:y,className:ye.nativeInput,autoFocus:d,ownerState:ve},H)),(0,b.jsx)(rt,{as:w,className:ye.icon,ownerState:ve}),(0,b.jsx)(Be.A,(0,r.A)({id:`menu-${M||""}`,anchorEl:re,open:se,onClose:e=>{oe(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},C,{MenuListProps:(0,r.A)({"aria-labelledby":S,role:"listbox","aria-multiselectable":E?"true":void 0,disableListWrap:!0,id:xe},C.MenuListProps),slotProps:(0,r.A)({},C.slotProps,{paper:(0,r.A)({},be,{style:(0,r.A)({minWidth:me},null!=be?be.style:null)})}),children:fe}))]})});var lt=n(50145);const ct=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],ut=["root"],dt={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,q.A)(e)&&"variant"!==e,slot:"Root"},pt=(0,c.Ay)(Q,dt)(""),ft=(0,c.Ay)(me,dt)(""),ht=(0,c.Ay)(oe,dt)(""),mt=i.forwardRef(function(e,t){const n=(0,u.b)({name:"MuiSelect",props:e}),{autoWidth:s=!1,children:l,classes:c={},className:p,defaultOpen:f=!1,displayEmpty:h=!1,IconComponent:m=lt.A,id:g,input:v,inputProps:y,label:x,labelId:A,MenuProps:w,multiple:k=!1,native:S=!1,onClose:E,onOpen:R,open:T,renderValue:P,SelectDisplayProps:O,variant:L="outlined"}=n,_=(0,o.A)(n,ct),N=S?Xe:st,j=C({props:n,muiFormControl:(0,M.A)(),states:["variant","error"]}),D=j.variant||L,F=(0,r.A)({},n,{variant:D,classes:c}),$=(e=>{const{classes:t}=e;return t})(F),z=(0,o.A)($,ut),B=v||{standard:(0,b.jsx)(pt,{ownerState:F}),outlined:(0,b.jsx)(ft,{label:x,ownerState:F}),filled:(0,b.jsx)(ht,{ownerState:F})}[D],W=(0,I.A)(t,(0,$e.A)(B));return(0,b.jsx)(i.Fragment,{children:i.cloneElement(B,(0,r.A)({inputComponent:N,inputProps:(0,r.A)({children:l,error:j.error,IconComponent:m,variant:D,type:void 0,multiple:k},S?{id:g}:{autoWidth:s,defaultOpen:f,displayEmpty:h,labelId:A,MenuProps:w,onClose:E,onOpen:R,open:T,renderValue:P,SelectDisplayProps:(0,r.A)({id:g},O)},y,{classes:y?(0,d.A)(z,y.classes):z},v?v.props.inputProps:{})},(k&&S||h)&&"outlined"===D?{notched:!0}:{},{ref:W,className:(0,a.A)(B.props.className,p,$.root)},!v&&{variant:D},_))})});mt.muiName="Select";const gt=mt;function vt(e){return(0,ve.Ay)("MuiTextField",e)}(0,ge.A)("MuiTextField",["root"]);const yt=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],bt={standard:Q,filled:oe,outlined:me},xt=(0,c.Ay)(Oe,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),At=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiTextField"}),{autoComplete:i,autoFocus:c=!1,children:d,className:p,color:f="primary",defaultValue:h,disabled:m=!1,error:g=!1,FormHelperTextProps:v,fullWidth:y=!1,helperText:x,id:A,InputLabelProps:w,inputProps:k,InputProps:S,inputRef:C,label:E,maxRows:M,minRows:R,multiline:I=!1,name:T,onBlur:P,onChange:O,onFocus:L,placeholder:_,required:N=!1,rows:j,select:D=!1,SelectProps:F,type:$,value:z,variant:B="outlined"}=n,W=(0,o.A)(n,yt),H=(0,r.A)({},n,{autoFocus:c,color:f,disabled:m,error:g,fullWidth:y,multiline:I,required:N,select:D,variant:B}),V=(e=>{const{classes:t}=e;return(0,s.A)({root:["root"]},vt,t)})(H),U={};"outlined"===B&&(w&&void 0!==w.shrink&&(U.notched=w.shrink),U.label=E),D&&(F&&F.native||(U.id=void 0),U["aria-describedby"]=void 0);const q=(0,l.A)(A),G=x&&q?`${q}-helper-text`:void 0,K=E&&q?`${q}-label`:void 0,X=bt[B],Y=(0,b.jsx)(X,(0,r.A)({"aria-describedby":G,autoComplete:i,autoFocus:c,defaultValue:h,fullWidth:y,multiline:I,name:T,rows:j,maxRows:M,minRows:R,type:$,value:z,id:q,inputRef:C,onBlur:P,onChange:O,onFocus:L,placeholder:_,inputProps:k},U,S));return(0,b.jsxs)(xt,(0,r.A)({className:(0,a.A)(V.root,p),disabled:m,error:g,fullWidth:y,ref:t,required:N,color:f,variant:B,ownerState:H},W,{children:[null!=E&&""!==E&&(0,b.jsx)(Me,(0,r.A)({htmlFor:q,id:K},w,{children:E})),D?(0,b.jsx)(gt,(0,r.A)({"aria-describedby":G,id:q,labelId:K,value:z,input:Y},F,{children:d})):Y,x&&(0,b.jsx)(Fe,(0,r.A)({id:G},v,{children:x}))]}))})},1659:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(90028),l=n(49556),c=n(59193),u=n(86310),d=n(18526);function p(e){return(0,d.Ay)("MuiToolbar",e)}(0,u.A)("MuiToolbar",["root","gutters","regular","dense"]);var f=n(31085);const h=["className","component","disableGutters","variant"],m=(0,c.Ay)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>(0,o.A)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),g=i.forwardRef(function(e,t){const n=(0,l.b)({props:e,name:"MuiToolbar"}),{className:i,component:c="div",disableGutters:u=!1,variant:d="regular"}=n,g=(0,r.A)(n,h),v=(0,o.A)({},n,{component:c,disableGutters:u,variant:d}),y=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,s.A)(o,p,t)})(v);return(0,f.jsx)(m,(0,o.A)({as:c,className:(0,a.A)(y.root,i),ref:t,ownerState:v},g))})},74892:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(50909),l=n(90028),c=n(10984),u=n(26117),d=n(80288),p=n(82600),f=n(59193),h=n(6530),m=n(49556),g=n(3345),v=n(34766),y=n(29285),b=n(56113),x=n(42787),A=n(81141),w=n(50227),k=n(37358),S=n(86310),C=n(18526);function E(e){return(0,C.Ay)("MuiTooltip",e)}const M=(0,S.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var R=n(31085);const I=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],T=(0,f.Ay)(y.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>(0,o.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${M.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${M.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${M.arrow}`]:(0,o.A)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${M.arrow}`]:(0,o.A)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),P=(0,f.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,g.A)(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>{return(0,o.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,c.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5+"em"),fontWeight:e.typography.fontWeightRegular},{[`.${M.popper}[data-popper-placement*="left"] &`]:(0,o.A)({transformOrigin:"right center"},t.isRtl?(0,o.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,o.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${M.popper}[data-popper-placement*="right"] &`]:(0,o.A)({transformOrigin:"left center"},t.isRtl?(0,o.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,o.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${M.popper}[data-popper-placement*="top"] &`]:(0,o.A)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${M.popper}[data-popper-placement*="bottom"] &`]:(0,o.A)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n}),O=(0,f.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,c.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let L=!1;const _=new s.E;let N={x:0,y:0};function j(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const D=i.forwardRef(function(e,t){var n,c,f,S,C,M,D,F,$,z,B,W,H,V,U,q,G,K,X;const Y=(0,m.b)({props:e,name:"MuiTooltip"}),{arrow:Z=!1,children:Q,components:J={},componentsProps:ee={},describeChild:te=!1,disableFocusListener:ne=!1,disableHoverListener:re=!1,disableInteractive:oe=!1,disableTouchListener:ie=!1,enterDelay:ae=100,enterNextDelay:se=0,enterTouchDelay:le=700,followCursor:ce=!1,id:ue,leaveDelay:de=0,leaveTouchDelay:pe=1500,onClose:fe,onOpen:he,open:me,placement:ge="bottom",PopperComponent:ve,PopperProps:ye={},slotProps:be={},slots:xe={},title:Ae,TransitionComponent:we=v.A,TransitionProps:ke}=Y,Se=(0,r.A)(Y,I),Ce=i.isValidElement(Q)?Q:(0,R.jsx)("span",{children:Q}),Ee=(0,h.A)(),Me=(0,u.I)(),[Re,Ie]=i.useState(),[Te,Pe]=i.useState(null),Oe=i.useRef(!1),Le=oe||ce,_e=(0,s.A)(),Ne=(0,s.A)(),je=(0,s.A)(),De=(0,s.A)(),[Fe,$e]=(0,k.A)({controlled:me,default:!1,name:"Tooltip",state:"open"});let ze=Fe;const Be=(0,A.A)(ue),We=i.useRef(),He=(0,b.A)(()=>{void 0!==We.current&&(document.body.style.WebkitUserSelect=We.current,We.current=void 0),De.clear()});i.useEffect(()=>He,[He]);const Ve=e=>{_.clear(),L=!0,$e(!0),he&&!ze&&he(e)},Ue=(0,b.A)(e=>{_.start(800+de,()=>{L=!1}),$e(!1),fe&&ze&&fe(e),_e.start(Ee.transitions.duration.shortest,()=>{Oe.current=!1})}),qe=e=>{Oe.current&&"touchstart"!==e.type||(Re&&Re.removeAttribute("title"),Ne.clear(),je.clear(),ae||L&&se?Ne.start(L?se:ae,()=>{Ve(e)}):Ve(e))},Ge=e=>{Ne.clear(),je.start(de,()=>{Ue(e)})},{isFocusVisibleRef:Ke,onBlur:Xe,onFocus:Ye,ref:Ze}=(0,w.A)(),[,Qe]=i.useState(!1),Je=e=>{Xe(e),!1===Ke.current&&(Qe(!1),Ge(e))},et=e=>{Re||Ie(e.currentTarget),Ye(e),!0===Ke.current&&(Qe(!0),qe(e))},tt=e=>{Oe.current=!0;const t=Ce.props;t.onTouchStart&&t.onTouchStart(e)};i.useEffect(()=>{if(ze)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ue(e)}},[Ue,ze]);const nt=(0,x.A)((0,p.A)(Ce),Ze,Ie,t);Ae||0===Ae||(ze=!1);const rt=i.useRef(),ot={},it="string"==typeof Ae;te?(ot.title=ze||!it||re?null:Ae,ot["aria-describedby"]=ze?Be:null):(ot["aria-label"]=it?Ae:null,ot["aria-labelledby"]=ze&&!it?Be:null);const at=(0,o.A)({},ot,Se,Ce.props,{className:(0,a.A)(Se.className,Ce.props.className),onTouchStart:tt,ref:nt},ce?{onMouseMove:e=>{const t=Ce.props;t.onMouseMove&&t.onMouseMove(e),N={x:e.clientX,y:e.clientY},rt.current&&rt.current.update()}}:{}),st={};ie||(at.onTouchStart=e=>{tt(e),je.clear(),_e.clear(),He(),We.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",De.start(le,()=>{document.body.style.WebkitUserSelect=We.current,qe(e)})},at.onTouchEnd=e=>{Ce.props.onTouchEnd&&Ce.props.onTouchEnd(e),He(),je.start(pe,()=>{Ue(e)})}),re||(at.onMouseOver=j(qe,at.onMouseOver),at.onMouseLeave=j(Ge,at.onMouseLeave),Le||(st.onMouseOver=qe,st.onMouseLeave=Ge)),ne||(at.onFocus=j(et,at.onFocus),at.onBlur=j(Je,at.onBlur),Le||(st.onFocus=et,st.onBlur=Je));const lt=i.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(Te),options:{element:Te,padding:4}}];return null!=(e=ye.popperOptions)&&e.modifiers&&(t=t.concat(ye.popperOptions.modifiers)),(0,o.A)({},ye.popperOptions,{modifiers:t})},[Te,ye]),ct=(0,o.A)({},Y,{isRtl:Me,arrow:Z,disableInteractive:Le,placement:ge,PopperComponentProp:ve,touch:Oe.current}),ut=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,g.A)(i.split("-")[0])}`],arrow:["arrow"]};return(0,l.A)(a,E,t)})(ct),dt=null!=(n=null!=(c=xe.popper)?c:J.Popper)?n:T,pt=null!=(f=null!=(S=null!=(C=xe.transition)?C:J.Transition)?S:we)?f:v.A,ft=null!=(M=null!=(D=xe.tooltip)?D:J.Tooltip)?M:P,ht=null!=(F=null!=($=xe.arrow)?$:J.Arrow)?F:O,mt=(0,d.A)(dt,(0,o.A)({},ye,null!=(z=be.popper)?z:ee.popper,{className:(0,a.A)(ut.popper,null==ye?void 0:ye.className,null==(B=null!=(W=be.popper)?W:ee.popper)?void 0:B.className)}),ct),gt=(0,d.A)(pt,(0,o.A)({},ke,null!=(H=be.transition)?H:ee.transition),ct),vt=(0,d.A)(ft,(0,o.A)({},null!=(V=be.tooltip)?V:ee.tooltip,{className:(0,a.A)(ut.tooltip,null==(U=null!=(q=be.tooltip)?q:ee.tooltip)?void 0:U.className)}),ct),yt=(0,d.A)(ht,(0,o.A)({},null!=(G=be.arrow)?G:ee.arrow,{className:(0,a.A)(ut.arrow,null==(K=null!=(X=be.arrow)?X:ee.arrow)?void 0:K.className)}),ct);return(0,R.jsxs)(i.Fragment,{children:[i.cloneElement(Ce,at),(0,R.jsx)(dt,(0,o.A)({as:null!=ve?ve:y.A,placement:ge,anchorEl:ce?{getBoundingClientRect:()=>({top:N.y,left:N.x,right:N.x,bottom:N.y,width:0,height:0})}:Re,popperRef:rt,open:!!Re&&ze,id:Be,transition:!0},st,mt,{popperOptions:lt,children:({TransitionProps:e})=>(0,R.jsx)(pt,(0,o.A)({timeout:Ee.transitions.duration.shorter},e,gt,{children:(0,R.jsxs)(ft,(0,o.A)({},vt,{children:[Ae,Z?(0,R.jsx)(ht,(0,o.A)({},yt,{ref:Pe})):null]}))}))}))]})})},13674:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(17502),o=n(89575),i=n(95478),a=n(54357),s=n(29724),l=n(90028),c=n(59193),u=n(49556),d=n(3345),p=n(86310),f=n(18526);function h(e){return(0,f.Ay)("MuiTypography",e)}(0,p.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var m=n(31085);const g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],v=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,d.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,o.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=i.forwardRef(function(e,t){const n=(0,u.b)({props:e,name:"MuiTypography"}),i=(e=>b[e]||e)(n.color),c=(0,s.A)((0,o.A)({},n,{color:i})),{align:p="inherit",className:f,component:x,gutterBottom:A=!1,noWrap:w=!1,paragraph:k=!1,variant:S="body1",variantMapping:C=y}=c,E=(0,r.A)(c,g),M=(0,o.A)({},c,{align:p,color:i,className:f,component:x,gutterBottom:A,noWrap:w,paragraph:k,variant:S,variantMapping:C}),R=x||(k?"p":C[S]||y[S])||"span",I=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,d.A)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,l.A)(s,h,a)})(M);return(0,m.jsx)(v,(0,o.A)({as:R,ref:t,ownerState:M,className:(0,a.A)(I.root,f)},E))})},50145:(e,t,n)=>{"use strict";n.d(t,{A:()=>i}),n(95478);var r=n(41044),o=n(31085);const i=(0,r.A)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},17063:(e,t,n)=>{"use strict";n.d(t,{A:()=>ce});var r=n(89575),o=n(17502),i=n(62886),a=n(3134),s=n(75304),l=n(42254),c=n(71514),u=n(10984);const d={black:"#000",white:"#fff"},p={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},f="#f3e5f5",h="#ce93d8",m="#ba68c8",g="#ab47bc",v="#9c27b0",y="#7b1fa2",b="#e57373",x="#ef5350",A="#f44336",w="#d32f2f",k="#c62828",S="#ffb74d",C="#ffa726",E="#ff9800",M="#f57c00",R="#e65100",I="#e3f2fd",T="#90caf9",P="#42a5f5",O="#1976d2",L="#1565c0",_="#4fc3f7",N="#29b6f6",j="#03a9f4",D="#0288d1",F="#01579b",$="#81c784",z="#66bb6a",B="#4caf50",W="#388e3c",H="#2e7d32",V="#1b5e20",U=["mode","contrastThreshold","tonalOffset"],q={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},G={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function K(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,i)))}const X=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],Y={textTransform:"uppercase"},Z='"Roboto", "Helvetica", "Arial", sans-serif';function Q(e,t){const n="function"==typeof t?t(e):t,{fontFamily:i=Z,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,o.A)(n,X),g=s/14,v=h||(e=>e/p*g+"rem"),y=(e,t,n,o,a)=>{return(0,r.A)({fontFamily:i,fontWeight:e,fontSize:v(t),lineHeight:n},i===Z?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5+"em")}:{},a,f);var s},b={h1:y(l,96,1.167,-1.5),h2:y(l,60,1.2,-.5),h3:y(c,48,1.167,0),h4:y(c,34,1.235,.25),h5:y(c,24,1.334,0),h6:y(u,20,1.6,.15),subtitle1:y(c,16,1.75,.15),subtitle2:y(u,14,1.57,.1),body1:y(c,16,1.5,.15),body2:y(c,14,1.43,.15),button:y(u,14,1.75,.4,Y),caption:y(c,12,1.66,.4),overline:y(c,12,2.66,1,Y),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.A)((0,r.A)({htmlFontSize:p,pxToRem:v,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},b),m,{clone:!1})}function J(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const ee=["none",J(0,2,1,-1,0,1,1,0,0,1,3,0),J(0,3,1,-2,0,2,2,0,0,1,5,0),J(0,3,3,-2,0,3,4,0,0,1,8,0),J(0,2,4,-1,0,4,5,0,0,1,10,0),J(0,3,5,-1,0,5,8,0,0,1,14,0),J(0,3,5,-1,0,6,10,0,0,1,18,0),J(0,4,5,-2,0,7,10,1,0,2,16,1),J(0,5,5,-3,0,8,10,1,0,3,14,2),J(0,5,6,-3,0,9,12,1,0,3,16,2),J(0,6,6,-3,0,10,14,1,0,4,18,3),J(0,6,7,-4,0,11,15,1,0,4,20,3),J(0,7,8,-4,0,12,17,2,0,5,22,4),J(0,7,8,-4,0,13,19,2,0,5,24,4),J(0,7,9,-4,0,14,21,2,0,5,26,4),J(0,8,9,-5,0,15,22,2,0,6,28,5),J(0,8,10,-5,0,16,24,2,0,6,30,5),J(0,8,11,-5,0,17,26,2,0,6,32,5),J(0,9,11,-5,0,18,28,2,0,7,34,6),J(0,9,12,-6,0,19,29,2,0,7,36,6),J(0,10,13,-6,0,20,31,3,0,8,38,7),J(0,10,13,-6,0,21,33,3,0,8,40,7),J(0,10,14,-6,0,22,35,3,0,8,42,7),J(0,11,14,-7,0,23,36,3,0,9,44,8),J(0,11,15,-7,0,24,38,3,0,9,46,8)],te=["duration","easing","delay"],ne={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)"},re={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function oe(e){return`${Math.round(e)}ms`}function ie(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function ae(e){const t=(0,r.A)({},ne,e.easing),n=(0,r.A)({},re,e.duration);return(0,r.A)({getAutoHeightDuration:ie,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0}=r;return(0,o.A)(r,te),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:oe(i)} ${a} ${"string"==typeof s?s:oe(s)}`).join(",")}},e,{easing:t,duration:n})}const se={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},le=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const ce=function(e={},...t){const{mixins:n={},palette:X={},transitions:Y={},typography:Z={}}=e,J=(0,o.A)(e,le);if(e.vars&&void 0===e.generateCssVars)throw new Error((0,i.A)(18));const te=function(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,U),c=e.primary||function(e="light"){return"dark"===e?{main:T,light:I,dark:P}:{main:O,light:P,dark:L}}(t),X=e.secondary||function(e="light"){return"dark"===e?{main:h,light:f,dark:g}:{main:v,light:m,dark:y}}(t),Y=e.error||function(e="light"){return"dark"===e?{main:A,light:b,dark:w}:{main:w,light:x,dark:k}}(t),Z=e.info||function(e="light"){return"dark"===e?{main:N,light:_,dark:D}:{main:D,light:j,dark:F}}(t),Q=e.success||function(e="light"){return"dark"===e?{main:z,light:$,dark:W}:{main:H,light:B,dark:V}}(t),J=e.warning||function(e="light"){return"dark"===e?{main:C,light:S,dark:M}:{main:"#ed6c02",light:E,dark:R}}(t);function ee(e){return(0,u.eM)(e,G.text.primary)>=n?G.text.primary:q.text.primary}const te=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return K(e,"light",o,s),K(e,"dark",a,s),e.contrastText||(e.contrastText=ee(e.main)),e},ne={dark:G,light:q};return(0,a.A)((0,r.A)({common:(0,r.A)({},d),mode:t,primary:te({color:c,name:"primary"}),secondary:te({color:X,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:te({color:Y,name:"error"}),warning:te({color:J,name:"warning"}),info:te({color:Z,name:"info"}),success:te({color:Q,name:"success"}),grey:p,contrastThreshold:n,getContrastText:ee,augmentColor:te,tonalOffset:s},ne[t]),l)}(X),ne=(0,c.A)(e);let re=(0,a.A)(ne,{mixins:(oe=ne.breakpoints,ie=n,(0,r.A)({toolbar:{minHeight:56,[oe.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[oe.up("sm")]:{minHeight:64}}},ie)),palette:te,shadows:ee.slice(),typography:Q(te,Z),transitions:ae(Y),zIndex:(0,r.A)({},se)});var oe,ie;return re=(0,a.A)(re,J),re=t.reduce((e,t)=>(0,a.A)(e,t),re),re.unstable_sxConfig=(0,r.A)({},s.A,null==J?void 0:J.unstable_sxConfig),re.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},re}},12012:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(17063).A)()},58001:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},80285:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(36721);const o=e=>(0,r.A)(e)&&"classes"!==e},36721:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},59193:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(54642),o=n(12012),i=n(58001),a=n(80285);const s=(0,r.Ay)({themeId:i.A,defaultTheme:o.A,rootShouldForwardProp:a.A})},6530:(e,t,n)=>{"use strict";n.d(t,{A:()=>a}),n(95478);var r=n(54994),o=n(12012),i=n(58001);function a(){const e=(0,r.useTheme)(o.A);return e[i.A]||e}},82071:(e,t,n)=>{"use strict";n.d(t,{c:()=>o,q:()=>r});const r=e=>e.scrollTop;function o(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}},3345:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4456).A},41044:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(89575),o=n(95478),i=n(17502),a=n(54357),s=n(90028),l=n(3345),c=n(49556),u=n(59193),d=n(86310),p=n(18526);function f(e){return(0,p.Ay)("MuiSvgIcon",e)}(0,d.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(31085);const m=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,l.A)(n.color)}`],t[`fontSize${(0,l.A)(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),v=o.forwardRef(function(e,t){const n=(0,c.b)({props:e,name:"MuiSvgIcon"}),{children:u,className:d,color:p="inherit",component:v="svg",fontSize:y="medium",htmlColor:b,inheritViewBox:x=!1,titleAccess:A,viewBox:w="0 0 24 24"}=n,k=(0,i.A)(n,m),S=o.isValidElement(u)&&"svg"===u.type,C=(0,r.A)({},n,{color:p,component:v,fontSize:y,instanceFontSize:e.fontSize,inheritViewBox:x,viewBox:w,hasSvgAsChild:S}),E={};x||(E.viewBox=w);const M=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,l.A)(t)}`,`fontSize${(0,l.A)(n)}`]};return(0,s.A)(o,f,r)})(C);return(0,h.jsxs)(g,(0,r.A)({as:v,className:(0,a.A)(M.root,d),focusable:"false",color:b,"aria-hidden":!A||void 0,role:A?"img":void 0,ref:t},E,k,S&&u.props,{ownerState:C,children:[S?u.props.children:u,A?(0,h.jsx)("title",{children:A}):null]}))});v.muiName="SvgIcon";const y=v;function b(e,t){function n(n,o){return(0,h.jsx)(y,(0,r.A)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=y.muiName,o.memo(o.forwardRef(n))}},22180:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(97254).A},79893:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i,createSvgIcon:()=>a.A,debounce:()=>s.A,deprecatedPropType:()=>l,isMuiElement:()=>c.A,ownerDocument:()=>u.A,ownerWindow:()=>d.A,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>A,unstable_useEnhancedEffect:()=>h.A,unstable_useId:()=>m.A,unsupportedProp:()=>g,useControlled:()=>v.A,useEventCallback:()=>y.A,useForkRef:()=>b.A,useIsFocusVisible:()=>x.A});var r=n(64636),o=n(3345);const i=n(96754).A;var a=n(41044),s=n(22180);const l=function(e,t){return()=>null};var c=n(95456),u=n(81889),d=n(24720);n(89575);const p=function(e,t){return()=>null},f=n(89374).A;var h=n(14931),m=n(81141);const g=function(e,t,n,r,o){return null};var v=n(37358),y=n(56113),b=n(42787),x=n(50227);const A={configure:e=>{r.A.configure(e)}}},95456:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(6878).A},81889:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(28862).A},24720:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(26710).A},37358:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(2662).A},14931:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(64714).A},56113:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(42768).A},42787:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(75584).A},81141:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77174).A},50227:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(95478),o=n(50909);let i=!0,a=!1;const s=new o.E,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}const p=function(){const e=r.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))},[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,()=>{a=!1}),t.current=!1,!0)},ref:e}}},10984:(e,t,n)=>{"use strict";var r=n(4293);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)},t.e$=u,t.eM=function(e,t){const n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=d;var o=r(n(91471)),i=r(n(87717));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map(e=>parseFloat(e)),{type:n,values:i,colorSpace:r}}function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function d(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}},54642:(e,t,n)=>{"use strict";var r=n(4293);t.Ay=function(e={}){const{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:d,slot:f,skipVariantsResolver:m,skipSx:g,overridesResolver:A=b(v(f))}=c,w=(0,i.default)(c,p),k=d&&d.startsWith("Mui")||f?"components":"custom",S=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,C=g||!1;let E=h;"Root"===f||"root"===f?E=r:f?E=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const M=(0,a.default)(e,(0,o.default)({shouldForwardProp:E,label:void 0},w)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>{const i=y({theme:r.theme,defaultTheme:n,themeId:t});return x(e,(0,o.default)({},r,{theme:i}),i.modularCssLayers?k:void 0)}:e,I=(r,...i)=>{let a=R(r);const s=i?i.map(R):[];d&&A&&s.push(e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const i=r.components[d].styleOverrides,a={};return Object.entries(i).forEach(([t,n])=>{a[t]=x(n,(0,o.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)}),A(e,a)}),d&&!S&&s.push(e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return x({variants:null==i||null==(r=i.components)||null==(r=r[d])?void 0:r.variants},(0,o.default)({},e,{theme:i}),i.modularCssLayers?"theme":void 0)}),C||s.push(u);const l=s.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=M(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return M.withConfig&&(I.withConfig=M.withConfig),I}},t.MC=h;var o=r(n(24505)),i=r(n(51112)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(79096)),s=n(91832),l=(r(n(23976)),r(n(94783)),r(n(10115))),c=r(n(31036));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function m(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=(0,l.default)(),v=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function b(e){return e?(t,n)=>n[e]:null}function x(e,t,n){let{ownerState:r}=t,s=(0,i.default)(t,u);const l="function"==typeof e?e((0,o.default)({ownerState:r},s)):e;if(Array.isArray(l))return l.flatMap(e=>x(e,(0,o.default)({ownerState:r},s),n));if(l&&"object"==typeof l&&Array.isArray(l.variants)){const{variants:e=[]}=l;let t=(0,i.default)(l,d);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},s,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&s[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,o.default)({ownerState:r},s,r)):e.style;t.push(n?m((0,a.internal_serializeStyles)(i),n):i)}}),t}return n?m((0,a.internal_serializeStyles)(l),n):l}},10115:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var r=n(71514),o=n(79719),i=n(82609)},31036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>i.A});var r=n(42254),o=n(29724),i=n(75304)},19424:(e,t,n)=>{"use strict";t.A=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(95478)),o=n(79096);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}t.A=function(e=null){const t=r.useContext(o.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},80288:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(89575),o=n(9566);const i=function(e,t,n){return void 0===e||(0,o.A)(e)?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}},23976:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(4456)},87717:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(51438)},96754:(e,t,n)=>{"use strict";function r(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}n.d(t,{A:()=>r})},97254:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{A:()=>r})},91832:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(3134)},88796:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}},91471:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(62886)},94783:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>i});var r=n(27449);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.vM:return s(e,e.render,"ForwardRef");case r.lD:return s(e,e.type,"memo");default:return}}}},82600:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);function o(e){var t;return parseInt(r.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}},9566:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"string"==typeof e}},99116:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(89575),o=n(54357),i=n(88796);const a=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},s=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:s,externalForwardedProps:l,className:c}=e;if(!t){const e=(0,o.A)(null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),t=(0,r.A)({},null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),i=(0,r.A)({},n,l,s);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const u=(0,i.A)((0,r.A)({},l,s)),d=a(s),p=a(l),f=t(u),h=(0,o.A)(null==f?void 0:f.className,null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),m=(0,r.A)({},null==f?void 0:f.style,null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),g=(0,r.A)({},f,n,p,d);return h.length>0&&(g.className=h),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:f.ref}}},28862:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},26710:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(28862);function o(e){return(0,r.A)(e).defaultView||window}},48342:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return"function"==typeof e?e(t,n):e}},89374:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},2662:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback(e=>{i||s(e)},[])]}},42768:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95478),o=n(64714);const i=function(e){const t=r.useRef(e);return(0,o.A)(()=>{t.current=e}),r.useRef((...e)=>(0,t.current)(...e)).current}},75584:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(95478),o=n(89374);function i(...e){return r.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.A)(e,t)})},e)}},10908:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);const o=e=>{const t=r.useRef({});return r.useEffect(()=>{t.current=e}),t.current}},71014:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(89575),o=n(17502),i=n(75584),a=n(80288),s=n(99116),l=n(48342);const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"],u=function(e){var t;const{elementType:n,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:p=!1}=e,f=(0,o.A)(e,c),h=p?{}:(0,l.A)(u,d),{props:m,internalRef:g}=(0,s.A)((0,r.A)({},f,{externalSlotProps:h})),v=(0,i.A)(g,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.A)(n,(0,r.A)({},m,{ref:v}),d)}},50909:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>s});var r=n(95478);const o={},i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function s(){const e=function(e){const t=r.useRef(o);return t.current===o&&(t.current=e(void 0)),t}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},27449:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler");Symbol.for("react.provider");Symbol.for("react.consumer"),Symbol.for("react.context");var n=Symbol.for("react.forward_ref"),r=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.view_transition"),Symbol.for("react.client.reference");t.vM=n,t.lD=r},76272:e=>{var t=.1,n="function"==typeof Float32Array;function r(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function i(e){return 3*e}function a(e,t,n){return((r(t,n)*e+o(t,n))*e+i(t))*e}function s(e,t,n){return 3*r(t,n)*e*e+2*o(t,n)*e+i(t)}function l(e){return e}e.exports=function(e,r,o,i){if(!(0<=e&&e<=1&&0<=o&&o<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===r&&o===i)return l;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=a(u*t,e,o);return function(n){return 0===n?0:1===n?1:a(function(n){for(var r=0,i=1;10!==i&&c[i]<=n;++i)r+=t;--i;var l=r+(n-c[i])/(c[i+1]-c[i])*t,u=s(l,e,o);return u>=.001?function(e,t,n,r){for(var o=0;o<4;++o){var i=s(t,n,r);if(0===i)return t;t-=(a(t,n,r)-e)/i}return t}(n,l,e,o):0===u?l:function(e,t,n,r,o){var i,s,l=0;do{(i=a(s=t+(n-t)/2,r,o)-e)>0?n=s:t=s}while(Math.abs(i)>1e-7&&++l<10);return s}(n,r,r+t,e,o)}(n),r,i)}}},40200:(e,t,n)=>{"use strict";var r=n(71761),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))}),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},89710:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,u,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(o=l(t,n))&&(h&&o&&(a(o)||(c=i(o)))?(c?(c=!1,u=r&&i(r)?r:[]):u=r&&a(r)?r:{},s(d,{name:n,newValue:e(h,u,o)})):void 0!==o&&s(d,{name:n,newValue:o}));return d}},15937:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:d,column:p};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:p},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function b(){y(r)}function x(e){var t;for(e=e||[];t=A();)!1!==t&&e.push(t);return e}function A(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}function w(){var e=h(),n=y(o);if(n){if(A(),!y(i))return v("property missing ':'");var r=y(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(s),l}}return b(),function(){var e,t=[];for(x(t);e=w();)!1!==e&&(t.push(e),x(t));return t}()}},85703:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},86403:(e,t,n)=>{var r=n(62945),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},62945:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},12784:(e,t,n)=>{var r=n(41580),o=n(94495),i=n(6131),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,r=c;return l=c=void 0,h=t,d=e.apply(r,n)}function b(e){var n=e-f;return void 0===f||n>=t||n<0||g&&e-h>=u}function x(){var e=o();if(b(e))return A(e);p=setTimeout(x,function(e){var n=t-(e-f);return g?s(n,u-(e-h)):n}(e))}function A(e){return p=void 0,v&&l?y(e):(l=c=void 0,d)}function w(){var e=o(),n=b(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return function(e){return h=e,p=setTimeout(x,t),m?y(e):d}(f);if(g)return clearTimeout(p),p=setTimeout(x,t),y(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),w.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},w.flush=function(){return void 0===p?d:A(o())},w}},45250:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=32,c=128,u=1/0,d=9007199254740991,p=NaN,f=4294967295,h=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],m="[object Arguments]",g="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",x="[object Function]",A="[object GeneratorFunction]",w="[object Map]",k="[object Number]",S="[object Object]",C="[object Promise]",E="[object RegExp]",M="[object Set]",R="[object String]",I="[object Symbol]",T="[object WeakMap]",P="[object ArrayBuffer]",O="[object DataView]",L="[object Float32Array]",_="[object Float64Array]",N="[object Int8Array]",j="[object Int16Array]",D="[object Int32Array]",F="[object Uint8Array]",$="[object Uint8ClampedArray]",z="[object Uint16Array]",B="[object Uint32Array]",W=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,V=/(__e\(.*?\)|\b__t\)) \+\n'';/g,U=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,G=RegExp(U.source),K=RegExp(q.source),X=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,Ae="\\ud800-\\udfff",we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ee="\\ufe0e\\ufe0f",Me="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Re="["+Ae+"]",Ie="["+Me+"]",Te="["+we+"]",Pe="\\d+",Oe="["+ke+"]",Le="["+Se+"]",_e="[^"+Ae+Me+Pe+ke+Se+Ce+"]",Ne="\\ud83c[\\udffb-\\udfff]",je="[^"+Ae+"]",De="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+Ce+"]",ze="\\u200d",Be="(?:"+Le+"|"+_e+")",We="(?:"+$e+"|"+_e+")",He="(?:['’](?:d|ll|m|re|s|t|ve))?",Ve="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ue="(?:"+Te+"|"+Ne+")?",qe="["+Ee+"]?",Ge=qe+Ue+"(?:"+ze+"(?:"+[je,De,Fe].join("|")+")"+qe+Ue+")*",Ke="(?:"+[Oe,De,Fe].join("|")+")"+Ge,Xe="(?:"+[je+Te+"?",Te,De,Fe,Re].join("|")+")",Ye=RegExp("['’]","g"),Ze=RegExp(Te,"g"),Qe=RegExp(Ne+"(?="+Ne+")|"+Xe+Ge,"g"),Je=RegExp([$e+"?"+Le+"+"+He+"(?="+[Ie,$e,"$"].join("|")+")",We+"+"+Ve+"(?="+[Ie,$e+Be,"$"].join("|")+")",$e+"?"+Be+"+"+He,$e+"+"+Ve,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Pe,Ke].join("|"),"g"),et=RegExp("["+ze+Ae+we+Ee+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[L]=ot[_]=ot[N]=ot[j]=ot[D]=ot[F]=ot[$]=ot[z]=ot[B]=!0,ot[m]=ot[g]=ot[P]=ot[v]=ot[O]=ot[y]=ot[b]=ot[x]=ot[w]=ot[k]=ot[S]=ot[E]=ot[M]=ot[R]=ot[T]=!1;var it={};it[m]=it[g]=it[P]=it[O]=it[v]=it[y]=it[L]=it[_]=it[N]=it[j]=it[D]=it[w]=it[k]=it[S]=it[E]=it[M]=it[R]=it[I]=it[F]=it[$]=it[z]=it[B]=!0,it[b]=it[x]=it[T]=!1;var at={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,lt=parseInt,ct="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ut="object"==typeof self&&self&&self.Object===Object&&self,dt=ct||ut||Function("return this")(),pt=t&&!t.nodeType&&t,ft=pt&&e&&!e.nodeType&&e,ht=ft&&ft.exports===pt,mt=ht&&ct.process,gt=function(){try{return ft&&ft.require&&ft.require("util").types||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),vt=gt&>.isArrayBuffer,yt=gt&>.isDate,bt=gt&>.isMap,xt=gt&>.isRegExp,At=gt&>.isSet,wt=gt&>.isTypedArray;function kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Et(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Mt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function It(e,t){return!(null==e||!e.length)&&$t(e,t,0)>-1}function Tt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Pt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Ot(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function _t(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Nt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var jt=Ht("length");function Dt(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function Ft(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function $t(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ft(e,Bt,n)}function zt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Bt(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:p}function Ht(e){return function(t){return null==t?o:t[e]}}function Vt(e){return function(t){return null==e?o:e[t]}}function Ut(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function qt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Kt(e){return e?e.slice(0,pn(e)+1).replace(re,""):e}function Xt(e){return function(t){return e(t)}}function Yt(e,t){return Pt(t,function(t){return e[t]})}function Zt(e,t){return e.has(t)}function Qt(e,t){for(var n=-1,r=e.length;++n<r&&$t(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&$t(t,e[n],0)>-1;);return n}var en=Vt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),tn=Vt({"&":"&","<":"<",">":">",'"':""","'":"'"});function nn(e){return"\\"+at[e]}function rn(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function an(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function ln(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function un(e){return rn(e)?function(e){for(var t=Qe.lastIndex=0;Qe.test(e);)++t;return t}(e):jt(e)}function dn(e){return rn(e)?function(e){return e.match(Qe)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var fn=Vt({"&":"&","<":"<",">":">",""":'"',"'":"'"}),hn=function e(t){var n,r=(t=null==t?dt:hn.defaults(dt.Object(),t,hn.pick(dt,nt))).Array,oe=t.Date,Ae=t.Error,we=t.Function,ke=t.Math,Se=t.Object,Ce=t.RegExp,Ee=t.String,Me=t.TypeError,Re=r.prototype,Ie=we.prototype,Te=Se.prototype,Pe=t["__core-js_shared__"],Oe=Ie.toString,Le=Te.hasOwnProperty,_e=0,Ne=(n=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=Te.toString,De=Oe.call(Se),Fe=dt._,$e=Ce("^"+Oe.call(Le).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=ht?t.Buffer:o,Be=t.Symbol,We=t.Uint8Array,He=ze?ze.allocUnsafe:o,Ve=an(Se.getPrototypeOf,Se),Ue=Se.create,qe=Te.propertyIsEnumerable,Ge=Re.splice,Ke=Be?Be.isConcatSpreadable:o,Xe=Be?Be.iterator:o,Qe=Be?Be.toStringTag:o,et=function(){try{var e=ci(Se,"defineProperty");return e({},"",{}),e}catch(e){}}(),at=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,ct=oe&&oe.now!==dt.Date.now&&oe.now,ut=t.setTimeout!==dt.setTimeout&&t.setTimeout,pt=ke.ceil,ft=ke.floor,mt=Se.getOwnPropertySymbols,gt=ze?ze.isBuffer:o,jt=t.isFinite,Vt=Re.join,mn=an(Se.keys,Se),gn=ke.max,vn=ke.min,yn=oe.now,bn=t.parseInt,xn=ke.random,An=Re.reverse,wn=ci(t,"DataView"),kn=ci(t,"Map"),Sn=ci(t,"Promise"),Cn=ci(t,"Set"),En=ci(t,"WeakMap"),Mn=ci(Se,"create"),Rn=En&&new En,In={},Tn=Di(wn),Pn=Di(kn),On=Di(Sn),Ln=Di(Cn),_n=Di(En),Nn=Be?Be.prototype:o,jn=Nn?Nn.valueOf:o,Dn=Nn?Nn.toString:o;function Fn(e){if(es(e)&&!Ha(e)&&!(e instanceof Wn)){if(e instanceof Bn)return e;if(Le.call(e,"__wrapped__"))return Fi(e)}return new Bn(e)}var $n=function(){function e(){}return function(t){if(!Ja(t))return{};if(Ue)return Ue(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function zn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Vn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Un;++t<n;)this.add(e[t])}function Gn(e){var t=this.__data__=new Vn(e);this.size=t.size}function Kn(e,t){var n=Ha(e),r=!n&&Wa(e),o=!n&&!r&&Ga(e),i=!n&&!r&&!o&&ls(e),a=n||r||o||i,s=a?Gt(e.length,Ee):[],l=s.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||gi(c,l))||s.push(c);return s}function Xn(e){var t=e.length;return t?e[Ur(0,t-1)]:o}function Yn(e,t){return Oi(Mo(e),ir(t,0,e.length))}function Zn(e){return Oi(Mo(e))}function Qn(e,t,n){(n!==o&&!$a(e[t],n)||n===o&&!(t in e))&&rr(e,t,n)}function Jn(e,t,n){var r=e[t];Le.call(e,t)&&$a(r,n)&&(n!==o||t in e)||rr(e,t,n)}function er(e,t){for(var n=e.length;n--;)if($a(e[n][0],t))return n;return-1}function tr(e,t,n,r){return ur(e,function(e,o,i){t(r,e,n(e),i)}),r}function nr(e,t){return e&&Ro(t,Ts(t),e)}function rr(e,t,n){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function or(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Cs(e,t[n]);return a}function ir(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ar(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!Ja(e))return e;var d=Ha(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Mo(e,s)}else{var p=pi(e),f=p==x||p==A;if(Ga(e))return Ao(e,l);if(p==S||p==m||f&&!i){if(s=c||f?{}:hi(e),!l)return c?function(e,t){return Ro(e,di(e),t)}(e,function(e,t){return e&&Ro(t,Ps(t),e)}(s,e)):function(e,t){return Ro(e,ui(e),t)}(e,nr(s,e))}else{if(!it[p])return i?e:{};s=function(e,t,n){var r,o=e.constructor;switch(t){case P:return wo(e);case v:case y:return new o(+e);case O:return function(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case _:case N:case j:case D:case F:case $:case z:case B:return ko(e,n);case w:return new o;case k:case R:return new o(e);case E:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case M:return new o;case I:return r=e,jn?Se(jn.call(r)):{}}}(e,p,l)}}a||(a=new Gn);var h=a.get(e);if(h)return h;a.set(e,s),is(e)?e.forEach(function(r){s.add(ar(r,t,n,r,e,a))}):ts(e)&&e.forEach(function(r,o){s.set(o,ar(r,t,n,o,e,a))});var g=d?o:(u?c?ni:ti:c?Ps:Ts)(e);return Ct(g||e,function(r,o){g&&(r=e[o=r]),Jn(s,o,ar(r,t,n,o,e,a))}),s}function sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Se(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function lr(e,t,n){if("function"!=typeof e)throw new Me(i);return Ri(function(){e.apply(o,n)},t)}function cr(e,t,n,r){var o=-1,i=It,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Pt(t,Xt(n))),r?(i=Tt,a=!1):t.length>=200&&(i=Zt,a=!1,t=new qn(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}Fn.templateSettings={escape:X,evaluate:Y,interpolate:Z,variable:"",imports:{_:Fn}},Fn.prototype=zn.prototype,Fn.prototype.constructor=Fn,Bn.prototype=$n(zn.prototype),Bn.prototype.constructor=Bn,Wn.prototype=$n(zn.prototype),Wn.prototype.constructor=Wn,Hn.prototype.clear=function(){this.__data__=Mn?Mn(null):{},this.size=0},Hn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Hn.prototype.get=function(e){var t=this.__data__;if(Mn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},Hn.prototype.has=function(e){var t=this.__data__;return Mn?t[e]!==o:Le.call(t,e)},Hn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Mn&&t===o?a:t,this},Vn.prototype.clear=function(){this.__data__=[],this.size=0},Vn.prototype.delete=function(e){var t=this.__data__,n=er(t,e);return!(n<0||(n==t.length-1?t.pop():Ge.call(t,n,1),--this.size,0))},Vn.prototype.get=function(e){var t=this.__data__,n=er(t,e);return n<0?o:t[n][1]},Vn.prototype.has=function(e){return er(this.__data__,e)>-1},Vn.prototype.set=function(e,t){var n=this.__data__,r=er(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Un.prototype.clear=function(){this.size=0,this.__data__={hash:new Hn,map:new(kn||Vn),string:new Hn}},Un.prototype.delete=function(e){var t=si(this,e).delete(e);return this.size-=t?1:0,t},Un.prototype.get=function(e){return si(this,e).get(e)},Un.prototype.has=function(e){return si(this,e).has(e)},Un.prototype.set=function(e,t){var n=si(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},qn.prototype.add=qn.prototype.push=function(e){return this.__data__.set(e,a),this},qn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.clear=function(){this.__data__=new Vn,this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Gn.prototype.get=function(e){return this.__data__.get(e)},Gn.prototype.has=function(e){return this.__data__.has(e)},Gn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Vn){var r=n.__data__;if(!kn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Un(r)}return n.set(e,t),this.size=n.size,this};var ur=Po(yr),dr=Po(br,!0);function pr(e,t){var n=!0;return ur(e,function(e,r,o){return n=!!t(e,r,o)}),n}function fr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s==s&&!ss(s):n(s,l)))var l=s,c=a}return c}function hr(e,t){var n=[];return ur(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function mr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=mi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?mr(s,t-1,n,r,o):Ot(o,s):r||(o[o.length]=s)}return o}var gr=Oo(),vr=Oo(!0);function yr(e,t){return e&&gr(e,t,Ts)}function br(e,t){return e&&vr(e,t,Ts)}function xr(e,t){return Rt(t,function(t){return Ya(e[t])})}function Ar(e,t){for(var n=0,r=(t=vo(t,e)).length;null!=e&&n<r;)e=e[ji(t[n++])];return n&&n==r?e:o}function wr(e,t,n){var r=t(e);return Ha(e)?r:Ot(r,n(e))}function kr(e){return null==e?e===o?"[object Undefined]":"[object Null]":Qe&&Qe in Se(e)?function(e){var t=Le.call(e,Qe),n=e[Qe];try{e[Qe]=o;var r=!0}catch(e){}var i=je.call(e);return r&&(t?e[Qe]=n:delete e[Qe]),i}(e):function(e){return je.call(e)}(e)}function Sr(e,t){return e>t}function Cr(e,t){return null!=e&&Le.call(e,t)}function Er(e,t){return null!=e&&t in Se(e)}function Mr(e,t,n){for(var i=n?Tt:It,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Pt(p,Xt(t))),u=vn(p.length,u),c[l]=!n&&(t||a>=120&&p.length>=120)?new qn(l&&p):o}p=e[0];var f=-1,h=c[0];e:for(;++f<a&&d.length<u;){var m=p[f],g=t?t(m):m;if(m=n||0!==m?m:0,!(h?Zt(h,g):i(d,g,n))){for(l=s;--l;){var v=c[l];if(!(v?Zt(v,g):i(e[l],g,n)))continue e}h&&h.push(g),d.push(m)}}return d}function Rr(e,t,n){var r=null==(e=Ci(e,t=vo(t,e)))?e:e[ji(Xi(t))];return null==r?o:kt(r,e,n)}function Ir(e){return es(e)&&kr(e)==m}function Tr(e,t,n,r,i){return e===t||(null==e||null==t||!es(e)&&!es(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=Ha(e),l=Ha(t),c=s?g:pi(e),u=l?g:pi(t),d=(c=c==m?S:c)==S,p=(u=u==m?S:u)==S,f=c==u;if(f&&Ga(e)){if(!Ga(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Gn),s||ls(e)?Jo(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!i(new We(e),new We(t)));case v:case y:case k:return $a(+e,+t);case b:return e.name==t.name&&e.message==t.message;case E:case R:return e==t+"";case w:var s=on;case M:var l=1&r;if(s||(s=ln),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Jo(s(e),s(t),r,o,i,a);return a.delete(e),u;case I:if(jn)return jn.call(e)==jn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=d&&Le.call(e,"__wrapped__"),x=p&&Le.call(t,"__wrapped__");if(h||x){var A=h?e.value():e,C=x?t.value():t;return a||(a=new Gn),i(A,C,n,r,a)}}return!!f&&(a||(a=new Gn),function(e,t,n,r,i,a){var s=1&n,l=ti(e),c=l.length;if(c!=ti(t).length&&!s)return!1;for(var u=c;u--;){var d=l[u];if(!(s?d in t:Le.call(t,d)))return!1}var p=a.get(e),f=a.get(t);if(p&&f)return p==t&&f==e;var h=!0;a.set(e,t),a.set(t,e);for(var m=s;++u<c;){var g=e[d=l[u]],v=t[d];if(r)var y=s?r(v,g,d,t,e,a):r(g,v,d,e,t,a);if(!(y===o?g===v||i(g,v,n,r,a):y)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,r,i,a))}(e,t,n,r,Tr,i))}function Pr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Se(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===o&&!(c in e))return!1}else{var p=new Gn;if(r)var f=r(u,d,c,e,t,p);if(!(f===o?Tr(d,u,3,r,p):f))return!1}}return!0}function Or(e){return!(!Ja(e)||(t=e,Ne&&Ne in t))&&(Ya(e)?$e:me).test(Di(e));var t}function Lr(e){return"function"==typeof e?e:null==e?nl:"object"==typeof e?Ha(e)?Fr(e[0],e[1]):Dr(e):dl(e)}function _r(e){if(!Ai(e))return mn(e);var t=[];for(var n in Se(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Nr(e,t){return e<t}function jr(e,t){var n=-1,o=Ua(e)?r(e.length):[];return ur(e,function(e,r,i){o[++n]=t(e,r,i)}),o}function Dr(e){var t=li(e);return 1==t.length&&t[0][2]?ki(t[0][0],t[0][1]):function(n){return n===e||Pr(n,e,t)}}function Fr(e,t){return yi(e)&&wi(t)?ki(ji(e),t):function(n){var r=Cs(n,e);return r===o&&r===t?Es(n,e):Tr(t,r,3)}}function $r(e,t,n,r,i){e!==t&&gr(t,function(a,s){if(i||(i=new Gn),Ja(a))!function(e,t,n,r,i,a,s){var l=Ei(e,n),c=Ei(t,n),u=s.get(c);if(u)Qn(e,n,u);else{var d=a?a(l,c,n+"",e,t,s):o,p=d===o;if(p){var f=Ha(c),h=!f&&Ga(c),m=!f&&!h&&ls(c);d=c,f||h||m?Ha(l)?d=l:qa(l)?d=Mo(l):h?(p=!1,d=Ao(c,!0)):m?(p=!1,d=ko(c,!0)):d=[]:rs(c)||Wa(c)?(d=l,Wa(l)?d=gs(l):Ja(l)&&!Ya(l)||(d=hi(c))):p=!1}p&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Qn(e,n,d)}}(e,t,s,n,$r,r,i);else{var l=r?r(Ei(e,s),a,s+"",e,t,i):o;l===o&&(l=a),Qn(e,s,l)}},Ps)}function zr(e,t){var n=e.length;if(n)return gi(t+=t<0?n:0,n)?e[t]:o}function Br(e,t,n){t=t.length?Pt(t,function(e){return Ha(e)?function(t){return Ar(t,1===e.length?e[0]:e)}:e}):[nl];var r=-1;t=Pt(t,Xt(ai()));var o=jr(e,function(e,n,o){var i=Pt(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return function(e){var t=e.length;for(e.sort(function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var l=So(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)});t--;)e[t]=e[t].value;return e}(o)}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Ar(e,a);n(s,a)&&Yr(i,vo(a,e),s)}return i}function Hr(e,t,n,r){var o=r?zt:$t,i=-1,a=t.length,s=e;for(e===t&&(t=Mo(t)),n&&(s=Pt(e,Xt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&Ge.call(s,l,1),Ge.call(e,l,1);return e}function Vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;gi(o)?Ge.call(e,o,1):lo(e,o)}}return e}function Ur(e,t){return e+ft(xn()*(t-e+1))}function qr(e,t){var n="";if(!e||t<1||t>d)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Ii(Si(e,t,nl),e+"")}function Kr(e){return Xn($s(e))}function Xr(e,t){var n=$s(e);return Oi(n,ir(t,0,n.length))}function Yr(e,t,n,r){if(!Ja(e))return e;for(var i=-1,a=(t=vo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var c=ji(t[i]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var d=l[c];(u=r?r(d,c,l):o)===o&&(u=Ja(d)?d:gi(t[i+1])?[]:{})}Jn(l,c,u),l=l[c]}return e}var Zr=Rn?function(e,t){return Rn.set(e,t),e}:nl,Qr=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:Js(t),writable:!0})}:nl;function Jr(e){return Oi($s(e))}function eo(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function to(e,t){var n;return ur(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}function no(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ss(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return ro(e,t,nl,n)}function ro(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,c=ss(t),u=t===o;i<a;){var d=ft((i+a)/2),p=n(e[d]),f=p!==o,h=null===p,m=p==p,g=ss(p);if(s)var v=r||m;else v=u?m&&(r||f):l?m&&f&&(r||!h):c?m&&f&&!h&&(r||!g):!h&&!g&&(r?p<=t:p<t);v?i=d+1:a=d}return vn(a,4294967294)}function oo(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!$a(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function io(e){return"number"==typeof e?e:ss(e)?p:+e}function ao(e){if("string"==typeof e)return e;if(Ha(e))return Pt(e,ao)+"";if(ss(e))return Dn?Dn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function so(e,t,n){var r=-1,o=It,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Tt;else if(i>=200){var c=t?null:Go(e);if(c)return ln(c);a=!1,o=Zt,l=new qn}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function lo(e,t){return null==(e=Ci(e,t=vo(t,e)))||delete e[ji(Xi(t))]}function co(e,t,n,r){return Yr(e,t,n(Ar(e,t)),r)}function uo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?eo(e,r?0:i,r?i+1:o):eo(e,r?i+1:0,r?o:i)}function po(e,t){var n=e;return n instanceof Wn&&(n=n.value()),Lt(t,function(e,t){return t.func.apply(t.thisArg,Ot([e],t.args))},n)}function fo(e,t,n){var o=e.length;if(o<2)return o?so(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=cr(a[i]||s,e[l],t,n));return so(mr(a,1),t,n)}function ho(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function mo(e){return qa(e)?e:[]}function go(e){return"function"==typeof e?e:nl}function vo(e,t){return Ha(e)?e:yi(e,t)?[e]:Ni(vs(e))}var yo=Gr;function bo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:eo(e,t,n)}var xo=at||function(e){return dt.clearTimeout(e)};function Ao(e,t){if(t)return e.slice();var n=e.length,r=He?He(n):new e.constructor(n);return e.copy(r),r}function wo(e){var t=new e.constructor(e.byteLength);return new We(t).set(new We(e)),t}function ko(e,t){var n=t?wo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function So(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=ss(e),s=t!==o,l=null===t,c=t==t,u=ss(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}function Co(e,t,n,o){for(var i=-1,a=e.length,s=n.length,l=-1,c=t.length,u=gn(a-s,0),d=r(c+u),p=!o;++l<c;)d[l]=t[l];for(;++i<s;)(p||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function Eo(e,t,n,o){for(var i=-1,a=e.length,s=-1,l=n.length,c=-1,u=t.length,d=gn(a-l,0),p=r(d+u),f=!o;++i<d;)p[i]=e[i];for(var h=i;++c<u;)p[h+c]=t[c];for(;++s<l;)(f||i<a)&&(p[h+n[s]]=e[i++]);return p}function Mo(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Ro(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?rr(n,l,c):Jn(n,l,c)}return n}function Io(e,t){return function(n,r){var o=Ha(n)?St:tr,i=t?t():{};return o(n,e,ai(r,2),i)}}function To(e){return Gr(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&vi(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Se(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t})}function Po(e,t){return function(n,r){if(null==n)return n;if(!Ua(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Se(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Oo(e){return function(t,n,r){for(var o=-1,i=Se(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function Lo(e){return function(t){var n=rn(t=vs(t))?dn(t):o,r=n?n[0]:t.charAt(0),i=n?bo(n,1).join(""):t.slice(1);return r[e]()+i}}function _o(e){return function(t){return Lt(Ys(Ws(t).replace(Ye,"")),e,"")}}function No(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=$n(e.prototype),r=e.apply(n,t);return Ja(r)?r:n}}function jo(e){return function(t,n,r){var i=Se(t);if(!Ua(t)){var a=ai(n,3);t=Ts(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Do(e){return ei(function(t){var n=t.length,r=n,a=Bn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Me(i);if(a&&!l&&"wrapper"==oi(s))var l=new Bn([],!0)}for(r=l?r:n;++r<n;){var c=oi(s=t[r]),u="wrapper"==c?ri(s):o;l=u&&bi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[oi(u[0])].apply(l,u[3]):1==s.length&&bi(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Ha(r))return l.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Fo(e,t,n,i,a,s,l,u,d,p){var f=t&c,h=1&t,m=2&t,g=24&t,v=512&t,y=m?o:No(e);return function c(){for(var b=arguments.length,x=r(b),A=b;A--;)x[A]=arguments[A];if(g)var w=ii(c),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(x,w);if(i&&(x=Co(x,i,a,g)),s&&(x=Eo(x,s,l,g)),b-=k,g&&b<p){var S=sn(x,w);return Uo(e,t,Fo,c.placeholder,n,x,S,u,d,p-b)}var C=h?n:this,E=m?C[e]:e;return b=x.length,u?x=function(e,t){for(var n=e.length,r=vn(t.length,n),i=Mo(e);r--;){var a=t[r];e[r]=gi(a,n)?i[a]:o}return e}(x,u):v&&b>1&&x.reverse(),f&&d<b&&(x.length=d),this&&this!==dt&&this instanceof c&&(E=y||No(E)),E.apply(C,x)}}function $o(e,t){return function(n,r){return function(e,t,n,r){return yr(e,function(e,o,i){t(r,n(e),o,i)}),r}(n,e,t(r),{})}}function zo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=ao(n),r=ao(r)):(n=io(n),r=io(r)),i=e(n,r)}return i}}function Bo(e){return ei(function(t){return t=Pt(t,Xt(ai())),Gr(function(n){var r=this;return e(t,function(e){return kt(e,r,n)})})})}function Wo(e,t){var n=(t=t===o?" ":ao(t)).length;if(n<2)return n?qr(t,e):t;var r=qr(t,pt(e/un(t)));return rn(t)?bo(dn(r),0,e).join(""):r.slice(0,e)}function Ho(e){return function(t,n,i){return i&&"number"!=typeof i&&vi(t,n,i)&&(n=i=o),t=ps(t),n===o?(n=t,t=0):n=ps(n),function(e,t,n,o){for(var i=-1,a=gn(pt((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:ps(i),e)}}function Vo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ms(t),n=ms(n)),e(t,n)}}function Uo(e,t,n,r,i,a,s,c,u,d){var p=8&t;t|=p?l:64,4&(t&=~(p?64:l))||(t&=-4);var f=[e,t,i,p?a:o,p?s:o,p?o:a,p?o:s,c,u,d],h=n.apply(o,f);return bi(e)&&Mi(h,f),h.placeholder=r,Ti(h,e,t)}function qo(e){var t=ke[e];return function(e,n){if(e=ms(e),(n=null==n?0:vn(fs(n),292))&&jt(e)){var r=(vs(e)+"e").split("e");return+((r=(vs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Go=Cn&&1/ln(new Cn([,-0]))[1]==u?function(e){return new Cn(e)}:sl;function Ko(e){return function(t){var n=pi(t);return n==w?on(t):n==M?cn(t):function(e,t){return Pt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Xo(e,t,n,a,u,d,p,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Me(i);var m=a?a.length:0;if(m||(t&=-97,a=u=o),p=p===o?p:gn(fs(p),0),f=f===o?f:fs(f),m-=u?u.length:0,64&t){var g=a,v=u;a=u=o}var y=h?o:ri(e),b=[e,t,n,a,u,g,v,d,p,f];if(y&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==c&&8==n||r==c&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var u=e[3];e[3]=u?Co(u,l,t[4]):l,e[4]=u?sn(e[3],s):t[4]}(l=t[5])&&(u=e[5],e[5]=u?Eo(u,l,t[6]):l,e[6]=u?sn(e[5],s):t[6]),(l=t[7])&&(e[7]=l),r&c&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(b,y),e=b[0],t=b[1],n=b[2],a=b[3],u=b[4],!(f=b[9]=b[9]===o?h?0:e.length:gn(b[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?function(e,t,n){var i=No(e);return function a(){for(var s=arguments.length,l=r(s),c=s,u=ii(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:sn(l,u);return(s-=d.length)<n?Uo(e,t,Fo,a.placeholder,o,l,d,o,o,n-s):kt(this&&this!==dt&&this instanceof a?i:e,this,l)}}(e,t,f):t!=l&&33!=t||u.length?Fo.apply(o,b):function(e,t,n,o){var i=1&t,a=No(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=o.length,d=r(u+l),p=this&&this!==dt&&this instanceof t?a:e;++c<u;)d[c]=o[c];for(;l--;)d[c++]=arguments[++s];return kt(p,i?n:this,d)}}(e,t,n,a);else var x=function(e,t,n){var r=1&t,o=No(e);return function t(){return(this&&this!==dt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Ti((y?Zr:Mi)(x,b),e,t)}function Yo(e,t,n,r){return e===o||$a(e,Te[n])&&!Le.call(r,n)?t:e}function Zo(e,t,n,r,i,a){return Ja(e)&&Ja(t)&&(a.set(t,e),$r(e,t,o,Zo,a),a.delete(t)),e}function Qo(e){return rs(e)?o:e}function Jo(e,t,n,r,i,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,h=2&n?new qn:o;for(a.set(e,t),a.set(t,e);++p<l;){var m=e[p],g=t[p];if(r)var v=s?r(g,m,p,t,e,a):r(m,g,p,e,t,a);if(v!==o){if(v)continue;f=!1;break}if(h){if(!Nt(t,function(e,t){if(!Zt(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)})){f=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){f=!1;break}}return a.delete(e),a.delete(t),f}function ei(e){return Ii(Si(e,o,Vi),e+"")}function ti(e){return wr(e,Ts,ui)}function ni(e){return wr(e,Ps,di)}var ri=Rn?function(e){return Rn.get(e)}:sl;function oi(e){for(var t=e.name+"",n=In[t],r=Le.call(In,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ii(e){return(Le.call(Fn,"placeholder")?Fn:e).placeholder}function ai(){var e=Fn.iteratee||rl;return e=e===rl?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function si(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function li(e){for(var t=Ts(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,wi(o)]}return t}function ci(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Or(n)?n:o}var ui=mt?function(e){return null==e?[]:(e=Se(e),Rt(mt(e),function(t){return qe.call(e,t)}))}:hl,di=mt?function(e){for(var t=[];e;)Ot(t,ui(e)),e=Ve(e);return t}:hl,pi=kr;function fi(e,t,n){for(var r=-1,o=(t=vo(t,e)).length,i=!1;++r<o;){var a=ji(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&Qa(o)&&gi(a,o)&&(Ha(e)||Wa(e))}function hi(e){return"function"!=typeof e.constructor||Ai(e)?{}:$n(Ve(e))}function mi(e){return Ha(e)||Wa(e)||!!(Ke&&e&&e[Ke])}function gi(e,t){var n=typeof e;return!!(t=null==t?d:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function vi(e,t,n){if(!Ja(n))return!1;var r=typeof t;return!!("number"==r?Ua(n)&&gi(t,n.length):"string"==r&&t in n)&&$a(n[t],e)}function yi(e,t){if(Ha(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||J.test(e)||!Q.test(e)||null!=t&&e in Se(t)}function bi(e){var t=oi(e),n=Fn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var r=ri(n);return!!r&&e===r[0]}(wn&&pi(new wn(new ArrayBuffer(1)))!=O||kn&&pi(new kn)!=w||Sn&&pi(Sn.resolve())!=C||Cn&&pi(new Cn)!=M||En&&pi(new En)!=T)&&(pi=function(e){var t=kr(e),n=t==S?e.constructor:o,r=n?Di(n):"";if(r)switch(r){case Tn:return O;case Pn:return w;case On:return C;case Ln:return M;case _n:return T}return t});var xi=Pe?Ya:ml;function Ai(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Te)}function wi(e){return e==e&&!Ja(e)}function ki(e,t){return function(n){return null!=n&&n[e]===t&&(t!==o||e in Se(n))}}function Si(e,t,n){return t=gn(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=gn(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),kt(e,this,l)}}function Ci(e,t){return t.length<2?e:Ar(e,eo(t,0,-1))}function Ei(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Mi=Pi(Zr),Ri=ut||function(e,t){return dt.setTimeout(e,t)},Ii=Pi(Qr);function Ti(e,t,n){var r=t+"";return Ii(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ct(h,function(n){var r="_."+n[0];t&n[1]&&!It(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(r),n)))}function Pi(e){var t=0,n=0;return function(){var r=yn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Oi(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=Ur(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Li,_i,Ni=(Li=La(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,n,r,o){t.push(r?o.replace(ue,"$1"):n||e)}),t},function(e){return 500===_i.size&&_i.clear(),e}),_i=Li.cache,Li);function ji(e){if("string"==typeof e||ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Di(e){if(null!=e){try{return Oe.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Fi(e){if(e instanceof Wn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=Mo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var $i=Gr(function(e,t){return qa(e)?cr(e,mr(t,1,qa,!0)):[]}),zi=Gr(function(e,t){var n=Xi(t);return qa(n)&&(n=o),qa(e)?cr(e,mr(t,1,qa,!0),ai(n,2)):[]}),Bi=Gr(function(e,t){var n=Xi(t);return qa(n)&&(n=o),qa(e)?cr(e,mr(t,1,qa,!0),o,n):[]});function Wi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=gn(r+o,0)),Ft(e,ai(t,3),o)}function Hi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=fs(n),i=n<0?gn(r+i,0):vn(i,r-1)),Ft(e,ai(t,3),i,!0)}function Vi(e){return null!=e&&e.length?mr(e,1):[]}function Ui(e){return e&&e.length?e[0]:o}var qi=Gr(function(e){var t=Pt(e,mo);return t.length&&t[0]===e[0]?Mr(t):[]}),Gi=Gr(function(e){var t=Xi(e),n=Pt(e,mo);return t===Xi(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Mr(n,ai(t,2)):[]}),Ki=Gr(function(e){var t=Xi(e),n=Pt(e,mo);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Mr(n,o,t):[]});function Xi(e){var t=null==e?0:e.length;return t?e[t-1]:o}var Yi=Gr(Zi);function Zi(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var Qi=ei(function(e,t){var n=null==e?0:e.length,r=or(e,t);return Vr(e,Pt(t,function(e){return gi(e,n)?+e:e}).sort(So)),r});function Ji(e){return null==e?e:An.call(e)}var ea=Gr(function(e){return so(mr(e,1,qa,!0))}),ta=Gr(function(e){var t=Xi(e);return qa(t)&&(t=o),so(mr(e,1,qa,!0),ai(t,2))}),na=Gr(function(e){var t=Xi(e);return t="function"==typeof t?t:o,so(mr(e,1,qa,!0),o,t)});function ra(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,function(e){if(qa(e))return t=gn(e.length,t),!0}),Gt(t,function(t){return Pt(e,Ht(t))})}function oa(e,t){if(!e||!e.length)return[];var n=ra(e);return null==t?n:Pt(n,function(e){return kt(t,o,e)})}var ia=Gr(function(e,t){return qa(e)?cr(e,t):[]}),aa=Gr(function(e){return fo(Rt(e,qa))}),sa=Gr(function(e){var t=Xi(e);return qa(t)&&(t=o),fo(Rt(e,qa),ai(t,2))}),la=Gr(function(e){var t=Xi(e);return t="function"==typeof t?t:o,fo(Rt(e,qa),o,t)}),ca=Gr(ra),ua=Gr(function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,oa(e,n)});function da(e){var t=Fn(e);return t.__chain__=!0,t}function pa(e,t){return t(e)}var fa=ei(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return or(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Wn&&gi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:pa,args:[i],thisArg:o}),new Bn(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(o),e})):this.thru(i)}),ha=Io(function(e,t,n){Le.call(e,n)?++e[n]:rr(e,n,1)}),ma=jo(Wi),ga=jo(Hi);function va(e,t){return(Ha(e)?Ct:ur)(e,ai(t,3))}function ya(e,t){return(Ha(e)?Et:dr)(e,ai(t,3))}var ba=Io(function(e,t,n){Le.call(e,n)?e[n].push(t):rr(e,n,[t])}),xa=Gr(function(e,t,n){var o=-1,i="function"==typeof t,a=Ua(e)?r(e.length):[];return ur(e,function(e){a[++o]=i?kt(t,e,n):Rr(e,t,n)}),a}),Aa=Io(function(e,t,n){rr(e,n,t)});function wa(e,t){return(Ha(e)?Pt:jr)(e,ai(t,3))}var ka=Io(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Sa=Gr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&vi(e,t[0],t[1])?t=[]:n>2&&vi(t[0],t[1],t[2])&&(t=[t[0]]),Br(e,mr(t,1),[])}),Ca=ct||function(){return dt.Date.now()};function Ea(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Xo(e,c,o,o,o,o,t)}function Ma(e,t){var n;if("function"!=typeof t)throw new Me(i);return e=fs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ra=Gr(function(e,t,n){var r=1;if(n.length){var o=sn(n,ii(Ra));r|=l}return Xo(e,r,t,n,o)}),Ia=Gr(function(e,t,n){var r=3;if(n.length){var o=sn(n,ii(Ia));r|=l}return Xo(t,r,e,n,o)});function Ta(e,t,n){var r,a,s,l,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Me(i);function m(t){var n=r,i=a;return r=a=o,d=t,l=e.apply(i,n)}function g(e){var n=e-u;return u===o||n>=t||n<0||f&&e-d>=s}function v(){var e=Ca();if(g(e))return y(e);c=Ri(v,function(e){var n=t-(e-u);return f?vn(n,s-(e-d)):n}(e))}function y(e){return c=o,h&&r?m(e):(r=a=o,l)}function b(){var e=Ca(),n=g(e);if(r=arguments,a=this,u=e,n){if(c===o)return function(e){return d=e,c=Ri(v,t),p?m(e):l}(u);if(f)return xo(c),c=Ri(v,t),m(u)}return c===o&&(c=Ri(v,t)),l}return t=ms(t)||0,Ja(n)&&(p=!!n.leading,s=(f="maxWait"in n)?gn(ms(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),b.cancel=function(){c!==o&&xo(c),d=0,r=u=a=c=o},b.flush=function(){return c===o?l:y(Ca())},b}var Pa=Gr(function(e,t){return lr(e,1,t)}),Oa=Gr(function(e,t,n){return lr(e,ms(t)||0,n)});function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Me(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(La.Cache||Un),n}function _a(e){if("function"!=typeof e)throw new Me(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Un;var Na=yo(function(e,t){var n=(t=1==t.length&&Ha(t[0])?Pt(t[0],Xt(ai())):Pt(mr(t,1),Xt(ai()))).length;return Gr(function(r){for(var o=-1,i=vn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return kt(e,this,r)})}),ja=Gr(function(e,t){var n=sn(t,ii(ja));return Xo(e,l,o,t,n)}),Da=Gr(function(e,t){var n=sn(t,ii(Da));return Xo(e,64,o,t,n)}),Fa=ei(function(e,t){return Xo(e,256,o,o,o,t)});function $a(e,t){return e===t||e!=e&&t!=t}var za=Vo(Sr),Ba=Vo(function(e,t){return e>=t}),Wa=Ir(function(){return arguments}())?Ir:function(e){return es(e)&&Le.call(e,"callee")&&!qe.call(e,"callee")},Ha=r.isArray,Va=vt?Xt(vt):function(e){return es(e)&&kr(e)==P};function Ua(e){return null!=e&&Qa(e.length)&&!Ya(e)}function qa(e){return es(e)&&Ua(e)}var Ga=gt||ml,Ka=yt?Xt(yt):function(e){return es(e)&&kr(e)==y};function Xa(e){if(!es(e))return!1;var t=kr(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Ya(e){if(!Ja(e))return!1;var t=kr(e);return t==x||t==A||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Za(e){return"number"==typeof e&&e==fs(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function Ja(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function es(e){return null!=e&&"object"==typeof e}var ts=bt?Xt(bt):function(e){return es(e)&&pi(e)==w};function ns(e){return"number"==typeof e||es(e)&&kr(e)==k}function rs(e){if(!es(e)||kr(e)!=S)return!1;var t=Ve(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Oe.call(n)==De}var os=xt?Xt(xt):function(e){return es(e)&&kr(e)==E},is=At?Xt(At):function(e){return es(e)&&pi(e)==M};function as(e){return"string"==typeof e||!Ha(e)&&es(e)&&kr(e)==R}function ss(e){return"symbol"==typeof e||es(e)&&kr(e)==I}var ls=wt?Xt(wt):function(e){return es(e)&&Qa(e.length)&&!!ot[kr(e)]},cs=Vo(Nr),us=Vo(function(e,t){return e<=t});function ds(e){if(!e)return[];if(Ua(e))return as(e)?dn(e):Mo(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=pi(e);return(t==w?on:t==M?ln:$s)(e)}function ps(e){return e?(e=ms(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function fs(e){var t=ps(e),n=t%1;return t==t?n?t-n:t:0}function hs(e){return e?ir(fs(e),0,f):0}function ms(e){if("number"==typeof e)return e;if(ss(e))return p;if(Ja(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ja(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var n=he.test(e);return n||ge.test(e)?lt(e.slice(2),n?2:8):fe.test(e)?p:+e}function gs(e){return Ro(e,Ps(e))}function vs(e){return null==e?"":ao(e)}var ys=To(function(e,t){if(Ai(t)||Ua(t))Ro(t,Ts(t),e);else for(var n in t)Le.call(t,n)&&Jn(e,n,t[n])}),bs=To(function(e,t){Ro(t,Ps(t),e)}),xs=To(function(e,t,n,r){Ro(t,Ps(t),e,r)}),As=To(function(e,t,n,r){Ro(t,Ts(t),e,r)}),ws=ei(or),ks=Gr(function(e,t){e=Se(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&vi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Ps(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===o||$a(d,Te[u])&&!Le.call(e,u))&&(e[u]=a[u])}return e}),Ss=Gr(function(e){return e.push(o,Zo),kt(Ls,o,e)});function Cs(e,t,n){var r=null==e?o:Ar(e,t);return r===o?n:r}function Es(e,t){return null!=e&&fi(e,t,Er)}var Ms=$o(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),e[t]=n},Js(nl)),Rs=$o(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]},ai),Is=Gr(Rr);function Ts(e){return Ua(e)?Kn(e):_r(e)}function Ps(e){return Ua(e)?Kn(e,!0):function(e){if(!Ja(e))return function(e){var t=[];if(null!=e)for(var n in Se(e))t.push(n);return t}(e);var t=Ai(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}(e)}var Os=To(function(e,t,n){$r(e,t,n)}),Ls=To(function(e,t,n,r){$r(e,t,n,r)}),_s=ei(function(e,t){var n={};if(null==e)return n;var r=!1;t=Pt(t,function(t){return t=vo(t,e),r||(r=t.length>1),t}),Ro(e,ni(e),n),r&&(n=ar(n,7,Qo));for(var o=t.length;o--;)lo(n,t[o]);return n}),Ns=ei(function(e,t){return null==e?{}:function(e,t){return Wr(e,t,function(t,n){return Es(e,n)})}(e,t)});function js(e,t){if(null==e)return{};var n=Pt(ni(e),function(e){return[e]});return t=ai(t),Wr(e,n,function(e,n){return t(e,n[0])})}var Ds=Ko(Ts),Fs=Ko(Ps);function $s(e){return null==e?[]:Yt(e,Ts(e))}var zs=_o(function(e,t,n){return t=t.toLowerCase(),e+(n?Bs(t):t)});function Bs(e){return Xs(vs(e).toLowerCase())}function Ws(e){return(e=vs(e))&&e.replace(ye,en).replace(Ze,"")}var Hs=_o(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Vs=_o(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Us=Lo("toLowerCase"),qs=_o(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Gs=_o(function(e,t,n){return e+(n?" ":"")+Xs(t)}),Ks=_o(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Xs=Lo("toUpperCase");function Ys(e,t,n){return e=vs(e),(t=n?o:t)===o?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Zs=Gr(function(e,t){try{return kt(e,o,t)}catch(e){return Xa(e)?e:new Ae(e)}}),Qs=ei(function(e,t){return Ct(t,function(t){t=ji(t),rr(e,t,Ra(e[t],e))}),e});function Js(e){return function(){return e}}var el=Do(),tl=Do(!0);function nl(e){return e}function rl(e){return Lr("function"==typeof e?e:ar(e,1))}var ol=Gr(function(e,t){return function(n){return Rr(n,e,t)}}),il=Gr(function(e,t){return function(n){return Rr(e,n,t)}});function al(e,t,n){var r=Ts(t),o=xr(t,r);null!=n||Ja(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=xr(t,Ts(t)));var i=!(Ja(n)&&"chain"in n&&!n.chain),a=Ya(e);return Ct(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Mo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Ot([this.value()],arguments))})}),e}function sl(){}var ll=Bo(Pt),cl=Bo(Mt),ul=Bo(Nt);function dl(e){return yi(e)?Ht(ji(e)):function(e){return function(t){return Ar(t,e)}}(e)}var pl=Ho(),fl=Ho(!0);function hl(){return[]}function ml(){return!1}var gl,vl=zo(function(e,t){return e+t},0),yl=qo("ceil"),bl=zo(function(e,t){return e/t},1),xl=qo("floor"),Al=zo(function(e,t){return e*t},1),wl=qo("round"),kl=zo(function(e,t){return e-t},0);return Fn.after=function(e,t){if("function"!=typeof t)throw new Me(i);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},Fn.ary=Ea,Fn.assign=ys,Fn.assignIn=bs,Fn.assignInWith=xs,Fn.assignWith=As,Fn.at=ws,Fn.before=Ma,Fn.bind=Ra,Fn.bindAll=Qs,Fn.bindKey=Ia,Fn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ha(e)?e:[e]},Fn.chain=da,Fn.chunk=function(e,t,n){t=(n?vi(e,t,n):t===o)?1:gn(fs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(pt(i/t));a<i;)l[s++]=eo(e,a,a+=t);return l},Fn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Fn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Ot(Ha(n)?Mo(n):[n],mr(t,1))},Fn.cond=function(e){var t=null==e?0:e.length,n=ai();return e=t?Pt(e,function(e){if("function"!=typeof e[1])throw new Me(i);return[n(e[0]),e[1]]}):[],Gr(function(n){for(var r=-1;++r<t;){var o=e[r];if(kt(o[0],this,n))return kt(o[1],this,n)}})},Fn.conforms=function(e){return function(e){var t=Ts(e);return function(n){return sr(n,e,t)}}(ar(e,1))},Fn.constant=Js,Fn.countBy=ha,Fn.create=function(e,t){var n=$n(e);return null==t?n:nr(n,t)},Fn.curry=function e(t,n,r){var i=Xo(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Fn.curryRight=function e(t,n,r){var i=Xo(t,16,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Fn.debounce=Ta,Fn.defaults=ks,Fn.defaultsDeep=Ss,Fn.defer=Pa,Fn.delay=Oa,Fn.difference=$i,Fn.differenceBy=zi,Fn.differenceWith=Bi,Fn.drop=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=n||t===o?1:fs(t))<0?0:t,r):[]},Fn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,0,(t=r-(t=n||t===o?1:fs(t)))<0?0:t):[]},Fn.dropRightWhile=function(e,t){return e&&e.length?uo(e,ai(t,3),!0,!0):[]},Fn.dropWhile=function(e,t){return e&&e.length?uo(e,ai(t,3),!0):[]},Fn.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&vi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=fs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:fs(r))<0&&(r+=i),r=n>r?0:hs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Fn.filter=function(e,t){return(Ha(e)?Rt:hr)(e,ai(t,3))},Fn.flatMap=function(e,t){return mr(wa(e,t),1)},Fn.flatMapDeep=function(e,t){return mr(wa(e,t),u)},Fn.flatMapDepth=function(e,t,n){return n=n===o?1:fs(n),mr(wa(e,t),n)},Fn.flatten=Vi,Fn.flattenDeep=function(e){return null!=e&&e.length?mr(e,u):[]},Fn.flattenDepth=function(e,t){return null!=e&&e.length?mr(e,t=t===o?1:fs(t)):[]},Fn.flip=function(e){return Xo(e,512)},Fn.flow=el,Fn.flowRight=tl,Fn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Fn.functions=function(e){return null==e?[]:xr(e,Ts(e))},Fn.functionsIn=function(e){return null==e?[]:xr(e,Ps(e))},Fn.groupBy=ba,Fn.initial=function(e){return null!=e&&e.length?eo(e,0,-1):[]},Fn.intersection=qi,Fn.intersectionBy=Gi,Fn.intersectionWith=Ki,Fn.invert=Ms,Fn.invertBy=Rs,Fn.invokeMap=xa,Fn.iteratee=rl,Fn.keyBy=Aa,Fn.keys=Ts,Fn.keysIn=Ps,Fn.map=wa,Fn.mapKeys=function(e,t){var n={};return t=ai(t,3),yr(e,function(e,r,o){rr(n,t(e,r,o),e)}),n},Fn.mapValues=function(e,t){var n={};return t=ai(t,3),yr(e,function(e,r,o){rr(n,r,t(e,r,o))}),n},Fn.matches=function(e){return Dr(ar(e,1))},Fn.matchesProperty=function(e,t){return Fr(e,ar(t,1))},Fn.memoize=La,Fn.merge=Os,Fn.mergeWith=Ls,Fn.method=ol,Fn.methodOf=il,Fn.mixin=al,Fn.negate=_a,Fn.nthArg=function(e){return e=fs(e),Gr(function(t){return zr(t,e)})},Fn.omit=_s,Fn.omitBy=function(e,t){return js(e,_a(ai(t)))},Fn.once=function(e){return Ma(2,e)},Fn.orderBy=function(e,t,n,r){return null==e?[]:(Ha(t)||(t=null==t?[]:[t]),Ha(n=r?o:n)||(n=null==n?[]:[n]),Br(e,t,n))},Fn.over=ll,Fn.overArgs=Na,Fn.overEvery=cl,Fn.overSome=ul,Fn.partial=ja,Fn.partialRight=Da,Fn.partition=ka,Fn.pick=Ns,Fn.pickBy=js,Fn.property=dl,Fn.propertyOf=function(e){return function(t){return null==e?o:Ar(e,t)}},Fn.pull=Yi,Fn.pullAll=Zi,Fn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,ai(n,2)):e},Fn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,o,n):e},Fn.pullAt=Qi,Fn.range=pl,Fn.rangeRight=fl,Fn.rearg=Fa,Fn.reject=function(e,t){return(Ha(e)?Rt:hr)(e,_a(ai(t,3)))},Fn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ai(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Vr(e,o),n},Fn.rest=function(e,t){if("function"!=typeof e)throw new Me(i);return Gr(e,t=t===o?t:fs(t))},Fn.reverse=Ji,Fn.sampleSize=function(e,t,n){return t=(n?vi(e,t,n):t===o)?1:fs(t),(Ha(e)?Yn:Xr)(e,t)},Fn.set=function(e,t,n){return null==e?e:Yr(e,t,n)},Fn.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:Yr(e,t,n,r)},Fn.shuffle=function(e){return(Ha(e)?Zn:Jr)(e)},Fn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&vi(e,t,n)?(t=0,n=r):(t=null==t?0:fs(t),n=n===o?r:fs(n)),eo(e,t,n)):[]},Fn.sortBy=Sa,Fn.sortedUniq=function(e){return e&&e.length?oo(e):[]},Fn.sortedUniqBy=function(e,t){return e&&e.length?oo(e,ai(t,2)):[]},Fn.split=function(e,t,n){return n&&"number"!=typeof n&&vi(e,t,n)&&(t=n=o),(n=n===o?f:n>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ao(t))&&rn(e)?bo(dn(e),0,n):e.split(t,n):[]},Fn.spread=function(e,t){if("function"!=typeof e)throw new Me(i);return t=null==t?0:gn(fs(t),0),Gr(function(n){var r=n[t],o=bo(n,0,t);return r&&Ot(o,r),kt(e,this,o)})},Fn.tail=function(e){var t=null==e?0:e.length;return t?eo(e,1,t):[]},Fn.take=function(e,t,n){return e&&e.length?eo(e,0,(t=n||t===o?1:fs(t))<0?0:t):[]},Fn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?eo(e,(t=r-(t=n||t===o?1:fs(t)))<0?0:t,r):[]},Fn.takeRightWhile=function(e,t){return e&&e.length?uo(e,ai(t,3),!1,!0):[]},Fn.takeWhile=function(e,t){return e&&e.length?uo(e,ai(t,3)):[]},Fn.tap=function(e,t){return t(e),e},Fn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Me(i);return Ja(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ta(e,t,{leading:r,maxWait:t,trailing:o})},Fn.thru=pa,Fn.toArray=ds,Fn.toPairs=Ds,Fn.toPairsIn=Fs,Fn.toPath=function(e){return Ha(e)?Pt(e,ji):ss(e)?[e]:Mo(Ni(vs(e)))},Fn.toPlainObject=gs,Fn.transform=function(e,t,n){var r=Ha(e),o=r||Ga(e)||ls(e);if(t=ai(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:Ja(e)&&Ya(i)?$n(Ve(e)):{}}return(o?Ct:yr)(e,function(e,r,o){return t(n,e,r,o)}),n},Fn.unary=function(e){return Ea(e,1)},Fn.union=ea,Fn.unionBy=ta,Fn.unionWith=na,Fn.uniq=function(e){return e&&e.length?so(e):[]},Fn.uniqBy=function(e,t){return e&&e.length?so(e,ai(t,2)):[]},Fn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?so(e,o,t):[]},Fn.unset=function(e,t){return null==e||lo(e,t)},Fn.unzip=ra,Fn.unzipWith=oa,Fn.update=function(e,t,n){return null==e?e:co(e,t,go(n))},Fn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:co(e,t,go(n),r)},Fn.values=$s,Fn.valuesIn=function(e){return null==e?[]:Yt(e,Ps(e))},Fn.without=ia,Fn.words=Ys,Fn.wrap=function(e,t){return ja(go(t),e)},Fn.xor=aa,Fn.xorBy=sa,Fn.xorWith=la,Fn.zip=ca,Fn.zipObject=function(e,t){return ho(e||[],t||[],Jn)},Fn.zipObjectDeep=function(e,t){return ho(e||[],t||[],Yr)},Fn.zipWith=ua,Fn.entries=Ds,Fn.entriesIn=Fs,Fn.extend=bs,Fn.extendWith=xs,al(Fn,Fn),Fn.add=vl,Fn.attempt=Zs,Fn.camelCase=zs,Fn.capitalize=Bs,Fn.ceil=yl,Fn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ms(n))==n?n:0),t!==o&&(t=(t=ms(t))==t?t:0),ir(ms(e),t,n)},Fn.clone=function(e){return ar(e,4)},Fn.cloneDeep=function(e){return ar(e,5)},Fn.cloneDeepWith=function(e,t){return ar(e,5,t="function"==typeof t?t:o)},Fn.cloneWith=function(e,t){return ar(e,4,t="function"==typeof t?t:o)},Fn.conformsTo=function(e,t){return null==t||sr(e,t,Ts(t))},Fn.deburr=Ws,Fn.defaultTo=function(e,t){return null==e||e!=e?t:e},Fn.divide=bl,Fn.endsWith=function(e,t,n){e=vs(e),t=ao(t);var r=e.length,i=n=n===o?r:ir(fs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Fn.eq=$a,Fn.escape=function(e){return(e=vs(e))&&K.test(e)?e.replace(q,tn):e},Fn.escapeRegExp=function(e){return(e=vs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Fn.every=function(e,t,n){var r=Ha(e)?Mt:pr;return n&&vi(e,t,n)&&(t=o),r(e,ai(t,3))},Fn.find=ma,Fn.findIndex=Wi,Fn.findKey=function(e,t){return Dt(e,ai(t,3),yr)},Fn.findLast=ga,Fn.findLastIndex=Hi,Fn.findLastKey=function(e,t){return Dt(e,ai(t,3),br)},Fn.floor=xl,Fn.forEach=va,Fn.forEachRight=ya,Fn.forIn=function(e,t){return null==e?e:gr(e,ai(t,3),Ps)},Fn.forInRight=function(e,t){return null==e?e:vr(e,ai(t,3),Ps)},Fn.forOwn=function(e,t){return e&&yr(e,ai(t,3))},Fn.forOwnRight=function(e,t){return e&&br(e,ai(t,3))},Fn.get=Cs,Fn.gt=za,Fn.gte=Ba,Fn.has=function(e,t){return null!=e&&fi(e,t,Cr)},Fn.hasIn=Es,Fn.head=Ui,Fn.identity=nl,Fn.includes=function(e,t,n,r){e=Ua(e)?e:$s(e),n=n&&!r?fs(n):0;var o=e.length;return n<0&&(n=gn(o+n,0)),as(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&$t(e,t,n)>-1},Fn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:fs(n);return o<0&&(o=gn(r+o,0)),$t(e,t,o)},Fn.inRange=function(e,t,n){return t=ps(t),n===o?(n=t,t=0):n=ps(n),function(e,t,n){return e>=vn(t,n)&&e<gn(t,n)}(e=ms(e),t,n)},Fn.invoke=Is,Fn.isArguments=Wa,Fn.isArray=Ha,Fn.isArrayBuffer=Va,Fn.isArrayLike=Ua,Fn.isArrayLikeObject=qa,Fn.isBoolean=function(e){return!0===e||!1===e||es(e)&&kr(e)==v},Fn.isBuffer=Ga,Fn.isDate=Ka,Fn.isElement=function(e){return es(e)&&1===e.nodeType&&!rs(e)},Fn.isEmpty=function(e){if(null==e)return!0;if(Ua(e)&&(Ha(e)||"string"==typeof e||"function"==typeof e.splice||Ga(e)||ls(e)||Wa(e)))return!e.length;var t=pi(e);if(t==w||t==M)return!e.size;if(Ai(e))return!_r(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Fn.isEqual=function(e,t){return Tr(e,t)},Fn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Tr(e,t,o,n):!!r},Fn.isError=Xa,Fn.isFinite=function(e){return"number"==typeof e&&jt(e)},Fn.isFunction=Ya,Fn.isInteger=Za,Fn.isLength=Qa,Fn.isMap=ts,Fn.isMatch=function(e,t){return e===t||Pr(e,t,li(t))},Fn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Pr(e,t,li(t),n)},Fn.isNaN=function(e){return ns(e)&&e!=+e},Fn.isNative=function(e){if(xi(e))throw new Ae("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Or(e)},Fn.isNil=function(e){return null==e},Fn.isNull=function(e){return null===e},Fn.isNumber=ns,Fn.isObject=Ja,Fn.isObjectLike=es,Fn.isPlainObject=rs,Fn.isRegExp=os,Fn.isSafeInteger=function(e){return Za(e)&&e>=-9007199254740991&&e<=d},Fn.isSet=is,Fn.isString=as,Fn.isSymbol=ss,Fn.isTypedArray=ls,Fn.isUndefined=function(e){return e===o},Fn.isWeakMap=function(e){return es(e)&&pi(e)==T},Fn.isWeakSet=function(e){return es(e)&&"[object WeakSet]"==kr(e)},Fn.join=function(e,t){return null==e?"":Vt.call(e,t)},Fn.kebabCase=Hs,Fn.last=Xi,Fn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=fs(n))<0?gn(r+i,0):vn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ft(e,Bt,i,!0)},Fn.lowerCase=Vs,Fn.lowerFirst=Us,Fn.lt=cs,Fn.lte=us,Fn.max=function(e){return e&&e.length?fr(e,nl,Sr):o},Fn.maxBy=function(e,t){return e&&e.length?fr(e,ai(t,2),Sr):o},Fn.mean=function(e){return Wt(e,nl)},Fn.meanBy=function(e,t){return Wt(e,ai(t,2))},Fn.min=function(e){return e&&e.length?fr(e,nl,Nr):o},Fn.minBy=function(e,t){return e&&e.length?fr(e,ai(t,2),Nr):o},Fn.stubArray=hl,Fn.stubFalse=ml,Fn.stubObject=function(){return{}},Fn.stubString=function(){return""},Fn.stubTrue=function(){return!0},Fn.multiply=Al,Fn.nth=function(e,t){return e&&e.length?zr(e,fs(t)):o},Fn.noConflict=function(){return dt._===this&&(dt._=Fe),this},Fn.noop=sl,Fn.now=Ca,Fn.pad=function(e,t,n){e=vs(e);var r=(t=fs(t))?un(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Wo(ft(o),n)+e+Wo(pt(o),n)},Fn.padEnd=function(e,t,n){e=vs(e);var r=(t=fs(t))?un(e):0;return t&&r<t?e+Wo(t-r,n):e},Fn.padStart=function(e,t,n){e=vs(e);var r=(t=fs(t))?un(e):0;return t&&r<t?Wo(t-r,n)+e:e},Fn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(vs(e).replace(re,""),t||0)},Fn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&vi(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=ps(e),t===o?(t=e,e=0):t=ps(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=xn();return vn(e+i*(t-e+st("1e-"+((i+"").length-1))),t)}return Ur(e,t)},Fn.reduce=function(e,t,n){var r=Ha(e)?Lt:Ut,o=arguments.length<3;return r(e,ai(t,4),n,o,ur)},Fn.reduceRight=function(e,t,n){var r=Ha(e)?_t:Ut,o=arguments.length<3;return r(e,ai(t,4),n,o,dr)},Fn.repeat=function(e,t,n){return t=(n?vi(e,t,n):t===o)?1:fs(t),qr(vs(e),t)},Fn.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fn.result=function(e,t,n){var r=-1,i=(t=vo(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[ji(t[r])];a===o&&(r=i,a=n),e=Ya(a)?a.call(e):a}return e},Fn.round=wl,Fn.runInContext=e,Fn.sample=function(e){return(Ha(e)?Xn:Kr)(e)},Fn.size=function(e){if(null==e)return 0;if(Ua(e))return as(e)?un(e):e.length;var t=pi(e);return t==w||t==M?e.size:_r(e).length},Fn.snakeCase=qs,Fn.some=function(e,t,n){var r=Ha(e)?Nt:to;return n&&vi(e,t,n)&&(t=o),r(e,ai(t,3))},Fn.sortedIndex=function(e,t){return no(e,t)},Fn.sortedIndexBy=function(e,t,n){return ro(e,t,ai(n,2))},Fn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=no(e,t);if(r<n&&$a(e[r],t))return r}return-1},Fn.sortedLastIndex=function(e,t){return no(e,t,!0)},Fn.sortedLastIndexBy=function(e,t,n){return ro(e,t,ai(n,2),!0)},Fn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=no(e,t,!0)-1;if($a(e[n],t))return n}return-1},Fn.startCase=Gs,Fn.startsWith=function(e,t,n){return e=vs(e),n=null==n?0:ir(fs(n),0,e.length),t=ao(t),e.slice(n,n+t.length)==t},Fn.subtract=kl,Fn.sum=function(e){return e&&e.length?qt(e,nl):0},Fn.sumBy=function(e,t){return e&&e.length?qt(e,ai(t,2)):0},Fn.template=function(e,t,n){var r=Fn.templateSettings;n&&vi(e,t,n)&&(t=o),e=vs(e),t=xs({},t,r,Yo);var i,a,s=xs({},t.imports,r.imports,Yo),l=Ts(s),c=Yt(s,l),u=0,d=t.interpolate||be,p="__p += '",f=Ce((t.escape||be).source+"|"+d.source+"|"+(d===Z?de:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(f,function(t,n,r,o,s,l){return r||(r=o),p+=e.slice(u,l).replace(xe,nn),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),p+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(ce.test(m))throw new Ae("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(W,""):p).replace(H,"$1").replace(V,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Zs(function(){return we(l,h+"return "+p).apply(o,c)});if(g.source=p,Xa(g))throw g;return g},Fn.times=function(e,t){if((e=fs(e))<1||e>d)return[];var n=f,r=vn(e,f);t=ai(t),e-=f;for(var o=Gt(r,t);++n<e;)t(n);return o},Fn.toFinite=ps,Fn.toInteger=fs,Fn.toLength=hs,Fn.toLower=function(e){return vs(e).toLowerCase()},Fn.toNumber=ms,Fn.toSafeInteger=function(e){return e?ir(fs(e),-9007199254740991,d):0===e?e:0},Fn.toString=vs,Fn.toUpper=function(e){return vs(e).toUpperCase()},Fn.trim=function(e,t,n){if((e=vs(e))&&(n||t===o))return Kt(e);if(!e||!(t=ao(t)))return e;var r=dn(e),i=dn(t);return bo(r,Qt(r,i),Jt(r,i)+1).join("")},Fn.trimEnd=function(e,t,n){if((e=vs(e))&&(n||t===o))return e.slice(0,pn(e)+1);if(!e||!(t=ao(t)))return e;var r=dn(e);return bo(r,0,Jt(r,dn(t))+1).join("")},Fn.trimStart=function(e,t,n){if((e=vs(e))&&(n||t===o))return e.replace(re,"");if(!e||!(t=ao(t)))return e;var r=dn(e);return bo(r,Qt(r,dn(t))).join("")},Fn.truncate=function(e,t){var n=30,r="...";if(Ja(t)){var i="separator"in t?t.separator:i;n="length"in t?fs(t.length):n,r="omission"in t?ao(t.omission):r}var a=(e=vs(e)).length;if(rn(e)){var s=dn(e);a=s.length}if(n>=a)return e;var l=n-un(r);if(l<1)return r;var c=s?bo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),os(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=Ce(i.source,vs(pe.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var p=u.index;c=c.slice(0,p===o?l:p)}}else if(e.indexOf(ao(i),l)!=l){var f=c.lastIndexOf(i);f>-1&&(c=c.slice(0,f))}return c+r},Fn.unescape=function(e){return(e=vs(e))&&G.test(e)?e.replace(U,fn):e},Fn.uniqueId=function(e){var t=++_e;return vs(e)+t},Fn.upperCase=Ks,Fn.upperFirst=Xs,Fn.each=va,Fn.eachRight=ya,Fn.first=Ui,al(Fn,(gl={},yr(Fn,function(e,t){Le.call(Fn.prototype,t)||(gl[t]=e)}),gl),{chain:!1}),Fn.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Fn[e].placeholder=Fn}),Ct(["drop","take"],function(e,t){Wn.prototype[e]=function(n){n=n===o?1:gn(fs(n),0);var r=this.__filtered__&&!t?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=vn(n,r.__takeCount__):r.__views__.push({size:vn(n,f),type:e+(r.__dir__<0?"Right":"")}),r},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),Ct(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ai(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Ct(["head","last"],function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}}),Ct(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}}),Wn.prototype.compact=function(){return this.filter(nl)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Gr(function(e,t){return"function"==typeof e?new Wn(this):this.map(function(n){return Rr(n,e,t)})}),Wn.prototype.reject=function(e){return this.filter(_a(ai(e)))},Wn.prototype.slice=function(e,t){e=fs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Wn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=fs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(f)},yr(Wn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Fn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Fn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Wn,c=s[0],u=l||Ha(t),d=function(e){var t=i.apply(Fn,Ot([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,m=l&&!f;if(!a&&u){t=m?t:new Wn(this);var g=e.apply(t,s);return g.__actions__.push({func:pa,args:[d],thisArg:o}),new Bn(g,p)}return h&&m?e.apply(this,s):(g=this.thru(d),h?r?g.value()[0]:g.value():g)})}),Ct(["pop","push","shift","sort","splice","unshift"],function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Fn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ha(o)?o:[],e)}return this[n](function(n){return t.apply(Ha(n)?n:[],e)})}}),yr(Wn.prototype,function(e,t){var n=Fn[t];if(n){var r=n.name+"";Le.call(In,r)||(In[r]=[]),In[r].push({name:t,func:n})}}),In[Fo(o,2).name]=[{name:"wrapper",func:o}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Mo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mo(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ha(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=vn(t,e+a);break;case"takeRight":e=gn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,f=vn(l,this.__takeCount__);if(!n||!r&&o==l&&f==l)return po(e,this.__actions__);var h=[];e:for(;l--&&p<f;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],y=v.iteratee,b=v.type,x=y(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}h[p++]=g}return h},Fn.prototype.at=fa,Fn.prototype.chain=function(){return da(this)},Fn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},Fn.prototype.next=function(){this.__values__===o&&(this.__values__=ds(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Fn.prototype.plant=function(e){for(var t,n=this;n instanceof zn;){var r=Fi(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Fn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:pa,args:[Ji],thisArg:o}),new Bn(t,this.__chain__)}return this.thru(Ji)},Fn.prototype.toJSON=Fn.prototype.valueOf=Fn.prototype.value=function(){return po(this.__wrapped__,this.__actions__)},Fn.prototype.first=Fn.prototype.head,Xe&&(Fn.prototype[Xe]=function(){return this}),Fn}();dt._=hn,(r=function(){return hn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},94495:(e,t,n)=>{var r=n(78942);e.exports=function(){return r.Date.now()}},97331:(e,t,n)=>{var r=n(12784),o=n(41580);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},6131:(e,t,n)=>{var r=n(86403),o=n(41580),i=n(51187),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+e}},90320:(e,t)=>{"use strict";if("function"==typeof Symbol&&Symbol.for){var n=Symbol.for;n("react.element"),n("react.portal"),n("react.fragment"),n("react.strict_mode"),n("react.profiler"),n("react.provider"),n("react.context"),n("react.forward_ref"),n("react.suspense"),n("react.suspense_list"),n("react.memo"),n("react.lazy"),n("react.block"),n("react.server.block"),n("react.fundamental"),n("react.debug_trace_mode"),n("react.legacy_hidden")}},524:(e,t,n)=>{"use strict";n(90320)},1871:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case s:case a:case p:case f:return e;default:switch(e=e&&e.$$typeof){case u:case c:case d:case m:case h:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=m,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.SuspenseList=f,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===d},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===m},t.isMemo=function(e){return v(e)===h},t.isPortal=function(e){return v(e)===o},t.isProfiler=function(e){return v(e)===s},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===p},t.isSuspenseList=function(e){return v(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===s||e===a||e===p||e===f||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===n||void 0!==e.getModuleId)},t.typeOf=v},23819:(e,t,n)=>{"use strict";e.exports=n(1871)},32258:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(17502),o=n(79140),i=n(95478),a=n.n(i),s=n(40484),l=n.n(s);var c=n(39548),u="unmounted",d="exited",p="entering",f="entered",h="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=d,r.appearStatus=p):o=f:o=t.unmountOnExit||t.mountOnEnter?u:d,r.state={status:o},r.nextCallback=null,r}(0,o.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==f&&(t=p):n!==p&&n!==f||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[l().findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),c=r?s.appear:s.enter;e||n?(this.props.onEnter(i,a),this.safeSetState({status:p},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:f},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:f},function(){t.props.onEntered(i)})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:h},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(r)})})})):this.safeSetState({status:d},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:l().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(c.A.Provider,{value:null},"function"==typeof n?n(e,o):a().cloneElement(a().Children.only(n),o))},t}(a().Component);function g(){}m.contextType=c.A,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=f,m.EXITING=h;const v=m},1675:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(17502),o=n(89575),i=n(2474),a=n(79140),s=n(95478),l=n.n(s),c=n(39548);function u(e,t){var n=Object.create(null);return e&&s.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)}),n}function d(e,t,n){return null!=n[t]?n[t]:e.props[t]}function p(e,t,n){var r=u(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if((0,s.isValidElement)(a)){var l=i in t,c=i in r,u=t[i],p=(0,s.isValidElement)(u)&&!u.props.in;!c||l&&!p?c||!l||p?c&&l&&(0,s.isValidElement)(u)&&(o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:d(a,"exit",e),enter:d(a,"enter",e)})):o[i]=(0,s.cloneElement)(a,{in:!1}):o[i]=(0,s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:d(a,"exit",e),enter:d(a,"enter",e)})}}),o}var f=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},h=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,i.A)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,a.A)(t,e);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(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,u(n.children,function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:d(e,"appear",n),enter:d(e,"enter",n),exit:d(e,"exit",n)})})):p(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=u(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,o.A)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,r.A)(e,["component","childFactory"]),i=this.state.contextValue,a=f(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?l().createElement(c.A.Provider,{value:i},a):l().createElement(c.A.Provider,{value:i},l().createElement(t,o,a))},t}(l().Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(e){return e}};const m=h},39548:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(95478);const o=n.n(r)().createContext(null)},47093:(e,t,n)=>{var r=n(15937);function o(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,a,s=r(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)i=(n=s[c]).property,a=n.value,l?t(i,a,n):a&&(o||(o={}),o[i]=a);return o}e.exports=o,e.exports.default=o},71761:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},93296:(e,t,n)=>{"use strict";var r=n(95478),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s(function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})},[e,n,t]),a(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},91435:(e,t,n)=>{"use strict";var r=n(95478),o=n(58139),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,s=r.useRef,l=r.useEffect,c=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=s(null);if(null===d.current){var p={hasValue:!1,value:null};d.current=p}else p=d.current;d=c(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==o&&p.hasValue){var t=p.value;if(o(t,e))return s=t}return s=e}if(t=s,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,c=void 0===n?null:n;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,n,r,o]);var f=a(e,d[0],d[1]);return l(function(){p.hasValue=!0,p.value=f},[f]),u(f),f}},58139:(e,t,n)=>{"use strict";e.exports=n(93296)},37121:(e,t,n)=>{"use strict";e.exports=n(91435)},24505:e=>{function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4293:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},78920:(e,t,n)=>{var r=n(14319).default;function o(t,n){if("function"==typeof WeakMap)var i=new WeakMap,a=new WeakMap;return(e.exports=o=function(e,t){if(!t&&e&&e.__esModule)return e;var n,o,s={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return s;if(n=t?a:i){if(n.has(e))return n.get(e);n.set(e,s)}for(var l in e)"default"!==l&&{}.hasOwnProperty.call(e,l)&&((o=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,l))&&(o.get||o.set)?n(s,l,o):s[l]=e[l]);return s},e.exports.__esModule=!0,e.exports.default=e.exports)(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},51112:e=>{e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},14319:e=>{function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},53373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},79140:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1087);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},83705:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(86284),o=n(74430),i=n(27985);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},94770:(e,t,n)=>{"use strict";n.d(t,{r:()=>Rd});var r=n(89575),o=n(17502),i=n(95478),a=n.t(i,2),s=n(93086),l=n(12012),c=n(58001);function u({props:e,name:t}){return(0,s.A)({props:e,name:t,defaultTheme:l.A,themeId:c.A})}const d={top:5,bottom:5,left:5,right:5};var p=n(54357),f=n(13674);const h=e=>e,m=(()=>{let e=h;return{configure(t){e=t},generate:t=>e(t),reset(){e=h}}})(),g={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 v(e,t,n="Mui"){const r=g[t];return r?`${n}-${r}`:`${m.generate(e)}-${t}`}function y(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=v(e,t,n)}),r}function b(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let a="",s=!0;for(let e=0;e<i.length;e+=1){const r=i[e];r&&(a+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[o]=a}return r}function x(e){return v("MuiChartsTooltip",e)}const A=y("MuiChartsTooltip",["root","paper","table","row","cell","mark","markContainer","labelCell","valueCell","axisValueCell"]),w=e=>b({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markContainer:["markContainer"],labelCell:["labelCell"],valueCell:["valueCell"],axisValueCell:["axisValueCell"]},x,e);var k=n(97043),S=n(2628),C=n(10184);const E=e=>e.series,M=(0,C.M)([E],e=>e.processedSeries),R=(0,C.M)([E],e=>e.seriesConfig);function I(){const e=(0,k.P)();return(0,S.d)(e,M)}const T=e=>e.interaction,P=(0,C.M)([T],e=>void 0!==e),O=(0,C.M)([T],e=>e?.item??null),L=(0,C.M)([T],e=>e?.pointer??null),_=(0,C.M)([L],e=>e&&e.x),N=(0,C.M)([L],e=>e&&e.y),j=(0,C.M)([O],e=>null!==e);var D=n(7967);function F(e,t){return function(n,r){if("tick"===r.location){const t=r.scale.domain();return t[0]===t[1]?r.scale.tickFormat(1)(n):r.scale.tickFormat(e)(n)}return"zoom-slider-tooltip"===r.location?t.tickFormat(2)(n):`${n}`}}function $(e){return"band"===e.scaleType}function z(e){return"point"===e.scaleType}function B(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function W(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function H(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=B,n=(t,n)=>B(e(t),n),r=(t,n)=>e(t)-n):(t=e===B||e===W?e:V,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}function V(){return 0}const U=H(B),q=U.right,G=(U.left,H(function(e){return null===e?NaN:+e}).center,q);function K(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function X(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}function Y(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[G(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return Y().domain(t).range(n).unknown(e)},K.apply(o,arguments)}function Z(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Q(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function J(){}var ee=.7,te=1/ee,ne="\\s*([+-]?\\d+)\\s*",re="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",oe="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ie=/^#([0-9a-f]{3,8})$/,ae=new RegExp(`^rgb\\(${ne},${ne},${ne}\\)$`),se=new RegExp(`^rgb\\(${oe},${oe},${oe}\\)$`),le=new RegExp(`^rgba\\(${ne},${ne},${ne},${re}\\)$`),ce=new RegExp(`^rgba\\(${oe},${oe},${oe},${re}\\)$`),ue=new RegExp(`^hsl\\(${re},${oe},${oe}\\)$`),de=new RegExp(`^hsla\\(${re},${oe},${oe},${re}\\)$`),pe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function fe(){return this.rgb().formatHex()}function he(){return this.rgb().formatRgb()}function me(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ie.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ge(t):3===n?new be(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ve(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ve(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ae.exec(e))?new be(t[1],t[2],t[3],1):(t=se.exec(e))?new be(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=le.exec(e))?ve(t[1],t[2],t[3],t[4]):(t=ce.exec(e))?ve(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ue.exec(e))?Ce(t[1],t[2]/100,t[3]/100,1):(t=de.exec(e))?Ce(t[1],t[2]/100,t[3]/100,t[4]):pe.hasOwnProperty(e)?ge(pe[e]):"transparent"===e?new be(NaN,NaN,NaN,0):null}function ge(e){return new be(e>>16&255,e>>8&255,255&e,1)}function ve(e,t,n,r){return r<=0&&(e=t=n=NaN),new be(e,t,n,r)}function ye(e,t,n,r){return 1===arguments.length?((o=e)instanceof J||(o=me(o)),o?new be((o=o.rgb()).r,o.g,o.b,o.opacity):new be):new be(e,t,n,null==r?1:r);var o}function be(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function xe(){return`#${Se(this.r)}${Se(this.g)}${Se(this.b)}`}function Ae(){const e=we(this.opacity);return`${1===e?"rgb(":"rgba("}${ke(this.r)}, ${ke(this.g)}, ${ke(this.b)}${1===e?")":`, ${e})`}`}function we(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ke(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Se(e){return((e=ke(e))<16?"0":"")+e.toString(16)}function Ce(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Me(e,t,n,r)}function Ee(e){if(e instanceof Me)return new Me(e.h,e.s,e.l,e.opacity);if(e instanceof J||(e=me(e)),!e)return new Me;if(e instanceof Me)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Me(a,s,l,e.opacity)}function Me(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Re(e){return(e=(e||0)%360)<0?e+360:e}function Ie(e){return Math.max(0,Math.min(1,e||0))}function Te(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Pe(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Z(J,me,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:fe,formatHex:fe,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ee(this).formatHsl()},formatRgb:he,toString:he}),Z(be,ye,Q(J,{brighter(e){return e=null==e?te:Math.pow(te,e),new be(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?ee:Math.pow(ee,e),new be(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new be(ke(this.r),ke(this.g),ke(this.b),we(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:xe,formatHex:xe,formatHex8:function(){return`#${Se(this.r)}${Se(this.g)}${Se(this.b)}${Se(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ae,toString:Ae})),Z(Me,function(e,t,n,r){return 1===arguments.length?Ee(e):new Me(e,t,n,null==r?1:r)},Q(J,{brighter(e){return e=null==e?te:Math.pow(te,e),new Me(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?ee:Math.pow(ee,e),new Me(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new be(Te(e>=240?e-240:e+120,o,r),Te(e,o,r),Te(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Me(Re(this.h),Ie(this.s),Ie(this.l),we(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=we(this.opacity);return`${1===e?"hsl(":"hsla("}${Re(this.h)}, ${100*Ie(this.s)}%, ${100*Ie(this.l)}%${1===e?")":`, ${e})`}`}}));const Oe=e=>()=>e;function Le(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Oe(isNaN(e)?t:e)}const _e=function e(t){var n=function(e){return 1===(e=+e)?Le:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Oe(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=ye(e)).r,(t=ye(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Le(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Ne(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=ye(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}function je(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=Ve(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function De(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Fe(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function $e(e,t){var n,r={},o={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Ve(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}Ne(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return Pe((n-r/t)*t,a,o,i,s)}}),Ne(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return Pe((n-r/t)*t,o,i,a,s)}});var ze=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Be=new RegExp(ze.source,"g");function We(e,t){var n,r,o,i=ze.lastIndex=Be.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=ze.exec(e))&&(r=Be.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Fe(n,r)})),i=Be.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function He(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function Ve(e,t){var n,r,o=typeof t;return null==t||"boolean"===o?Oe(t):("number"===o?Fe:"string"===o?(n=me(t))?(t=n,_e):We:t instanceof me?_e:t instanceof Date?De:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?je:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?$e:Fe:He))(e,t)}function Ue(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function qe(e){return+e}var Ge=[0,1];function Ke(e){return e}function Xe(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function Ye(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=Xe(o,r),i=n(a,i)):(r=Xe(r,o),i=n(i,a)),function(e){return i(r(e))}}function Ze(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=Xe(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=G(e,t,1,r)-1;return i[n](o[n](t))}}function Qe(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Je(){var e,t,n,r,o,i,a=Ge,s=Ge,l=Ve,c=Ke;function u(){var e,t,n,l=Math.min(a.length,s.length);return c!==Ke&&(e=a[0],t=a[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?Ze:Ye,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(s,a.map(e),Fe)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,qe),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=Ue,u()},d.clamp=function(e){return arguments.length?(c=!!e||Ke,u()):c!==Ke},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function et(){return Je()(Ke,Ke)}const tt=Math.sqrt(50),nt=Math.sqrt(10),rt=Math.sqrt(2);function ot(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=tt?10:i>=nt?5:i>=rt?2:1;let s,l,c;return o<0?(c=Math.pow(10,-o)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?ot(e,t,2*n):[s,l,c]}function it(e,t,n){if(!((n=+n)>0))return[];if((e=+e)===(t=+t))return[e];const r=t<e,[o,i,a]=r?ot(t,e,n):ot(e,t,n);if(!(i>=o))return[];const s=i-o+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(i-e)/-a;else for(let e=0;e<s;++e)l[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(o+e)/-a;else for(let e=0;e<s;++e)l[e]=(o+e)*a;return l}function at(e,t,n){return ot(e=+e,t=+t,n=+n)[2]}function st(e,t,n){n=+n;const r=(t=+t)<(e=+e),o=r?at(t,e,n):at(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}var lt,ct=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ut(e){if(!(t=ct.exec(e)))throw new Error("invalid format: "+e);var t;return new dt({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function dt(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function pt(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function ft(e){return(e=pt(Math.abs(e)))?e[1]:NaN}function ht(e,t){var n=pt(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}ut.prototype=dt.prototype,dt.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const mt={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ht(100*e,t),r:ht,s:function(e,t){var n=pt(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(lt=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+pt(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function gt(e){return e}var vt,yt,bt,xt=Array.prototype.map,At=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function wt(e){var t=e.domain;return e.ticks=function(e){var n=t();return it(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var o,i=st(e,t,n);switch((r=ut(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ft(t)/3)))-ft(Math.abs(e)))}(i,a))||(r.precision=o),bt(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,ft(t)-ft(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-ft(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return yt(r)}(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],u=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);u-- >0;){if((o=at(l,c,n))===r)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function kt(){var e=et();return e.copy=function(){return Qe(e,kt())},K.apply(e,arguments),wt(e)}function St(){var e=wt(function(){var e,t,n,r,o,i=0,a=1,s=Ke,l=!1;function c(t){return null==t||isNaN(t=+t)?o:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(Ve),c.rangeRound=u(Ue),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}()(Ke));return e.copy=function(){return t=e,St().domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown());var t},X.apply(e,arguments)}vt=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?gt:(t=xt.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?gt:function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}(xt.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"−":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=ut(e)).fill,n=e.align,d=e.sign,p=e.symbol,f=e.zero,h=e.width,m=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(m=!0,y="g"):mt[y]||(void 0===g&&(g=12),v=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",x="$"===p?i:/[%p]/.test(y)?l:"",A=mt[y],w=/[defgprs%]/.test(y);function k(e){var o,i,l,p=b,k=x;if("c"===y)k=A(e)+k,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:A(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),S&&0===+e&&"+"!==d&&(S=!1),p=(S?"("===d?d:c:"-"===d||"("===d?"":d)+p,k=("s"===y?At[8+lt/3]:"")+k+(S&&"("===d?")":""),w)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){k=(46===l?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}m&&!f&&(e=r(e,1/0));var C=p.length+e.length+k.length,E=C<h?new Array(h-C+1).join(t):"";switch(m&&f&&(e=r(E+e,E.length?h-k.length:1/0),E=""),n){case"<":e=p+e+k+E;break;case"=":e=p+E+e+k;break;case"^":e=E.slice(0,C=E.length>>1)+p+e+k+E.slice(C);break;default:e=E+p+e+k}return s(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:d,formatPrefix:function(e,t){var n=d(((e=ut(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(ft(t)/3))),o=Math.pow(10,-r),i=At[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),yt=vt.format,bt=vt.formatPrefix;class Ct extends Map{constructor(e,t=Mt){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(Et(this,e))}has(e){return super.has(Et(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function Et({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function Mt(e){return null!==e&&"object"==typeof e?e.valueOf():e}Set;const Rt=Symbol("implicit");function It(){var e=new Ct,t=[],n=[],r=Rt;function o(o){let i=e.get(o);if(void 0===i){if(r!==Rt)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Ct;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return It(t,n).unknown(r)},K.apply(o,arguments),o}function Tt(e){return"piecewise"===e.type?Y(e.thresholds,e.colors):St([e.min??0,e.max??100],e.color)}function Pt(e){return e.values?It(e.values,e.colors).unknown(e.unknownColor??null):It(e.colors.map((e,t)=>t),e.colors).unknown(e.unknownColor??null)}function Ot(e){return"ordinal"===e.type?Pt(e):Tt(e)}function Lt(e){const{tickMaxStep:t,tickMinStep:n,tickNumber:r,range:o,domain:i}=e,a=void 0===n?999:Math.floor(Math.abs(i[1]-i[0])/n),s=void 0===t?2:Math.ceil(Math.abs(i[1]-i[0])/t),l=r??Math.floor(Math.abs(o[1]-o[0])/50);return Math.min(a,Math.max(s,l))}function _t(e,t){return 0===t[1]-t[0]?1:e/((t[1]-t[0])/100)}function Nt(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function jt(e){return Math.log(e)}function Dt(e){return Math.exp(e)}function Ft(e){return-Math.log(-e)}function $t(e){return-Math.exp(-e)}function zt(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Bt(e){return(t,n)=>-e(-t,n)}function Wt(){const e=function(e){const t=e(jt,Dt),n=t.domain;let r,o,i=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(i),o=function(e){return 10===e?zt:e===Math.E?Math.exp:t=>Math.pow(e,t)}(i),n()[0]<0?(r=Bt(r),o=Bt(o),e(Ft,$t)):e(jt,Dt),t}return t.base=function(e){return arguments.length?(i=+e,a()):i},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),p=r(s);const f=null==e?10:+e;let h=[];if(!(i%1)&&p-d<f){if(d=Math.floor(d),p=Math.ceil(p),a>0){for(;d<=p;++d)for(c=1;c<i;++c)if(u=d<0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;h.push(u)}}else for(;d<=p;++d)for(c=i-1;c>=1;--c)if(u=d>0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;h.push(u)}2*h.length<f&&(h=it(a,s,f))}else h=it(d,p,Math.min(p-d,f)).map(o);return l?h.reverse():h},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===i?"s":","),"function"!=typeof n&&(i%1||null!=(n=ut(n)).precision||(n.trim=!0),n=yt(n)),e===1/0)return n;const a=Math.max(1,i*e/t.ticks().length);return e=>{let t=e/o(Math.round(r(e)));return t*i<i-.5&&(t*=i),t<=a?n(e):""}},t.nice=()=>n(Nt(n(),{floor:e=>o(Math.floor(r(e))),ceil:e=>o(Math.ceil(r(e)))})),t}(Je()).domain([1,10]);return e.copy=()=>Qe(e,Wt()).base(e.base()),K.apply(e,arguments),e}function Ht(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Vt(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function Ut(e){return e<0?-e*e:e*e}function qt(){var e=function(e){var t=e(Ke,Ke),n=1;return t.exponent=function(t){return arguments.length?1===(n=+t)?e(Ke,Ke):.5===n?e(Vt,Ut):e(Ht(n),Ht(1/n)):n},wt(t)}(Je());return e.copy=function(){return Qe(e,qt()).exponent(e.exponent())},K.apply(e,arguments),e}const Gt=1e3,Kt=6e4,Xt=36e5,Yt=864e5,Zt=6048e5,Qt=31536e6,Jt=new Date,en=new Date;function tn(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return a},o.filter=n=>tn(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(o.count=(t,r)=>(Jt.setTime(+t),en.setTime(+r),e(Jt),e(en),Math.floor(n(Jt,en))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?t=>r(t)%e===0:t=>o.count(0,t)%e===0):o:null)),o}const nn=tn(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);nn.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?tn(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):nn:null),nn.range;const rn=tn(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*Gt)},(e,t)=>(t-e)/Gt,e=>e.getUTCSeconds()),on=(rn.range,tn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Gt)},(e,t)=>{e.setTime(+e+t*Kt)},(e,t)=>(t-e)/Kt,e=>e.getMinutes())),an=(on.range,tn(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Kt)},(e,t)=>(t-e)/Kt,e=>e.getUTCMinutes())),sn=(an.range,tn(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*Gt-e.getMinutes()*Kt)},(e,t)=>{e.setTime(+e+t*Xt)},(e,t)=>(t-e)/Xt,e=>e.getHours())),ln=(sn.range,tn(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Xt)},(e,t)=>(t-e)/Xt,e=>e.getUTCHours())),cn=(ln.range,tn(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kt)/Yt,e=>e.getDate()-1)),un=(cn.range,tn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Yt,e=>e.getUTCDate()-1)),dn=(un.range,tn(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Yt,e=>Math.floor(e/Yt)));function pn(e){return tn(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kt)/Zt)}dn.range;const fn=pn(0),hn=pn(1),mn=pn(2),gn=pn(3),vn=pn(4),yn=pn(5),bn=pn(6);function xn(e){return tn(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/Zt)}fn.range,hn.range,mn.range,gn.range,vn.range,yn.range,bn.range;const An=xn(0),wn=xn(1),kn=xn(2),Sn=xn(3),Cn=xn(4),En=xn(5),Mn=xn(6),Rn=(An.range,wn.range,kn.range,Sn.range,Cn.range,En.range,Mn.range,tn(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear()),e=>e.getMonth())),In=(Rn.range,tn(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear()),e=>e.getUTCMonth())),Tn=(In.range,tn(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear()));Tn.every=e=>isFinite(e=Math.floor(e))&&e>0?tn(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null,Tn.range;const Pn=tn(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function On(e,t,n,r,o,i){const a=[[rn,1,Gt],[rn,5,5e3],[rn,15,15e3],[rn,30,3e4],[i,1,Kt],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Xt],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Yt],[r,2,1728e5],[n,1,Zt],[t,1,2592e6],[t,3,7776e6],[e,1,Qt]];function s(t,n,r){const o=Math.abs(n-t)/r,i=H(([,,e])=>e).right(a,o);if(i===a.length)return e.every(st(t/Qt,n/Qt,r));if(0===i)return nn.every(Math.max(st(t,n,r),1));const[s,l]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const o=n&&"function"==typeof n.range?n:s(e,t,n),i=o?o.range(e,+t+1):[];return r?i.reverse():i},s]}Pn.every=e=>isFinite(e=Math.floor(e))&&e>0?tn(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null,Pn.range;const[Ln,_n]=On(Pn,In,An,dn,ln,an),[Nn,jn]=On(Tn,Rn,fn,cn,sn,on);function Dn(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Fn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function $n(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var zn,Bn,Wn,Hn={"-":"",_:" ",0:"0"},Vn=/^\s*\d+/,Un=/^%/,qn=/[\\^$*+?|[\]().{}]/g;function Gn(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Kn(e){return e.replace(qn,"\\$&")}function Xn(e){return new RegExp("^(?:"+e.map(Kn).join("|")+")","i")}function Yn(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Zn(e,t,n){var r=Vn.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Qn(e,t,n){var r=Vn.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Jn(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function er(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function tr(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function nr(e,t,n){var r=Vn.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function rr(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function or(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ir(e,t,n){var r=Vn.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function ar(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function sr(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function lr(e,t,n){var r=Vn.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function cr(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ur(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function dr(e,t,n){var r=Vn.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function pr(e,t,n){var r=Vn.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function fr(e,t,n){var r=Vn.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function hr(e,t,n){var r=Un.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function mr(e,t,n){var r=Vn.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function gr(e,t,n){var r=Vn.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function vr(e,t){return Gn(e.getDate(),t,2)}function yr(e,t){return Gn(e.getHours(),t,2)}function br(e,t){return Gn(e.getHours()%12||12,t,2)}function xr(e,t){return Gn(1+cn.count(Tn(e),e),t,3)}function Ar(e,t){return Gn(e.getMilliseconds(),t,3)}function wr(e,t){return Ar(e,t)+"000"}function kr(e,t){return Gn(e.getMonth()+1,t,2)}function Sr(e,t){return Gn(e.getMinutes(),t,2)}function Cr(e,t){return Gn(e.getSeconds(),t,2)}function Er(e){var t=e.getDay();return 0===t?7:t}function Mr(e,t){return Gn(fn.count(Tn(e)-1,e),t,2)}function Rr(e){var t=e.getDay();return t>=4||0===t?vn(e):vn.ceil(e)}function Ir(e,t){return e=Rr(e),Gn(vn.count(Tn(e),e)+(4===Tn(e).getDay()),t,2)}function Tr(e){return e.getDay()}function Pr(e,t){return Gn(hn.count(Tn(e)-1,e),t,2)}function Or(e,t){return Gn(e.getFullYear()%100,t,2)}function Lr(e,t){return Gn((e=Rr(e)).getFullYear()%100,t,2)}function _r(e,t){return Gn(e.getFullYear()%1e4,t,4)}function Nr(e,t){var n=e.getDay();return Gn((e=n>=4||0===n?vn(e):vn.ceil(e)).getFullYear()%1e4,t,4)}function jr(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Gn(t/60|0,"0",2)+Gn(t%60,"0",2)}function Dr(e,t){return Gn(e.getUTCDate(),t,2)}function Fr(e,t){return Gn(e.getUTCHours(),t,2)}function $r(e,t){return Gn(e.getUTCHours()%12||12,t,2)}function zr(e,t){return Gn(1+un.count(Pn(e),e),t,3)}function Br(e,t){return Gn(e.getUTCMilliseconds(),t,3)}function Wr(e,t){return Br(e,t)+"000"}function Hr(e,t){return Gn(e.getUTCMonth()+1,t,2)}function Vr(e,t){return Gn(e.getUTCMinutes(),t,2)}function Ur(e,t){return Gn(e.getUTCSeconds(),t,2)}function qr(e){var t=e.getUTCDay();return 0===t?7:t}function Gr(e,t){return Gn(An.count(Pn(e)-1,e),t,2)}function Kr(e){var t=e.getUTCDay();return t>=4||0===t?Cn(e):Cn.ceil(e)}function Xr(e,t){return e=Kr(e),Gn(Cn.count(Pn(e),e)+(4===Pn(e).getUTCDay()),t,2)}function Yr(e){return e.getUTCDay()}function Zr(e,t){return Gn(wn.count(Pn(e)-1,e),t,2)}function Qr(e,t){return Gn(e.getUTCFullYear()%100,t,2)}function Jr(e,t){return Gn((e=Kr(e)).getUTCFullYear()%100,t,2)}function eo(e,t){return Gn(e.getUTCFullYear()%1e4,t,4)}function to(e,t){var n=e.getUTCDay();return Gn((e=n>=4||0===n?Cn(e):Cn.ceil(e)).getUTCFullYear()%1e4,t,4)}function no(){return"+0000"}function ro(){return"%"}function oo(e){return+e}function io(e){return Math.floor(+e/1e3)}function ao(e){return new Date(e)}function so(e){return e instanceof Date?+e:+new Date(+e)}function lo(e,t,n,r,o,i,a,s,l,c){var u=et(),d=u.invert,p=u.domain,f=c(".%L"),h=c(":%S"),m=c("%I:%M"),g=c("%I %p"),v=c("%a %d"),y=c("%b %d"),b=c("%B"),x=c("%Y");function A(e){return(l(e)<e?f:s(e)<e?h:a(e)<e?m:i(e)<e?g:r(e)<e?o(e)<e?v:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?p(Array.from(e,so)):p().map(ao)},u.ticks=function(t){var n=p();return e(n[0],n[n.length-1],null==t?10:t)},u.tickFormat=function(e,t){return null==t?A:c(t)},u.nice=function(e){var n=p();return e&&"function"==typeof e.range||(e=t(n[0],n[n.length-1],null==e?10:e)),e?p(Nt(n,e)):u},u.copy=function(){return Qe(u,lo(e,t,n,r,o,i,a,s,l,c))},u}function co(){return K.apply(lo(Nn,jn,Tn,Rn,fn,cn,sn,on,rn,Bn).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function uo(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function po(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function fo(){var e=function(e){var t=1,n=e(uo(t),po(t));return n.constant=function(n){return arguments.length?e(uo(t=+n),po(t)):t},wt(n)}(Je());return e.copy=function(){return Qe(e,fo()).constant(e.constant())},K.apply(e,arguments)}function ho(e,t){const n=fo(e,t),r=n.ticks,{negativeScale:o,linearScale:i,positiveScale:a}=function(e){const t=e.constant(),n=e.domain();return{negativeScale:Wt([n[0],Math.min(n[1],-t)],e.range()),linearScale:kt([Math.max(n[0],-t),Math.min(n[1],t)],e.range()),positiveScale:Wt([Math.max(n[0],t),n[1]],e.range())}}(n);return n.ticks=e=>{const t=r(e),s=n.constant();let l=0,c=0,u=0;t.forEach(e=>{e>-s&&e<s&&(c+=1),e<=-s&&(l+=1),e>=s&&(u+=1)});const d=[];if(l>0&&d.push(...o.ticks(l)),c>0){const e=i.ticks(c);d.at(-1)===e[0]?d.push(...e.slice(1)):d.push(...e)}if(u>0){const e=a.ticks(u);d.at(-1)===e[0]?d.push(...e.slice(1)):d.push(...e)}return d},n.tickFormat=(e=10,t)=>{const r=n.constant(),[s,l]=n.domain(),c=l-s,u=o.domain(),d=u[1]-u[0],p=(0===c?0:d/c)*e,f=i.domain(),h=f[1]-f[0],m=(0===c?0:h/c)*e,g=a.domain(),v=g[1]-g[0],y=(0===c?0:v/c)*e,b=o.tickFormat(p,t),x=i.tickFormat(m,t),A=a.tickFormat(y,t);return e=>(e.valueOf()<=-r?b:e.valueOf()>=r?A:x)(e)},n}function mo(e,t,n){switch(e){case"log":return Wt(t,n);case"pow":return qt(t,n);case"sqrt":return function(){return qt.apply(null,arguments).exponent(.5)}(t,n);case"time":return co(t,n);case"utc":return function(){return K.apply(lo(Ln,_n,Pn,In,An,un,ln,an,rn,Wn).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(t,n);case"symlog":return ho(t,n);default:return kt(t,n)}}zn=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Xn(o),u=Yn(o),d=Xn(i),p=Yn(i),f=Xn(a),h=Yn(a),m=Xn(s),g=Yn(s),v=Xn(l),y=Yn(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:vr,e:vr,f:wr,g:Lr,G:Nr,H:yr,I:br,j:xr,L:Ar,m:kr,M:Sr,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:oo,s:io,S:Cr,u:Er,U:Mr,V:Ir,w:Tr,W:Pr,x:null,X:null,y:Or,Y:_r,Z:jr,"%":ro},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Dr,e:Dr,f:Wr,g:Jr,G:to,H:Fr,I:$r,j:zr,L:Br,m:Hr,M:Vr,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:oo,s:io,S:Ur,u:qr,U:Gr,V:Xr,w:Yr,W:Zr,x:null,X:null,y:Qr,Y:eo,Z:no,"%":ro},A={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return S(e,t,n,r)},d:sr,e:sr,f:fr,g:rr,G:nr,H:cr,I:cr,j:lr,L:pr,m:ar,M:ur,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:ir,Q:mr,s:gr,S:dr,u:Qn,U:Jn,V:er,w:Zn,W:tr,x:function(e,t,r){return S(e,n,t,r)},X:function(e,t,n){return S(e,r,t,n)},y:rr,Y:nr,Z:or,"%":hr};function w(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=Hn[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function k(e,t){return function(n){var r,o,i=$n(1900,void 0,1);if(S(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Fn($n(i.y,0,1))).getUTCDay(),r=o>4||0===o?wn.ceil(r):wn(r),r=un.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Dn($n(i.y,0,1))).getDay(),r=o>4||0===o?hn.ceil(r):hn(r),r=cn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Fn($n(i.y,0,1)).getUTCDay():Dn($n(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Fn(i)):Dn(i)}}function S(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=A[o in Hn?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Bn=zn.format,zn.parse,Wn=zn.utcFormat,zn.utcParse;const go=e=>e?.[0]instanceof Date;function vo(e,t,n){const r=co(e,t);return(e,{location:t})=>"tick"===t?r.tickFormat(n)(e):`${e.toLocaleString()}`}let yo,bo;const xo=new class{types=(()=>new Set)();constructor(){if(yo)throw new Error("You can only create one instance!");yo=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}};xo.addType("bar"),xo.addType("line"),xo.addType("scatter");const Ao=new class{types=(()=>new Set)();constructor(){if(bo)throw new Error("You can only create one instance!");bo=this.types}addType(e){this.types.add(e)}getTypes(){return this.types}};function wo(e){return xo.getTypes().has(e)}Ao.addType("radar");const ko=(e,t,n,r,o,i,a)=>{const s="x"===n?r[e].xExtremumGetter:r[e].yExtremumGetter,l=i[e]?.series??{};return s?.({series:l,axis:t,axisIndex:o,isDefaultAxis:0===o,getFilters:a})??[1/0,-1/0]};function So(e,t,n,r,o,i){const a=Object.keys(n).filter(wo);let s=[1/0,-1/0];for(const l of a){const[a,c]=ko(l,e,t,n,r,o,i);s=[Math.min(s[0],a),Math.max(s[1],c)]}return Number.isNaN(s[0])||Number.isNaN(s[1])?[1/0,-1/0]:s}function Co(){var e,t,n=It().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<i,p=d?a:i,f=d?i:a;e=(f-p)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),p+=(f-p-e*(n-l))*u,t=e*(1-l),s&&(p=Math.round(p),t=Math.round(t));var h=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map(function(t){return p+e*t});return o(d?h.reverse():h)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([i,a]=e,i=+i,a=+a,d()):[i,a]},n.rangeRound=function(e){return[i,a]=e,i=+i,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return Co(r(),[i,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},K.apply(d(),arguments)}function Eo(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Eo(t())},e}function Mo(){return Eo(Co.apply(null,arguments).paddingInner(1))}const Ro=(e,t)=>{const n=e[1]-e[0],r=t[1]-t[0];return[e[0]-t[0]*n/r,e[1]+(100-t[1])*n/r]};function Io(e,t,n,o,i,a,s,l){const c=n?[n.start,n.end]:[0,100],u=function(e,t,n){const r="x"===t?[e.left,e.left+e.width]:[e.top+e.height,e.top];return n.reverse?[r[1],r[0]]:r}(o,t,e);if($(e)){const n=e.categoryGapRatio??.2,r="y"===t?[u[1],u[0]]:u,o=Ro(r,c);return{scale:Co(e.data,o).paddingInner(n).paddingOuter(n/2)}}if(z(e)){const n="y"===t?[...u].reverse():u,r=Ro(n,c);return{scale:Mo(e.data,r)}}const d=e.scaleType??"linear",p=To(e,t,a,s,l),[f,h]=So(e,t,i,a,s),m=Oo(e,f,h);if("function"==typeof p){const{min:e,max:t}=p(f,h);m[0]=e,m[1]=t}const g=Lt((0,r.A)({},e,{range:u,domain:m})),v=mo(d,m,Ro(u,c));return"symlog"===e.scaleType&&null!=e.constant&&v.constant(e.constant),Po(v,e,p,g),{scale:v,tickNumber:g}}function To(e,t,n,r,o){return o?((e,t,n,r)=>{if(void 0!==e.domainLimit)return e.domainLimit;if("x"===t)for(const t of r.line?.seriesOrder??[]){const o=r.line.series[t];if(o.xAxisId===e.id||void 0===o.xAxisId&&0===n)return"strict"}return"nice"})(e,t,n,r):e.domainLimit??"nice"}function Po(e,t,n,r){"nice"===n&&e.nice(r);const[o,i]=e.domain();e.domain([t.min??o,t.max??i])}function Oo(e,t,n){let r=t,o=n;return null!=e.max&&e.max.valueOf()<t&&(r=e.max),null!=e.min&&e.min.valueOf()>t&&(o=e.min),[e.min??r,e.max??o]}function Lo(e){return void 0!==e.bandwidth}function _o({scales:e,drawingArea:t,formattedSeries:n,axis:o,seriesConfig:i,axisDirection:a,zoomMap:s,zoomOptions:l,getFilters:c,preferStrictDomainInLineCharts:u}){if(void 0===o)return{axis:{},axisIds:[]};const d=((e,t,n,r)=>{const o=new Set;return Object.keys(t).filter(wo).forEach(i=>{const a=n[i]?.series??{},s=t[i].axisTooltipGetter?.(a);void 0!==s&&s.forEach(({axisId:t,direction:n})=>{n===e&&o.add(t??r)})}),o})(a,i,n,o[0].id),p={};return o.forEach((o,f)=>{const h=o,m=e[h.id];let g=m.scale;const v=l?.[h.id],y=s?.get(h.id),b=y?[y.start,y.end]:[0,100],x=function(e,t,n){const r="x"===t?[e.left,e.left+e.width]:[e.top+e.height,e.top];return n?[r[1],r[0]]:r}(t,a,h.reverse??!1),A=!h.ignoreTooltip&&d.has(h.id),w=h.data??[];if(Lo(g)){const e="y"===a?[x[1],x[0]]:x;if(function(e){return Lo(e)&&void 0!==e.paddingOuter}(g)&&$(h)){const e=h.categoryGapRatio??.2,t=h.barGapRatio??.1;p[h.id]=(0,r.A)({offset:0,height:0,categoryGapRatio:e,barGapRatio:t,triggerTooltip:A},h,{data:w,scale:g,tickNumber:h.data.length,colorScale:h.colorMap&&("ordinal"===h.colorMap.type?Pt((0,r.A)({values:h.data},h.colorMap)):Ot(h.colorMap))})}if(z(h)&&(p[h.id]=(0,r.A)({offset:0,height:0,triggerTooltip:A},h,{data:w,scale:g,tickNumber:h.data.length,colorScale:h.colorMap&&("ordinal"===h.colorMap.type?Pt((0,r.A)({values:h.data},h.colorMap)):Ot(h.colorMap))})),go(h.data)){const t=vo(h.data,e,h.tickNumber);p[h.id].valueFormatter=h.valueFormatter??t}return}if("band"===h.scaleType||"point"===h.scaleType)return;const k=m.tickNumber,S=h,C=S.scaleType??"linear",E=_t(k,b),M=void 0!==y||v?void 0:c;if(M){const[e,t]=So(h,a,i,f,n,M);g=g.copy(),g.domain([e,t]);const r=To(h,a,f,n,u),o=Oo(h,e,t);if("function"==typeof r){const{min:n,max:i}=r(e,t);o[0]=n,o[1]=i}g.domain(o),Po(g,h,r,k)}p[h.id]=(0,r.A)({offset:0,height:0,triggerTooltip:A},S,{data:w,scaleType:C,scale:g,tickNumber:E,colorScale:S.colorMap&&Tt(S.colorMap),valueFormatter:h.valueFormatter??F(E,mo(C,x.map(e=>g.invert(e)),x))})}),{axis:p,axisIds:o.map(({id:e})=>e)}}function No(e){return null!=e}function jo(e,t,n){return(r,o,i)=>{const a=t[r];if(!a||"discard"!==a.filterMode)return null;const s=e?.get(r);return void 0===s||s.start<=0&&s.end>=100?null:Lo(i)?function(e,t,n,r){const o=e?.length??0,i=Math.floor(t*o/100),a=Math.ceil(n*o/100);return function(t,n){return null==(t[r]??e?.[n])||n>=i&&n<a}}(o,s.start,s.end,n):function(e,t,n,r,o){let i,a;[i,a]=e.domain(),i=i instanceof Date?i.getTime():i,a=a instanceof Date?a.getTime():a;const s=i+t*(a-i)/100,l=i+n*(a-i)/100;return function(e,t){const n=e[r]??o?.[t];return null==n||n>=s&&n<=l}}(i,s.start,s.end,n,o)}}const Do={minStart:0,maxEnd:100,step:5,minSpan:10,maxSpan:100,panning:!0,filterMode:"keep",slider:{enabled:!1,preview:!1,size:28,showTooltip:"hover"}},Fo=(e,t,n)=>{if(e)return!0===e?(0,r.A)({axisId:t,axisDirection:n},Do):(0,r.A)({axisId:t,axisDirection:n},Do,e,{slider:(0,r.A)({},Do.slider,{size:e.slider?.preview??Do.slider.preview?48:28},e.slider)})},$o=e=>(t=[])=>t.reduce((t,n)=>{const{zoom:r,id:o}=n,i=Fo(r,o,e);return i&&(t[o]=i),t},{});var zo=n(87483);const Bo=(0,C.M)([e=>e.experimentalFeatures],e=>Boolean(e?.preferStrictDomainInLineCharts)),Wo=e=>e.zoom,Ho=(0,C.M)([Wo],e=>e?.isInteracting),Vo=(0,C.M)([Wo],e=>e?.zoomData&&(e=>{const t=new Map;return e.forEach(e=>{t.set(e.axisId,e)}),t})(e?.zoomData)),Uo=(0,C.M)([zo.RH,zo.mQ],(e,t)=>(0,r.A)({},$o("x")(e),$o("y")(t))),qo=((0,C.M)([Uo,(e,t)=>t],(e,t)=>e[t]),(0,C.M)([Vo,Uo],(e,t)=>e&&t&&jo(e,t,"x"))),Go=(0,C.M)([Vo,Uo],(e,t)=>e&&t&&jo(e,t,"y")),Ko=(0,C.M)([zo.RH,D.VT,M,R,Vo,Bo],function(e,t,n,r,o,i){return function({drawingArea:e,formattedSeries:t,axis:n=[],seriesConfig:r,zoomMap:o,preferStrictDomainInLineCharts:i}){const a={};return n.forEach((n,s)=>{const l=n,c=o?.get(l.id);a[l.id]=Io(l,"x",c,e,r,s,t,i)}),a}({drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,zoomMap:o,preferStrictDomainInLineCharts:i})}),Xo=(0,C.M)([zo.mQ,D.VT,M,R,Vo,Bo],function(e,t,n,r,o,i){return function({drawingArea:e,formattedSeries:t,axis:n=[],seriesConfig:r,zoomMap:o,preferStrictDomainInLineCharts:i}){const a={};return n.forEach((n,s)=>{const l=n,c=o?.get(l.id);a[l.id]=Io(l,"y",c,e,r,s,t,i)}),a}({drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,zoomMap:o,preferStrictDomainInLineCharts:i})}),Yo=(0,C.M)([qo,Go,zo.RH,zo.mQ,Ko,Xo],(e,t,n,o,i,a)=>{if(void 0===e||void 0===t)return;const s=n?.reduce((t,n)=>{const r=e(n.id,n.data,i[n.id].scale);return null!==r&&(t[n.id]=r),t},{}),l=o?.reduce((e,n)=>{const r=t(n.id,n.data,a[n.id].scale);return null!==r&&(e[n.id]=r),e},{});var c;return 0!==Object.keys(s??{}).length||0!==Object.keys(l??{}).length?(c=(0,r.A)({},s,l),({currentAxisId:e,seriesXAxisId:t,seriesYAxisId:n,isDefaultAxis:r})=>(o,i)=>!(e===t?n:t)||r?Object.values(c??{})[0]?.(o,i)??!0:[n,t].filter(t=>t!==e).map(e=>c[e??""]).filter(No).every(e=>e(o,i))):void 0}),Zo=(0,C.M)([zo.RH,D.VT,M,R,Vo,Uo,Yo,Bo,Ko],(e,t,n,r,o,i,a,s,l)=>_o({scales:l,drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,axisDirection:"x",zoomMap:o,zoomOptions:i,getFilters:a,preferStrictDomainInLineCharts:s})),Qo=(0,C.M)([zo.mQ,D.VT,M,R,Vo,Uo,Yo,Bo,Xo],(e,t,n,r,o,i,a,s,l)=>_o({scales:l,drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,axisDirection:"y",zoomMap:o,zoomOptions:i,getFilters:a,preferStrictDomainInLineCharts:s}));function Jo(e){return Ao.getTypes().has(e)}(0,C.M)([Zo,Qo,(e,t)=>t],(e,t,n)=>e?.axis[n]??t?.axis[n]),(0,C.M)([zo.RH,zo.mQ,(e,t)=>t],(e,t,n)=>{const r=e?.find(e=>e.id===n)??t?.find(e=>e.id===n)??null;if(r)return r});const ei=(e,t)=>void 0===e?t:Math.PI*e/180;function ti({drawingArea:e,formattedSeries:t,axis:n,seriesConfig:o,axisDirection:i}){if(void 0===n)return{axis:{},axisIds:[]};const a=((e,t,n,r)=>{const o=new Set;return Object.keys(t).filter(Jo).forEach(i=>{const a=n[i]?.series??{},s=t[i].axisTooltipGetter?.(a);void 0!==s&&s.forEach(({axisId:t,direction:n})=>{n===e&&o.add(t??r)})}),o})(i,o,t,n[0].id),s={};return n.forEach((n,l)=>{const c=n,u=function(e,t,n){if("rotation"===t){if("point"===n.scaleType){const e=[ei(n.startAngle,0),ei(n.endAngle,2*Math.PI)],t=e[1]-e[0];return t>2*Math.PI-.1&&(e[1]-=t/n.data.length),e}return[ei(n.startAngle,0),ei(n.endAngle,2*Math.PI)]}return[0,Math.min(e.height,e.width)/2]}(e,i,c),[d,p]=((e,t,n,r,o)=>{const i=Object.keys(n).filter(Jo).reduce((i,a)=>((e,t,n,r,o,i,a)=>{const s="rotation"===r?o[t].rotationExtremumGetter:o[t].radiusExtremumGetter,l=a[t]?.series??{},[c,u]=s?.({series:l,axis:n,axisIndex:i,isDefaultAxis:0===i})??[1/0,-1/0],[d,p]=e;return[Math.min(c,d),Math.max(u,p)]})(i,a,e,t,n,r,o),[1/0,-1/0]);return Number.isNaN(i[0])||Number.isNaN(i[1])?[1/0,-1/0]:i})(c,i,o,l,t),f=!c.ignoreTooltip&&a.has(c.id),h=c.data??[];if($(c)){const e=c.categoryGapRatio??.2,t=c.barGapRatio??.1;if(s[c.id]=(0,r.A)({offset:0,categoryGapRatio:e,barGapRatio:t,triggerTooltip:f},c,{data:h,scale:Co(c.data,u).paddingInner(e).paddingOuter(e/2),tickNumber:c.data.length,colorScale:c.colorMap&&("ordinal"===c.colorMap.type?Pt((0,r.A)({values:c.data},c.colorMap)):Ot(c.colorMap))}),go(c.data)){const e=vo(c.data,u,c.tickNumber);s[c.id].valueFormatter=c.valueFormatter??e}}if(z(c)&&(s[c.id]=(0,r.A)({offset:0,triggerTooltip:f},c,{data:h,scale:Mo(c.data,u),tickNumber:c.data.length,colorScale:c.colorMap&&("ordinal"===c.colorMap.type?Pt((0,r.A)({values:c.data},c.colorMap)):Ot(c.colorMap))}),go(c.data))){const e=vo(c.data,u,c.tickNumber);s[c.id].valueFormatter=c.valueFormatter??e}if("band"===c.scaleType||"point"===c.scaleType)return;const m=c.scaleType??"linear",g=c.domainLimit??"nice",v=[c.min??d,c.max??p];if("function"==typeof g){const{min:e,max:t}=g(d,p);v[0]=e,v[1]=t}const y=Lt((0,r.A)({},c,{range:u,domain:v})),b=_t(y,u),x=mo(m,v,u),A="nice"===g?x.nice(y):x,[w,k]=A.domain(),S=[c.min??w,c.max??k];s[c.id]=(0,r.A)({offset:0,triggerTooltip:f},c,{data:h,scaleType:m,scale:A.domain(S),tickNumber:b,colorScale:c.colorMap&&Ot(c.colorMap)})}),{axis:s,axisIds:n.map(({id:e})=>e)}}const ni=e=>e.polarAxis,ri=(0,C.M)([ni],e=>e?.rotation),oi=(0,C.M)([ni],e=>e?.radius),ii=(0,C.M)([ri,D.VT,M,R],(e,t,n,r)=>ti({drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,axisDirection:"rotation"})),ai=(0,C.M)([oi,D.VT,M,R],(e,t,n,r)=>ti({drawingArea:t,formattedSeries:n,axis:e,seriesConfig:r,axisDirection:"radius"})),si=(0,C.M)([D.VT],e=>({cx:e.left+e.width/2,cy:e.top+e.height/2}));function li(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,Zo);return{xAxis:t,xAxisIds:n}}function ci(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,Qo);return{yAxis:t,yAxisIds:n}}function ui(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,ii);return{rotationAxis:t,rotationAxisIds:n}}const di=(0,C.M)([e=>e],e=>e.zAxis);function pi(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,di)??{axis:{},axisIds:[]};return{zAxis:t,zAxisIds:n}}var fi=n(59193);const hi=(0,fi.Ay)("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(e,t)=>t.paper})(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,borderRadius:(e.vars||e).shape?.borderRadius,border:`solid ${(e.vars||e).palette.divider} 1px`})),mi=(0,fi.Ay)("table",{name:"MuiChartsTooltip",slot:"Table"})(({theme:e})=>({borderSpacing:0,[`& .${A.markContainer}`]:{display:"inline-block",width:`calc(20px + ${e.spacing(1.5)})`,verticalAlign:"middle"},"& caption":{borderBottom:`solid ${(e.vars||e).palette.divider} 1px`,padding:e.spacing(.5,1.5),textAlign:"start",whiteSpace:"nowrap","& span":{marginRight:e.spacing(1.5)}}})),gi=(0,fi.Ay)("tr",{name:"MuiChartsTooltip",slot:"Row"})(({theme:e})=>({"tr:first-of-type& td":{paddingTop:e.spacing(.5)},"tr:last-of-type& td":{paddingBottom:e.spacing(.5)}})),vi=(0,fi.Ay)(f.A,{name:"MuiChartsTooltip",slot:"Cell"})(({theme:e})=>({verticalAlign:"middle",color:(e.vars||e).palette.text.secondary,textAlign:"start",[`&.${A.cell}`]:{paddingLeft:e.spacing(1),paddingRight:e.spacing(1)},[`&.${A.labelCell}`]:{whiteSpace:"nowrap",fontWeight:e.typography.fontWeightRegular},[`&.${A.valueCell}, &.${A.axisValueCell}`]:{color:(e.vars||e).palette.text.primary,fontWeight:e.typography.fontWeightMedium},[`&.${A.valueCell}`]:{paddingLeft:e.spacing(1.5),paddingRight:e.spacing(1.5)},"td:first-of-type&, th:first-of-type&":{paddingLeft:e.spacing(1.5)},"td:last-of-type&, th:last-of-type&":{paddingRight:e.spacing(1.5)}}));function yi(e){return v("MuiChartsLabelMark",e)}const bi=y("MuiChartsLabelMark",["root","line","square","circle","mask","fill"]);var xi=n(6530);function Ai(e,t,n=!1){const r={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){const o=e[i],a=t[i];if(a)if(o){r[i]={...a};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const t=e;r[i][t]=Ai(o[t],a[t],n)}}else r[i]=a;else r[i]=o||{}}else"className"===i&&n&&t.className?r.className=(0,p.A)(e?.className,t?.className):"style"===i&&n&&t.style?r.style={...e?.style,...t?.style}:void 0===r[i]&&(r[i]=e[i])}return r}var wi=n(31085);const ki=(e,t,n)=>i.forwardRef(function(o,a){const s=u({props:o,name:e}),l=Ai("function"==typeof t.defaultProps?t.defaultProps(s):t.defaultProps??{},s),c=(0,xi.A)(),d=t.classesResolver?.(l,c),p=i.forwardRef(n);return(0,wi.jsx)(p,(0,r.A)({},l,{classes:d,ref:a}))}),Si=["type","color","className","classes"],Ci=(0,fi.Ay)("div",{name:"MuiChartsLabelMark",slot:"Root"})(()=>({display:"flex",width:14,height:14,[`&.${bi.line}`]:{width:16,height:"unset",alignItems:"center",[`.${bi.mask}`]:{height:4,width:"100%",borderRadius:1,overflow:"hidden"}},[`&.${bi.square}`]:{height:13,width:13,borderRadius:2,overflow:"hidden"},[`&.${bi.circle}`]:{height:15,width:15},svg:{display:"block"},[`& .${bi.mask} > *`]:{height:"100%",width:"100%"},[`& .${bi.mask}`]:{height:"100%",width:"100%"}})),Ei=ki("MuiChartsLabelMark",{defaultProps:{type:"square"},classesResolver:e=>{const{type:t}=e;return b({root:"function"==typeof t?["root"]:["root",t],mask:["mask"],fill:["fill"]},yi,e.classes)}},function(e,t){const{type:n,color:i,className:a,classes:s}=e,l=(0,o.A)(e,Si),c=n;return(0,wi.jsx)(Ci,(0,r.A)({className:(0,p.A)(s?.root,a),ownerState:e,"aria-hidden":"true",ref:t},l,{children:(0,wi.jsx)("div",{className:s?.mask,children:"function"==typeof c?(0,wi.jsx)(c,{className:s?.fill,color:i}):(0,wi.jsx)("svg",{viewBox:"0 0 24 24",preserveAspectRatio:"line"===n?"none":void 0,children:"circle"===n?(0,wi.jsx)("circle",{className:s?.fill,r:"12",cx:"12",cy:"12",fill:i}):(0,wi.jsx)("rect",{className:s?.fill,width:"24",height:"24",fill:i})})})}))});function Mi(e){const{classes:t,sx:n}=e,r=function(){const e=(0,k.P)(),t=(0,S.d)(e,O),n=(0,S.d)(e,R),r=I(),{xAxis:o,xAxisIds:i}=li(),{yAxis:a,yAxisIds:s}=ci(),{zAxis:l,zAxisIds:c}=pi(),{rotationAxis:u,rotationAxisIds:d}=ui(),{radiusAxis:p,radiusAxisIds:f}=function(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,ai);return{radiusAxis:t,radiusAxisIds:n}}(),h=r.xAxisId??i[0],m=r.yAxisId??s[0],g=r.zAxisId??c[0],v=r.rotationAxisId??d[0],y=r.radiusAxisId??f[0];if(!t)return null;const b=r[t.type]?.series[t.seriesId];if(!b)return null;const x=n[b.type].colorProcessor?.(b,h&&o[h],m&&a[m],g&&l[g])??(()=>""),A={};return void 0!==h&&(A.x=o[h]),void 0!==m&&(A.y=a[m]),void 0!==v&&(A.rotation=u[v]),void 0!==y&&(A.radius=p[y]),n[b.type].tooltipGetter({series:b,axesConfig:A,getColor:x,identifier:t})}(),o=w(t);if(!r)return null;if("values"in r){const{label:e,color:t,markType:i}=r;return(0,wi.jsx)(hi,{sx:n,className:o.paper,children:(0,wi.jsxs)(mi,{className:o.table,children:[(0,wi.jsxs)(f.A,{component:"caption",children:[(0,wi.jsx)("div",{className:o.markContainer,children:(0,wi.jsx)(Ei,{type:i,color:t,className:o.mark})}),e]}),(0,wi.jsx)("tbody",{children:r.values.map(({formattedValue:e,label:t})=>(0,wi.jsxs)(gi,{className:o.row,children:[(0,wi.jsx)(vi,{className:(0,p.A)(o.labelCell,o.cell),component:"th",children:t}),(0,wi.jsx)(vi,{className:(0,p.A)(o.valueCell,o.cell),component:"td",children:e})]},t))})]})})}const{color:i,label:a,formattedValue:s,markType:l}=r;return(0,wi.jsx)(hi,{sx:n,className:o.paper,children:(0,wi.jsx)(mi,{className:o.table,children:(0,wi.jsx)("tbody",{children:(0,wi.jsxs)(gi,{className:o.row,children:[(0,wi.jsxs)(vi,{className:(0,p.A)(o.labelCell,o.cell),component:"th",children:[(0,wi.jsx)("div",{className:o.markContainer,children:(0,wi.jsx)(Ei,{type:l,color:i,className:o.mark})}),a]}),(0,wi.jsx)(vi,{className:(0,p.A)(o.valueCell,o.cell),component:"td",children:s})]})})})})}function Ri(e,t){return"function"==typeof e?e(t):e}var Ii=n(90930),Ti=n(53871);function Pi(){const e=(0,Ti.N)();if(!e)throw new Error(["MUI X Charts: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartContainer parent component."].join("\n"));return e.svgRef}function Oi(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r+=1)if(!Oi(e[r],t[r]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;const n=Array.from(e.entries());for(let e=0;e<n.length;e+=1)if(!t.has(n[e][0]))return!1;for(let e=0;e<n.length;e+=1){const r=n[e];if(!Oi(r[1],t.get(r[0])))return!1}return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;const n=Array.from(e.entries());for(let e=0;e<n.length;e+=1)if(!t.has(n[e][0]))return!1;return!0}if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r+=1)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const n=Object.keys(e),r=n.length;if(r!==Object.keys(t).length)return!1;for(let e=0;e<r;e+=1)if(!Object.prototype.hasOwnProperty.call(t,n[e]))return!1;for(let o=0;o<r;o+=1){const r=n[o];if(!Oi(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function Li(e){return e instanceof Date?e.getTime():e}function _i(e,t){const{scale:n,data:r,reverse:o}=e;if(!Lo(n)){const e=n.invert(t);if(void 0===r)return-1;const o=Li(e),i=r?.findIndex((t,n)=>{const i=Li(t);return i>o&&(0===n||Math.abs(o-i)<=Math.abs(o-Li(r[n-1])))||i<=o&&(n===r.length-1||Math.abs(Li(e)-i)<Math.abs(Li(e)-Li(r[n+1])))});return i}const i=0===n.bandwidth()?Math.floor((t-Math.min(...n.range())+n.step()/2)/n.step()):Math.floor((t-Math.min(...n.range()))/n.step());return i<0||i>=r.length?-1:o?r.length-1-i:i}function Ni(e,t,n){const{scale:r,data:o}=e;return Lo(r)?null===n||n<0||n>=o.length?null:o[n]:null===n?r.invert(t):o[n]}const ji=(e,t)=>t;function Di(e,t,n=t.axisIds[0]){return Array.isArray(n)?n.map(n=>_i(t.axis[n],e)):_i(t.axis[n],e)}const Fi=(e,t,n)=>{if(null===e)return null;const r=Di(e,t,n);return-1===r?null:r},$i=(0,C.M)([_,Zo,ji],Fi),zi=(0,C.M)([N,Qo,ji],Fi),Bi=(0,C.M)([_,N,Zo,Qo],(e,t,n,r)=>[...null===e?[]:n.axisIds.map(t=>({axisId:t,dataIndex:Di(e,n,t)})),...null===t?[]:r.axisIds.map(e=>({axisId:e,dataIndex:Di(t,r,e)}))].filter(e=>null!==e.dataIndex&&e.dataIndex>=0));function Wi(e,t,n,r=t.axisIds[0]){return Array.isArray(r)?r.map((r,o)=>Ni(t.axis[r],e,n[o])):Ni(t.axis[r],e,n)}(0,C.M)([_,Zo,$i,ji],(e,t,n,r)=>null===e||0===t.axisIds.length?null:Wi(e,t,n,r)),(0,C.M)([N,Qo,zi,ji],(e,t,n,r)=>null===e||0===t.axisIds.length?null:Wi(e,t,n,r));const Hi=(0,C.M)([_,Zo],(e,t)=>null===e?[]:t.axisIds.filter(e=>t.axis[e].triggerTooltip).map(n=>({axisId:n,dataIndex:_i(t.axis[n],e)})).filter(({dataIndex:e})=>e>=0),{memoizeOptions:{resultEqualityCheck:Oi}}),Vi=(0,C.M)([N,Qo],(e,t)=>null===e?[]:t.axisIds.filter(e=>t.axis[e].triggerTooltip).map(n=>({axisId:n,dataIndex:_i(t.axis[n],e)})).filter(({dataIndex:e})=>e>=0),{memoizeOptions:{resultEqualityCheck:Oi}}),Ui=(0,C.M)([Hi,Vi],(e,t)=>e.length>0||t.length>0),qi=2*Math.PI;function Gi(e,t){const{scale:n,data:r,reverse:o}=e;if(!Lo(n))throw new Error("MUI X Charts: getAxisValue is not implemented for polare continuous axes.");if(!r)return-1;const i=((t-Math.min(...n.range()))%qi+qi)%qi,a=0===n.bandwidth()?Math.floor((i+n.step()/2)/n.step())%r.length:Math.floor(i/n.step());return a<0||a>=r.length?-1:o?r.length-1-a:a}const Ki=(e,t)=>t,Xi=(e,t)=>t;function Yi(e,t,n){return Array.isArray(n)?n.map(n=>Gi(t.axis[n],e)):Gi(t.axis[n],e)}const Zi=(0,C.M)([_,N,si],(e,t,n)=>null===e||null===t?null:(e=>(t,n)=>Math.atan2(t-e.cx,e.cy-n))(n)(e,t)),Qi=(0,C.M)([Zi,ii,Ki],(e,t,n=t.axisIds[0])=>null===e?null:Yi(e,t,n)),Ji=(0,C.M)([Zi,ii,Xi],(e,t,n=t.axisIds)=>null===e?null:Yi(e,t,n)),ea=((0,C.M)([ii,Qi,Ki],(e,t,n=e.axisIds[0])=>{if(null===t||-1===t||0===e.axisIds.length)return null;const r=e.axis[n]?.data;return r?r[t]:null}),(0,C.M)([ii,Ji,Xi],(e,t,n=e.axisIds)=>null===t?null:n.map((n,r)=>{const o=t[r];return-1===o?null:e.axis[n].data?.[o]})),(0,C.M)([Ji,ii],(e,t)=>null===e?[]:t.axisIds.map((t,n)=>({axisId:t,dataIndex:e[n]})).filter(({axisId:e,dataIndex:n})=>t.axis[e].triggerTooltip&&n>=0),{memoizeOptions:{resultEqualityCheck:Oi}})),ta=((0,C.M)([],()=>[]),(0,C.M)([ea],e=>e.length>0));function na(e,t,n){const r=e.data?.[t]??null,o=(e.valueFormatter??(t=>"utc"===e.scaleType?function(e){return e instanceof Date?e.toUTCString():e.toLocaleString()}(t):t.toLocaleString()))(r,{location:"tooltip",scale:e.scale});return{axisDirection:n,axisId:e.id,mainAxis:e,dataIndex:t,axisValue:r,axisFormattedValue:o,seriesItems:[]}}function ra(e){const t=w(e.classes),n=function(e={}){const{multipleAxes:t,directions:n}=e,r=function(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,Zo);return t[n[0]]}(),o=function(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,Qo);return t[n[0]]}(),a=function(){const e=(0,k.P)(),{axis:t,axisIds:n}=(0,S.d)(e,ii);return t[n[0]]}(),s=(0,k.P)(),l=(0,S.d)(s,Hi),c=(0,S.d)(s,Vi),u=(0,S.d)(s,ea),d=I(),{xAxis:p}=li(),{yAxis:f}=ci(),{zAxis:h,zAxisIds:m}=pi(),{rotationAxis:g}=ui(),v=function(){const e=(0,k.P)(),t=(0,S.d)(e,R);return i.useMemo(()=>{const e={};return Object.keys(t).forEach(n=>{e[n]=t[n].colorProcessor}),e},[t])}();if(0===l.length&&0===c.length&&0===u.length)return null;const y=[];return(void 0===n||n.includes("x"))&&l.forEach(({axisId:e,dataIndex:n})=>{!t&&y.length>1||y.push(na(p[e],n,"x"))}),(void 0===n||n.includes("y"))&&c.forEach(({axisId:e,dataIndex:n})=>{!t&&y.length>1||y.push(na(f[e],n,"y"))}),(void 0===n||n.includes("rotation"))&&u.forEach(({axisId:e,dataIndex:n})=>{!t&&y.length>1||y.push(na(g[e],n,"rotation"))}),Object.keys(d).filter(wo).forEach(e=>{const t=d[e];return t?t.seriesOrder.forEach(n=>{const i=t.series[n],a=i.xAxisId??r.id,s=i.yAxisId??o.id,l=y.findIndex(({axisDirection:e,axisId:t})=>"x"===e&&t===a||"y"===e&&t===s);if(l>=0){const t="zAxisId"in i?i.zAxisId:m[0],{dataIndex:r}=y[l],o=v[e]?.(i,p[a],f[s],t?h[t]:void 0)(r)??"",c=i.data[r]??null,u=i.valueFormatter(c,{dataIndex:r}),d=Ri(i.label,"tooltip")??null;y[l].seriesItems.push({seriesId:n,color:o,value:c,formattedValue:u,formattedLabel:d,markType:i.labelMarkType})}}):[]}),Object.keys(d).filter(Jo).forEach(e=>{const t=d[e];return t?t.seriesOrder.forEach(n=>{const r=t.series[n],o=r.rotationAxisId??a?.id,i=y.findIndex(({axisDirection:e,axisId:t})=>"rotation"===e&&t===o);if(i>=0){const{dataIndex:t}=y[i],o=v[e]?.(r)(t)??"",a=r.data[t]??null,s=r.valueFormatter(a,{dataIndex:t}),l=Ri(r.label,"tooltip")??null;y[i].seriesItems.push({seriesId:n,color:o,value:a,formattedValue:s,formattedLabel:l,markType:r.labelMarkType})}}):[]}),t?y:0===y.length?y[0]:null}((0,r.A)({},undefined,{multipleAxes:!0}));return null===n?null:(0,wi.jsx)(hi,{sx:e.sx,className:t.paper,children:n.map(({axisId:e,mainAxis:n,axisValue:r,axisFormattedValue:o,seriesItems:i})=>(0,wi.jsxs)(mi,{className:t.table,children:[null!=r&&!n.hideTooltip&&(0,wi.jsx)(f.A,{component:"caption",children:o}),(0,wi.jsx)("tbody",{children:i.map(({seriesId:e,color:n,formattedValue:r,formattedLabel:o,markType:i})=>null==r?null:(0,wi.jsxs)(gi,{className:t.row,children:[(0,wi.jsxs)(vi,{className:(0,p.A)(t.labelCell,t.cell),component:"th",children:[(0,wi.jsx)("div",{className:t.markContainer,children:(0,wi.jsx)(Ei,{type:i,color:n,className:t.mark})}),o||null]}),(0,wi.jsx)(vi,{className:(0,p.A)(t.valueCell,t.cell),component:"td",children:r})]},e))})]},e))})}const oa={};function ia(e,t){const n=i.useRef(oa);return n.current===oa&&(n.current=e(t)),n}var aa=n(29285),sa=n(64714);const la=function(e){const{children:t,defer:n=!1,fallback:r=null}=e,[o,a]=i.useState(!1);return(0,sa.A)(()=>{n||a(!0)},[n]),i.useEffect(()=>{n&&a(!0)},[n]),(0,wi.jsx)(i.Fragment,{children:o?t:r})},ca=["trigger","classes","children"],ua=()=>!1,da=(0,fi.Ay)(aa.A,{name:"MuiChartsTooltip",slot:"Root"})(({theme:e})=>({pointerEvents:"none",zIndex:e.zIndex.modal}));function pa(e){const t=u({props:e,name:"MuiChartsTooltipContainer"}),{trigger:n="axis",classes:a,children:s}=t,l=(0,o.A)(t,ca),c=Pi(),d=w(a),p=function(){const e=Pi(),[t,n]=i.useState(null);return i.useEffect(()=>{const t=e.current;if(null===t)return()=>{};const r=e=>{"mouse"!==e.pointerType&&n(null)},o=e=>{n({pointerType:e.pointerType})};return t.addEventListener("pointerenter",o),t.addEventListener("pointerup",r),()=>{t.removeEventListener("pointerenter",o),t.removeEventListener("pointerup",r)}},[e]),t}(),f=(0,Ii.A)("@media (pointer: fine)",{defaultMatches:!0}),h=i.useRef(null),m=ia(()=>({x:0,y:0})),g=function(){const e=(0,k.P)(),t=(0,S.d)(e,ri),n=(0,S.d)(e,zo.RH);return void 0!==t?"polar":void 0!==n?"cartesian":"none"}(),v=(0,k.P)(),y=(0,S.d)(v,"axis"===n?"polar"===g&&ta||"cartesian"===g&&Ui||ua:j);i.useEffect(()=>{const e=c.current;if(null===e)return()=>{};const t=function(){let e,t;const n=()=>{t=null,(()=>{h.current?.update()})(...e)};function r(...r){e=r,t||(t=requestAnimationFrame(n))}return r.clear=()=>{t&&(cancelAnimationFrame(t),t=null)},r}(),n=e=>{m.current={x:e.clientX,y:e.clientY},t()};return e.addEventListener("pointerdown",n),e.addEventListener("pointermove",n),()=>{e.removeEventListener("pointerdown",n),e.removeEventListener("pointermove",n),t.clear()}},[c,m]);const b=i.useMemo(()=>({getBoundingClientRect:()=>({x:m.current.x,y:m.current.y,top:m.current.y,left:m.current.x,right:m.current.x,bottom:m.current.y,width:0,height:0,toJSON:()=>""})}),[m]),x="mouse"===p?.pointerType||f,A="touch"===p?.pointerType||!f,C=i.useMemo(()=>[{name:"offset",options:{offset:()=>A?[0,64]:[0,8]}},...x?[]:[{name:"flip",options:{fallbackPlacements:["top-end","top-start","bottom-end","bottom"]}}],{name:"preventOverflow",options:{altAxis:!0}}],[x,A]);return"none"===n?null:(0,wi.jsx)(la,{children:y&&(0,wi.jsx)(da,(0,r.A)({className:d?.root,open:y,placement:x?"right-start":"top",popperRef:h,anchorEl:b,modifiers:C},l,{children:s}))})}function fa(e){const{classes:t,trigger:n="axis"}=e,o=w(t);return(0,wi.jsx)(pa,(0,r.A)({},e,{classes:t,children:"axis"===n?(0,wi.jsx)(ra,{classes:o}):(0,wi.jsx)(Mi,{classes:o})}))}function ha(e,t){return Object.keys(e).flatMap(n=>{const r=t[n].legendGetter;return void 0===r?[]:r(e[n])})}function ma(e){return v("MuiChartsLegend",e)}const ga=y("MuiChartsLegend",["root","item","series","mark","label","vertical","horizontal"]);function va(...e){const t=i.useRef(void 0),n=i.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return i.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}const ya=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t},ba=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=(0,p.A)(n?.className,i,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},a={...n,...o,...r};return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}({...o,...r}),s=ya(r),l=ya(o),c=t(a),u=(0,p.A)(c?.className,n?.className,i,o?.className,r?.className),d={...c?.style,...n?.style,...o?.style,...r?.style},f={...c,...n,...l,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:c.ref}},xa=["slots","slotProps"],Aa=["ownerState"];function wa(e){return v("MuiChartsLabel",e)}y("MuiChartsLabel",["root"]);const ka=["children","className","classes"],Sa=ki("MuiChartsLabel",{classesResolver:e=>b({root:["root"]},wa,e.classes)},function(e,t){const{children:n,className:i,classes:a}=e,s=(0,o.A)(e,ka);return(0,wi.jsx)("span",(0,r.A)({className:(0,p.A)(a?.root,i),ref:t},s,{children:n}))}),Ca=["direction","onItemClick","className","classes"],Ea=(0,fi.Ay)("ul",{name:"MuiChartsLegend",slot:"Root"})(({ownerState:e,theme:t})=>(0,r.A)({},t.typography.caption,{color:(t.vars||t).palette.text.primary,lineHeight:"100%",display:"flex",flexDirection:"vertical"===e.direction?"column":"row",alignItems:"vertical"===e.direction?void 0:"center",flexShrink:0,gap:t.spacing(2),listStyleType:"none",paddingInlineStart:0,marginBlock:t.spacing(1),marginInline:t.spacing(1),flexWrap:"wrap",li:{display:"horizontal"===e.direction?"inline-flex":void 0},[`button.${ga.series}`]:{background:"none",border:"none",padding:0,fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",letterSpacing:"inherit",color:"inherit"},[`& .${ga.series}`]:{display:"vertical"===e.direction?"flex":"inline-flex",alignItems:"center",gap:t.spacing(1)},gridArea:"legend"})),Ma=((e,t,n,a)=>{function s(e,i){const s=u({props:e,name:"MuiChartsLegend"}),l=Ai("function"==typeof n.defaultProps?n.defaultProps(s):n.defaultProps??{},s),c=l,{slots:d,slotProps:p}=c,f=(0,o.A)(c,xa),h=(0,xi.A)(),m=n.classesResolver?.(l,h),g=d?.[t]??a,v=n.propagateSlots&&!d?.[t],y=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,a=o?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(n,r),{props:s,internalRef:l}=ba({...i,externalSlotProps:a});return function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}}(t,{...s,ref:va(l,a?.ref,e.additionalProps?.ref)},r)}({elementType:g,externalSlotProps:p?.[t],additionalProps:(0,r.A)({},f,{classes:m},v&&{slots:d,slotProps:p}),ownerState:{}}),b=(0,o.A)(y,Aa),x=(0,r.A)({},b);for(const e of n.omitProps??[])delete x[e];return(0,wi.jsx)(g,(0,r.A)({},x,{ref:i}))}return i.forwardRef(s)})(0,"legend",{defaultProps:{direction:"horizontal"},omitProps:["position"],classesResolver:e=>{const{classes:t,direction:n}=e;return b({root:["root",n],item:["item"],mark:["mark"],label:["label"],series:["series"]},ma,t)}},i.forwardRef(function(e,t){const n=function(){const e=I(),t=(0,k.P)();return{items:ha(e,(0,S.d)(t,R))}}(),{onItemClick:i,className:a,classes:s}=e,l=(0,o.A)(e,Ca);if(0===n.items.length)return null;const c=i?"button":"div";return(0,wi.jsx)(Ea,(0,r.A)({className:(0,p.A)(s?.root,a),ref:t},l,{ownerState:e,children:n.items.map((e,t)=>(0,wi.jsx)("li",{className:s?.item,"data-series":e.id,children:(0,wi.jsxs)(c,{className:s?.series,role:i?"button":void 0,type:i?"button":void 0,onClick:i?n=>{return i(n,{type:"series",color:(r=e).color,label:r.label,seriesId:r.seriesId,itemId:r.itemId},t);var r}:void 0,children:[(0,wi.jsx)(Ei,{className:s?.mark,color:e.color,type:e.markType}),(0,wi.jsx)(Sa,{className:s?.label,children:e.label})]})},e.id))}))}));function Ra(e){return function(){return e}}const Ia=Math.abs,Ta=Math.atan2,Pa=Math.cos,Oa=Math.max,La=Math.min,_a=Math.sin,Na=Math.sqrt,ja=1e-12,Da=Math.PI,Fa=Da/2,$a=2*Da;function za(e){return e>=1?Fa:e<=-1?-Fa:Math.asin(e)}const Ba=Math.PI,Wa=2*Ba,Ha=1e-6,Va=Wa-Ha;function Ua(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class qa{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?Ua:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Ua;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,o,i){this._append`C${+e},${+t},${+n},${+r},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,s=n-e,l=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Ha)if(Math.abs(u*s-l*c)>Ha&&o){let p=n-i,f=r-a,h=s*s+l*l,m=p*p+f*f,g=Math.sqrt(h),v=Math.sqrt(d),y=o*Math.tan((Ba-Math.acos((h+d-m)/(2*g*v)))/2),b=y/v,x=y/g;Math.abs(b-1)>Ha&&this._append`L${e+b*c},${t+b*u}`,this._append`A${o},${o},0,0,${+(u*p>c*f)},${this._x1=e+x*s},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^i,d=i?r-o:o-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>Ha||Math.abs(this._y1-c)>Ha)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%Wa+Wa),d>Va?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>Ha&&this._append`A${n},${n},0,${+(d>=Ba)},${u},${this._x1=e+n*Math.cos(o)},${this._y1=t+n*Math.sin(o)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function Ga(e){return e.innerRadius}function Ka(e){return e.outerRadius}function Xa(e){return e.startAngle}function Ya(e){return e.endAngle}function Za(e){return e&&e.padAngle}function Qa(e,t,n,r,o,i,a){var s=e-n,l=t-r,c=(a?i:-i)/Na(s*s+l*l),u=c*l,d=-c*s,p=e+u,f=t+d,h=n+u,m=r+d,g=(p+h)/2,v=(f+m)/2,y=h-p,b=m-f,x=y*y+b*b,A=o-i,w=p*m-h*f,k=(b<0?-1:1)*Na(Oa(0,A*A*x-w*w)),S=(w*b-y*k)/x,C=(-w*y-b*k)/x,E=(w*b+y*k)/x,M=(-w*y+b*k)/x,R=S-g,I=C-v,T=E-g,P=M-v;return R*R+I*I>T*T+P*P&&(S=E,C=M),{cx:S,cy:C,x01:-u,y01:-d,x11:S*(o/A-1),y11:C*(o/A-1)}}function Ja(){var e=Ga,t=Ka,n=Ra(0),r=null,o=Xa,i=Ya,a=Za,s=null,l=function(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new qa(t)}(c);function c(){var c,u,d,p=+e.apply(this,arguments),f=+t.apply(this,arguments),h=o.apply(this,arguments)-Fa,m=i.apply(this,arguments)-Fa,g=Ia(m-h),v=m>h;if(s||(s=c=l()),f<p&&(u=f,f=p,p=u),f>ja)if(g>$a-ja)s.moveTo(f*Pa(h),f*_a(h)),s.arc(0,0,f,h,m,!v),p>ja&&(s.moveTo(p*Pa(m),p*_a(m)),s.arc(0,0,p,m,h,v));else{var y,b,x=h,A=m,w=h,k=m,S=g,C=g,E=a.apply(this,arguments)/2,M=E>ja&&(r?+r.apply(this,arguments):Na(p*p+f*f)),R=La(Ia(f-p)/2,+n.apply(this,arguments)),I=R,T=R;if(M>ja){var P=za(M/p*_a(E)),O=za(M/f*_a(E));(S-=2*P)>ja?(w+=P*=v?1:-1,k-=P):(S=0,w=k=(h+m)/2),(C-=2*O)>ja?(x+=O*=v?1:-1,A-=O):(C=0,x=A=(h+m)/2)}var L=f*Pa(x),_=f*_a(x),N=p*Pa(k),j=p*_a(k);if(R>ja){var D,F=f*Pa(A),$=f*_a(A),z=p*Pa(w),B=p*_a(w);if(g<Da)if(D=function(e,t,n,r,o,i,a,s){var l=n-e,c=r-t,u=a-o,d=s-i,p=d*l-u*c;if(!(p*p<ja))return[e+(p=(u*(t-i)-d*(e-o))/p)*l,t+p*c]}(L,_,z,B,F,$,N,j)){var W=L-D[0],H=_-D[1],V=F-D[0],U=$-D[1],q=1/_a(((d=(W*V+H*U)/(Na(W*W+H*H)*Na(V*V+U*U)))>1?0:d<-1?Da:Math.acos(d))/2),G=Na(D[0]*D[0]+D[1]*D[1]);I=La(R,(p-G)/(q-1)),T=La(R,(f-G)/(q+1))}else I=T=0}C>ja?T>ja?(y=Qa(z,B,L,_,f,T,v),b=Qa(F,$,N,j,f,T,v),s.moveTo(y.cx+y.x01,y.cy+y.y01),T<R?s.arc(y.cx,y.cy,T,Ta(y.y01,y.x01),Ta(b.y01,b.x01),!v):(s.arc(y.cx,y.cy,T,Ta(y.y01,y.x01),Ta(y.y11,y.x11),!v),s.arc(0,0,f,Ta(y.cy+y.y11,y.cx+y.x11),Ta(b.cy+b.y11,b.cx+b.x11),!v),s.arc(b.cx,b.cy,T,Ta(b.y11,b.x11),Ta(b.y01,b.x01),!v))):(s.moveTo(L,_),s.arc(0,0,f,x,A,!v)):s.moveTo(L,_),p>ja&&S>ja?I>ja?(y=Qa(N,j,F,$,p,-I,v),b=Qa(L,_,z,B,p,-I,v),s.lineTo(y.cx+y.x01,y.cy+y.y01),I<R?s.arc(y.cx,y.cy,I,Ta(y.y01,y.x01),Ta(b.y01,b.x01),!v):(s.arc(y.cx,y.cy,I,Ta(y.y01,y.x01),Ta(y.y11,y.x11),!v),s.arc(0,0,p,Ta(y.cy+y.y11,y.cx+y.x11),Ta(b.cy+b.y11,b.cx+b.x11),v),s.arc(b.cx,b.cy,I,Ta(b.y11,b.x11),Ta(b.y01,b.x01),!v))):s.arc(0,0,p,k,w,v):s.lineTo(N,j)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Da/2;return[Pa(r)*n,_a(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Ra(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Ra(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:Ra(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:Ra(+e),c):r},c.startAngle=function(e){return arguments.length?(o="function"==typeof e?e:Ra(+e),c):o},c.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:Ra(+e),c):i},c.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:Ra(+e),c):a},c.context=function(e){return arguments.length?(s=null==e?null:e,c):s},c}const es="undefined"!=typeof window?i.useLayoutEffect:i.useEffect;var ts=n(76272);const ns="cubic-bezier(0.66, 0, 0.34, 1)",rs=ts(.66,0,.34,1);var os,is,as=0,ss=0,ls=0,cs=0,us=0,ds=0,ps="object"==typeof performance&&performance.now?performance:Date,fs="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function hs(){return us||(fs(ms),us=ps.now()+ds)}function ms(){us=0}function gs(){this._call=this._time=this._next=null}function vs(e,t,n){var r=new gs;return r.restart(e,t,n),r}function ys(){us=(cs=ps.now())+ds,as=ss=0;try{!function(){hs(),++as;for(var e,t=os;t;)(e=us-t._time)>=0&&t._call.call(void 0,e),t=t._next;--as}()}finally{as=0,function(){for(var e,t,n=os,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:os=t);is=e,xs(r)}(),us=0}}function bs(){var e=ps.now(),t=e-cs;t>1e3&&(ds-=t,cs=e)}function xs(e){as||(ss&&(ss=clearTimeout(ss)),e-us>24?(e<1/0&&(ss=setTimeout(ys,e-ps.now()-ds)),ls&&(ls=clearInterval(ls))):(ls||(cs=ps.now(),ls=setInterval(bs,1e3)),as=1,fs(ys)))}gs.prototype=vs.prototype={constructor:gs,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?hs():+n)+(null==t?0:+t),this._next||is===this||(is?is._next=this:os=this,is=this),this._call=e,this._time=n,xs()},stop:function(){this._call&&(this._call=null,this._time=1/0,xs())}};class As{elapsed=0;timer=null;constructor(e,t,n){this.duration=e,this.easingFn=t,this.onTickCallback=n,this.resume()}get running(){return null!==this.timer}timerCallback(e){this.elapsed=Math.min(e,this.duration);const t=0===this.duration?1:this.elapsed/this.duration,n=this.easingFn(t);this.onTickCallback(n),this.elapsed>=this.duration&&this.stop()}resume(){if(this.running||this.elapsed>=this.duration)return this;const e=hs()-this.elapsed;return this.timer=vs(e=>this.timerCallback(e),0,e),this}stop(){return this.running?(this.timer&&(this.timer.stop(),this.timer=null),this):this}finish(){return this.stop(),e=()=>this.timerCallback(this.duration),n=new gs,t=null==t?0:+t,n.restart(t=>{n.stop(),e()},t,void 0),this;var e,t,n}}function ws(e,{createInterpolator:t,transformProps:n,applyProps:o,skip:a,initialProps:s=e,ref:l}){const c=n??(e=>e),u=function(e,{createInterpolator:t,applyProps:n,skip:r,initialProps:o=e}){const a=i.useRef(o),s=i.useRef(null),l=i.useRef(null),c=i.useRef(e);es(()=>{c.current=e},[e]),es(()=>{r&&(s.current?.finish(),s.current=null,l.current=null,a.current=e)},[e,r]);const u=i.useCallback(r=>{const o=a.current,i=t(o,e);s.current=new As(300,rs,e=>{const t=i(e);a.current=t,n(r,t)})},[n,t,e]);return i.useCallback(t=>{if(null===t)return void s.current?.stop();const n=l.current;if(n===t){if(function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r+=1){const o=n[r];if(!Object.prototype.hasOwnProperty.call(t,o)||!Object.is(e[o],t[o]))return!1}return!0}(c.current,e))return void s.current?.resume();s.current?.stop()}n&&s.current?.stop(),l.current=t,!s.current&&r||u(t)},[u,e,r])}(e,{initialProps:s,createInterpolator:t,applyProps:(e,t)=>o(e,c(t)),skip:a}),d=a?e:s;return(0,r.A)({},n(d),{ref:va(u,l)})}function ks(e,t){const n=Fe(e.startAngle,t.startAngle),r=Fe(e.endAngle,t.endAngle),o=Fe(e.innerRadius,t.innerRadius),i=Fe(e.outerRadius,t.outerRadius),a=Fe(e.paddingAngle,t.paddingAngle),s=Fe(e.cornerRadius,t.cornerRadius);return e=>({startAngle:n(e),endAngle:r(e),innerRadius:o(e),outerRadius:i(e),paddingAngle:a(e),cornerRadius:s(e)})}const Ss=function(e){const t=i.useRef(e);return es(()=>{t.current=e}),i.useRef((...e)=>(0,t.current)(...e)).current};function Cs(e){"hasPointerCapture"in e.currentTarget&&e.currentTarget.hasPointerCapture(e.pointerId)&&e.currentTarget.releasePointerCapture(e.pointerId)}const Es=["classes","color","dataIndex","id","isFaded","isHighlighted","isFocused","onClick","cornerRadius","startAngle","endAngle","innerRadius","outerRadius","paddingAngle","skipAnimation"];function Ms(e){return v("MuiPieArc",e)}y("MuiPieArc",["root","highlighted","faded","series"]);const Rs=(0,fi.Ay)("path",{name:"MuiPieArc",slot:"Root",overridesResolver:(e,t)=>t.arc})(({theme:e})=>({stroke:(e.vars||e).palette.background.paper,transitionProperty:"opacity, fill, filter",transitionDuration:"300ms",transitionTimingFunction:ns})),Is=i.forwardRef(function(e,t){const{classes:n,color:a,dataIndex:s,id:l,isFaded:c,isHighlighted:u,isFocused:d,onClick:p,cornerRadius:f,startAngle:h,endAngle:m,innerRadius:g,outerRadius:v,paddingAngle:y,skipAnimation:x}=e,A=(0,o.A)(e,Es),w={id:l,dataIndex:s,classes:n,color:a,isFaded:c,isHighlighted:u,isFocused:d},k=(e=>{const{classes:t,id:n,isFaded:r,isHighlighted:o,dataIndex:i}=e;return b({root:["root",`series-${n}`,`data-index-${i}`,o&&"highlighted",r&&"faded"]},Ms,t)})(w),S=(e=>{const{instance:t}=(0,Ti.N)(),n=i.useRef(!1),r=Ss(()=>{n.current=!0,t.setItemInteraction(e),t.setHighlight(e)}),o=Ss(()=>{n.current=!1,t.removeItemInteraction(e),t.clearHighlight()});return i.useEffect(()=>()=>{n.current&&o()},[o]),{onPointerEnter:r,onPointerLeave:o,onPointerDown:Cs}})({type:"pie",seriesId:l,dataIndex:s}),C=function(e){const t={startAngle:(e.startAngle+e.endAngle)/2,endAngle:(e.startAngle+e.endAngle)/2,innerRadius:e.innerRadius,outerRadius:e.outerRadius,paddingAngle:e.paddingAngle,cornerRadius:e.cornerRadius};return ws({startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:e.innerRadius,outerRadius:e.outerRadius,paddingAngle:e.paddingAngle,cornerRadius:e.cornerRadius},{createInterpolator:ks,transformProps:e=>({d:Ja().cornerRadius(e.cornerRadius)({padAngle:e.paddingAngle,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle}),visibility:e.startAngle===e.endAngle?"hidden":"visible"}),applyProps(e,t){e.setAttribute("d",t.d),e.setAttribute("visibility",t.visibility)},initialProps:t,skip:e.skipAnimation,ref:e.ref})}({cornerRadius:f,startAngle:h,endAngle:m,innerRadius:g,outerRadius:v,paddingAngle:y,skipAnimation:x,ref:t});return(0,wi.jsx)(Rs,(0,r.A)({onClick:p,cursor:p?"pointer":"unset",ownerState:w,className:k.root,fill:w.color,opacity:w.isFaded?.3:1,filter:w.isHighlighted?"brightness(120%)":"none",strokeWidth:1,strokeLinejoin:"round","data-highlighted":w.isHighlighted||void 0,"data-faded":w.isFaded||void 0,"data-focused":d||void 0},A,S,C))});function Ts(){return!1}function Ps(e,t){return e&&t?function(n){return!!n&&("series"===e.highlight||"item"===e.highlight&&n.dataIndex===t.dataIndex)&&n.seriesId===t.seriesId}:Ts}function Os(){return!1}function Ls(e,t){return e&&t?function(n){return!!n&&("series"===e.fade?n.seriesId===t.seriesId&&n.dataIndex!==t.dataIndex:"global"===e.fade&&(n.seriesId!==t.seriesId||n.dataIndex!==t.dataIndex))}:Os}function _s(e,t,n){return"series"===e?.highlight&&t?.seriesId===n}function Ns(e,t,n){return"item"===e?.highlight&&t?.seriesId===n?t.dataIndex:null}const js=(0,C.M)([e=>e.series],e=>{const t=new Map;return Object.keys(e.processedSeries).forEach(n=>{const r=e.processedSeries[n];r?.seriesOrder?.forEach(e=>{const n=r?.series[e];t.set(e,n?.highlightScope)})}),t}),Ds=(0,C.M)([e=>e.highlight],function(e){return e.item}),Fs=(0,C.M)([js,Ds],function(e,t){if(!t)return null;const n=e.get(t.seriesId);return void 0===n?null:n}),$s=(0,C.M)([Fs,Ds],Ps),zs=(0,C.M)([Fs,Ds],Ls);(0,C.M)([Fs,Ds,(e,t)=>t],function(e,t,n){return Ps(e,t)(n)}),(0,C.M)([Fs,Ds,(e,t)=>t],_s),(0,C.M)([Fs,Ds,(e,t)=>t],function(e,t,n){return!_s(e,t,n)&&("global"===e?.fade&&null!=t||"series"===e?.fade&&t?.seriesId===n)}),(0,C.M)([Fs,Ds,(e,t)=>t],function(e,t,n){return _s(e,t,n)||Ns(e,t,n)===t?.dataIndex||"series"!==e?.fade&&"global"!==e?.fade||t?.seriesId!==n?null:t.dataIndex}),(0,C.M)([Fs,Ds,(e,t)=>t],Ns),(0,C.M)([Fs,Ds,(e,t)=>t],function(e,t,n){return Ls(e,t)(n)});const Bs=e=>e.keyboardNavigation,Ws=(0,C.M)([Bs],e=>null!=e?.item),Hs=(0,C.M)([Bs],e=>e?.item?.type),Vs=(0,C.M)([Bs],e=>e?.item?.seriesId),Us=(0,C.M)([Bs],e=>e?.item?.dataIndex),qs=(0,C.M)([Bs],e=>!!e?.enableKeyboardNavigation);function Gs(e){const{id:t,data:n,faded:o,highlighted:a,paddingAngle:s=0,innerRadius:l=0,arcLabelRadius:c,outerRadius:u,cornerRadius:d=0}=e,{isFaded:p,isHighlighted:f}=function(){const e=(0,k.P)();return{isHighlighted:(0,S.d)(e,$s),isFaded:(0,S.d)(e,zs)}}(),h=function(){const e=function(){const e=(0,k.P)(),t=(0,S.d)(e,Hs),n=(0,S.d)(e,Vs),r=(0,S.d)(e,Us);return i.useMemo(()=>void 0===t||void 0===n||void 0===r?null:{seriesType:t,seriesId:n,dataIndex:r},[t,n,r])}();return t=>null!==e&&e.seriesType===t.seriesType&&e.seriesId===t.seriesId&&e.dataIndex===t.dataIndex}();return i.useMemo(()=>n.map((e,n)=>{const i={seriesId:t,dataIndex:n},m=f(i),g=!m&&p(i),v=h({seriesType:"pie",seriesId:t,dataIndex:n}),y=(0,r.A)({additionalRadius:0},g&&o||m&&a||{}),b=Math.max(0,ei(y.paddingAngle??s)),x=Math.max(0,y.innerRadius??l),A=Math.max(0,y.outerRadius??u+y.additionalRadius),w=y.cornerRadius??d,k=y.arcLabelRadius??c??(x+A)/2;return(0,r.A)({},e,y,{dataIndex:n,isFaded:g,isHighlighted:m,isFocused:v,paddingAngle:b,innerRadius:x,outerRadius:A,cornerRadius:w,arcLabelRadius:k})}),[d,l,u,s,c,n,o,a,p,f,h,t])}const Ks=["slots","slotProps","innerRadius","outerRadius","cornerRadius","paddingAngle","id","highlighted","faded","data","onItemClick","skipAnimation"];function Xs(e){const{slots:t,slotProps:n,innerRadius:i=0,outerRadius:a,cornerRadius:s=0,paddingAngle:l=0,id:c,highlighted:u,faded:d={additionalRadius:-5},data:p,onItemClick:f,skipAnimation:h}=e,m=(0,o.A)(e,Ks),g=Gs({innerRadius:i,outerRadius:a,cornerRadius:s,paddingAngle:l,id:c,highlighted:u,faded:d,data:p});if(0===p.length)return null;const v=t?.pieArc??Is;return(0,wi.jsx)("g",(0,r.A)({},m,{children:g.map((e,t)=>(0,wi.jsx)(v,(0,r.A)({startAngle:e.startAngle,endAngle:e.endAngle,paddingAngle:e.paddingAngle,innerRadius:e.innerRadius,outerRadius:e.outerRadius,cornerRadius:e.cornerRadius,skipAnimation:h??!1,id:c,color:e.color,dataIndex:t,isFaded:e.isFaded,isHighlighted:e.isHighlighted,isFocused:e.isFocused,onClick:f&&(n=>{f(n,{type:"pie",seriesId:c,dataIndex:t},e)})},n?.pieArc),e.dataIndex))}))}function Ys(e,t){const n=Fe(e.startAngle,t.startAngle),r=Fe(e.endAngle,t.endAngle),o=Fe(e.innerRadius,t.innerRadius),i=Fe(e.outerRadius,t.outerRadius),a=Fe(e.paddingAngle,t.paddingAngle),s=Fe(e.cornerRadius,t.cornerRadius);return e=>({startAngle:n(e),endAngle:r(e),innerRadius:o(e),outerRadius:i(e),paddingAngle:a(e),cornerRadius:s(e)})}const Zs=["id","classes","color","startAngle","endAngle","paddingAngle","arcLabelRadius","innerRadius","outerRadius","cornerRadius","formattedArcLabel","isHighlighted","isFaded","style","skipAnimation"];function Qs(e){return v("MuiPieArcLabel",e)}const Js=y("MuiPieArcLabel",["root","highlighted","faded","animate","series"]),el=(0,fi.Ay)("text",{name:"MuiPieArcLabel",slot:"Root"})(({theme:e})=>({fill:(e.vars||e).palette.text.primary,textAnchor:"middle",dominantBaseline:"middle",pointerEvents:"none",animationName:"animate-opacity",animationDuration:"0s",animationTimingFunction:ns,[`&.${Js.animate}`]:{animationDuration:"300ms"},"@keyframes animate-opacity":{from:{opacity:0}}})),tl=i.forwardRef(function(e,t){const{id:n,classes:i,color:a,startAngle:s,endAngle:l,paddingAngle:c,arcLabelRadius:u,cornerRadius:d,formattedArcLabel:p,isHighlighted:f,isFaded:h,skipAnimation:m}=e,g=(0,o.A)(e,Zs),v=(e=>{const{classes:t,id:n,isFaded:r,isHighlighted:o,skipAnimation:i}=e;return b({root:["root",`series-${n}`,o&&"highlighted",r&&"faded",!i&&"animate"]},Qs,t)})({id:n,classes:i,color:a,isFaded:h,isHighlighted:f,skipAnimation:m}),y=function(e){const t={startAngle:(e.startAngle+e.endAngle)/2,endAngle:(e.startAngle+e.endAngle)/2,innerRadius:e.arcLabelRadius??e.innerRadius,outerRadius:e.arcLabelRadius??e.outerRadius,paddingAngle:e.paddingAngle,cornerRadius:e.cornerRadius};return ws({startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:e.arcLabelRadius??e.innerRadius,outerRadius:e.arcLabelRadius??e.outerRadius,paddingAngle:e.paddingAngle,cornerRadius:e.cornerRadius},{createInterpolator:Ys,transformProps:e=>{const[t,n]=Ja().cornerRadius(e.cornerRadius).centroid({padAngle:e.paddingAngle,startAngle:e.startAngle,endAngle:e.endAngle,innerRadius:e.innerRadius,outerRadius:e.outerRadius});return{x:t,y:n}},applyProps(e,{x:t,y:n}){e.setAttribute("x",t.toString()),e.setAttribute("y",n.toString())},initialProps:t,skip:e.skipAnimation,ref:e.ref})}({cornerRadius:d,startAngle:s,endAngle:l,innerRadius:u,outerRadius:u,paddingAngle:c,skipAnimation:m,ref:t});return(0,wi.jsx)(el,(0,r.A)({className:v.root},g,y,{children:p}))}),nl=["arcLabel","arcLabelMinAngle","arcLabelRadius","cornerRadius","data","faded","highlighted","id","innerRadius","outerRadius","paddingAngle","skipAnimation","slotProps","slots"],rl=180/Math.PI;function ol(e,t,n){if(!e)return null;if((n.endAngle-n.startAngle)*rl<t)return null;switch(e){case"label":return Ri(n.label,"arc");case"value":return n.value?.toString();case"formattedValue":return n.formattedValue;default:return e((0,r.A)({},n,{label:Ri(n.label,"arc")}))}}function il(e){const{arcLabel:t,arcLabelMinAngle:n=0,arcLabelRadius:i,cornerRadius:a=0,data:s,faded:l={additionalRadius:-5},highlighted:c,id:u,innerRadius:d,outerRadius:p,paddingAngle:f=0,skipAnimation:h,slotProps:m,slots:g}=e,v=(0,o.A)(e,nl),y=Gs({innerRadius:d,outerRadius:p,arcLabelRadius:i,cornerRadius:a,paddingAngle:f,id:u,highlighted:c,faded:l,data:s});if(0===s.length)return null;const b=g?.pieArcLabel??tl;return(0,wi.jsx)("g",(0,r.A)({},v,{children:y.map(e=>(0,wi.jsx)(b,(0,r.A)({startAngle:e.startAngle,endAngle:e.endAngle,paddingAngle:e.paddingAngle,innerRadius:e.innerRadius,outerRadius:e.outerRadius,arcLabelRadius:e.arcLabelRadius,cornerRadius:e.cornerRadius,id:u,color:e.color,isFaded:e.isFaded,isHighlighted:e.isHighlighted,formattedArcLabel:ol(t,n,e),skipAnimation:h??!1},m?.pieArcLabel),e.id??e.dataIndex))}))}function al(e,t){if("number"==typeof e)return e;if("100%"===e)return t;if(e.endsWith("%")){const n=Number.parseFloat(e.slice(0,e.length-1));if(!Number.isNaN(n))return n*t/100}if(e.endsWith("px")){const t=Number.parseFloat(e.slice(0,e.length-2));if(!Number.isNaN(t))return t}throw new Error(`MUI X Charts: Received an unknown value "${e}". It should be a number, or a string with a percentage value.`)}function sl(e,t){const{height:n,width:r}=t,{cx:o,cy:i}=e,a=Math.min(r,n)/2;return{cx:al(o??"50%",r),cy:al(i??"50%",n),availableRadius:a}}var ll;ll="pie",(0,C.M)([M,(e,t)=>t],(e,t)=>{if(!t||Array.isArray(t)&&0===t.length)return e[ll]?.seriesOrder?.map(t=>e[ll]?.series[t])??[];if(!Array.isArray(t))return e[ll]?.series?.[t];const n=[],r=[];for(const o of t){const t=e[ll]?.series?.[o];t?n.push(t):r.push(o)}return n});const cl=function(){const e=(0,C.M)([M],e=>e.pie);return()=>{const t=(0,k.P)();return(0,S.d)(t,e)}}(),ul=(0,C.M)([e=>e.animation],e=>e.skip||e.skipAnimationRequests>0);var dl=n(92742);function pl(e){return v("MuiPieChart",e)}function fl(e){const{skipAnimation:t,slots:n,slotProps:r,onItemClick:o}=e,i=cl(),{left:a,top:s,width:l,height:c}=(0,dl.N)(),u=function(e){const t=(0,k.P)(),n=(0,S.d)(t,ul);return e||n}(t),d=b({root:["root"],series:["series"],seriesLabels:["seriesLabels"]},pl,void 0);if(void 0===i)return null;const{series:p,seriesOrder:f}=i;return(0,wi.jsxs)("g",{children:[f.map(e=>{const{innerRadius:t,outerRadius:i,cornerRadius:f,paddingAngle:h,data:m,cx:g,cy:v,highlighted:y,faded:b}=p[e],{cx:x,cy:A,availableRadius:w}=sl({cx:g,cy:v},{width:l,height:c}),k=al(i??w,w),S=al(t??0,w);return(0,wi.jsx)("g",{className:d.series,transform:`translate(${a+x}, ${s+A})`,"data-series":e,children:(0,wi.jsx)(Xs,{innerRadius:S,outerRadius:k,cornerRadius:f,paddingAngle:h,id:e,data:m,skipAnimation:u,highlighted:y,faded:b,onItemClick:o,slots:n,slotProps:r})},e)}),f.map(e=>{const{innerRadius:t,outerRadius:o,arcLabelRadius:i,cornerRadius:f,paddingAngle:h,arcLabel:m,arcLabelMinAngle:g,data:v,cx:y,cy:b}=p[e],{cx:x,cy:A,availableRadius:w}=sl({cx:y,cy:b},{width:l,height:c}),k=al(o??w,w),S=al(t??0,w),C=void 0===i?(k+S)/2:al(i,w);return(0,wi.jsx)("g",{className:d.seriesLabels,transform:`translate(${a+x}, ${s+A})`,"data-series":e,children:(0,wi.jsx)(il,{innerRadius:S,outerRadius:k??w,arcLabelRadius:C,cornerRadius:f,paddingAngle:h,id:e,data:v,skipAnimation:u,arcLabel:m,arcLabelMinAngle:g,slots:n,slotProps:r})},e)})]})}y("MuiPieChart",["root","series","seriesLabels"]);const hl={"image/png":"PNG","image/jpeg":"JPEG","image/webp":"WebP"},ml={loading:"Loading data…",noData:"No data to display",zoomIn:"Zoom in",zoomOut:"Zoom out",toolbarExport:"Export",toolbarExportPrint:"Print",toolbarExportImage:e=>`Export as ${hl[e]??e}`,chartTypeBar:"Bar",chartTypeColumn:"Column",chartTypeLine:"Line",chartTypeArea:"Area",chartTypePie:"Pie",chartPaletteLabel:"Color palette",chartPaletteNameRainbowSurge:"Rainbow Surge",chartPaletteNameBlueberryTwilight:"Blueberry Twilight",chartPaletteNameMangoFusion:"Mango Fusion",chartPaletteNameCheerfulFiesta:"Cheerful Fiesta",chartPaletteNameStrawberrySky:"Strawberry Sky",chartPaletteNameBlue:"Blue",chartPaletteNameGreen:"Green",chartPaletteNamePurple:"Purple",chartPaletteNameRed:"Red",chartPaletteNameOrange:"Orange",chartPaletteNameYellow:"Yellow",chartPaletteNameCyan:"Cyan",chartPaletteNamePink:"Pink",chartConfigurationSectionChart:"Chart",chartConfigurationSectionColumns:"Columns",chartConfigurationSectionBars:"Bars",chartConfigurationSectionAxes:"Axes",chartConfigurationGrid:"Grid",chartConfigurationBorderRadius:"Border radius",chartConfigurationCategoryGapRatio:"Category gap ratio",chartConfigurationBarGapRatio:"Series gap ratio",chartConfigurationStacked:"Stacked",chartConfigurationShowToolbar:"Show toolbar",chartConfigurationSkipAnimation:"Skip animation",chartConfigurationInnerRadius:"Inner radius",chartConfigurationOuterRadius:"Outer radius",chartConfigurationColors:"Colors",chartConfigurationHideLegend:"Hide legend",chartConfigurationShowMark:"Show mark",chartConfigurationHeight:"Height",chartConfigurationWidth:"Width",chartConfigurationSeriesGap:"Series gap",chartConfigurationTickPlacement:"Tick placement",chartConfigurationTickLabelPlacement:"Tick label placement",chartConfigurationCategoriesAxisLabel:"Categories axis label",chartConfigurationSeriesAxisLabel:"Series axis label",chartConfigurationXAxisPosition:"X-axis position",chartConfigurationYAxisPosition:"Y-axis position",chartConfigurationSeriesAxisReverse:"Reverse series axis",chartConfigurationTooltipPlacement:"Placement",chartConfigurationTooltipTrigger:"Trigger",chartConfigurationLegendPosition:"Position",chartConfigurationLegendDirection:"Direction",chartConfigurationBarLabels:"Bar labels",chartConfigurationColumnLabels:"Column labels",chartConfigurationInterpolation:"Interpolation",chartConfigurationSectionTooltip:"Tooltip",chartConfigurationSectionLegend:"Legend",chartConfigurationSectionLines:"Lines",chartConfigurationSectionAreas:"Areas",chartConfigurationSectionArcs:"Arcs",chartConfigurationPaddingAngle:"Padding angle",chartConfigurationCornerRadius:"Corner radius",chartConfigurationArcLabels:"Arc labels",chartConfigurationStartAngle:"Start angle",chartConfigurationEndAngle:"End angle",chartConfigurationPieTooltipTrigger:"Trigger",chartConfigurationPieLegendPosition:"Position",chartConfigurationPieLegendDirection:"Direction",chartConfigurationOptionNone:"None",chartConfigurationOptionValue:"Value",chartConfigurationOptionAuto:"Auto",chartConfigurationOptionTop:"Top",chartConfigurationOptionTopLeft:"Top Left",chartConfigurationOptionTopRight:"Top Right",chartConfigurationOptionBottom:"Bottom",chartConfigurationOptionBottomLeft:"Bottom Left",chartConfigurationOptionBottomRight:"Bottom Right",chartConfigurationOptionLeft:"Left",chartConfigurationOptionRight:"Right",chartConfigurationOptionAxis:"Axis",chartConfigurationOptionItem:"Item",chartConfigurationOptionHorizontal:"Horizontal",chartConfigurationOptionVertical:"Vertical",chartConfigurationOptionBoth:"Both",chartConfigurationOptionStart:"Start",chartConfigurationOptionMiddle:"Middle",chartConfigurationOptionEnd:"End",chartConfigurationOptionExtremities:"Extremities",chartConfigurationOptionTick:"Tick",chartConfigurationOptionMonotoneX:"Monotone X",chartConfigurationOptionMonotoneY:"Monotone Y",chartConfigurationOptionCatmullRom:"Catmull-Rom",chartConfigurationOptionLinear:"Linear",chartConfigurationOptionNatural:"Natural",chartConfigurationOptionStep:"Step",chartConfigurationOptionStepBefore:"Step Before",chartConfigurationOptionStepAfter:"Step After",chartConfigurationOptionBumpX:"Bump X",chartConfigurationOptionBumpY:"Bump Y"},gl=ml;var vl;vl=ml,(0,r.A)({},vl);const yl=["localeText"],bl=i.createContext(null);function xl(e){const{localeText:t}=e,n=(0,o.A)(e,yl),{localeText:a}=i.useContext(bl)??{localeText:void 0},s=u({props:n,name:"MuiChartsLocalizationProvider"}),{children:l,localeText:c}=s,d=i.useMemo(()=>(0,r.A)({},gl,c,a,t),[c,a,t]),p=i.useMemo(()=>({localeText:d}),[d]);return(0,wi.jsx)(bl.Provider,{value:p,children:l})}const Al=()=>{const e=i.useContext(bl);if(null===e)throw new Error(["MUI X Charts: Can not find the charts localization context.","It looks like you forgot to wrap your component in ChartsLocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-charts` package"].join("\n"));return e},wl=["message"],kl=(0,fi.Ay)("text")(({theme:e})=>(0,r.A)({},e.typography.body2,{stroke:"none",fill:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function Sl(e){const{message:t}=e,n=(0,o.A)(e,wl),{top:i,left:a,height:s,width:l}=(0,dl.N)(),{localeText:c}=Al();return(0,wi.jsx)(kl,(0,r.A)({x:a+l/2,y:i+s/2},n,{children:t??c.loading}))}const Cl=["message"],El=(0,fi.Ay)("text")(({theme:e})=>(0,r.A)({},e.typography.body2,{stroke:"none",fill:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function Ml(e){const{message:t}=e,n=(0,o.A)(e,Cl),{top:i,left:a,height:s,width:l}=(0,dl.N)(),{localeText:c}=Al();return(0,wi.jsx)(El,(0,r.A)({x:a+l/2,y:i+s/2},n,{children:t??c.noData}))}function Rl(e){const t=function(){const e=I();return Object.values(e).every(e=>{if(!e)return!0;const{series:t,seriesOrder:n}=e;return n.every(e=>{const n=t[e];return"sankey"===n.type?0===n.data.links.length:0===n.data.length})})}();if(e.loading){const t=e.slots?.loadingOverlay??Sl;return(0,wi.jsx)(t,(0,r.A)({},e.slotProps?.loadingOverlay))}if(t){const t=e.slots?.noDataOverlay??Ml;return(0,wi.jsx)(t,(0,r.A)({},e.slotProps?.noDataOverlay))}return null}function Il(e){const{isReversed:t,gradientId:n,size:r,direction:o,scale:a,colorMap:s}=e;return r<=0?null:(0,wi.jsx)("linearGradient",{id:n,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${t?1:2}`]:`${r}px`,gradientUnits:"userSpaceOnUse",children:s.thresholds.map((e,n)=>{const o=a(e);if(void 0===o)return null;const l=t?1-o/r:o/r;return Number.isNaN(l)?null:(0,wi.jsxs)(i.Fragment,{children:[(0,wi.jsx)("stop",{offset:l,stopColor:s.colors[n],stopOpacity:1}),(0,wi.jsx)("stop",{offset:l,stopColor:s.colors[n+1],stopOpacity:1})]},e.toString()+n)})})}function Tl(e){const{gradientUnits:t,isReversed:n,gradientId:r,size:o,direction:i,scale:a,colorScale:s,colorMap:l}=e,c=[l.min??0,l.max??100],u=c.map(a).filter(e=>void 0!==e);if(2!==u.length)return null;const d="number"==typeof c[0]?Fe(c[0],c[1]):De(c[0],c[1]),p=Math.round((Math.max(...u)-Math.min(...u))/10),f=`${c[0]}-${c[1]}-`;return(0,wi.jsx)("linearGradient",{id:r,x1:"0",x2:"0",y1:"0",y2:"0",[`${i}${n?1:2}`]:"objectBoundingBox"===t?1:`${o}px`,gradientUnits:t??"userSpaceOnUse",children:Array.from({length:p+1},(e,t)=>{const r=d(t/p);if(void 0===r)return null;const i=a(r);if(void 0===i)return null;const l=n?1-i/o:i/o,c=s(r);return null===c?null:(0,wi.jsx)("stop",{offset:l,stopColor:c,stopOpacity:1},f+t)})})}function Pl(e){const{isReversed:t,gradientId:n,colorScale:o,colorMap:i}=e,a=[i.min??0,i.max??100],s="number"==typeof a[0]?Fe(a[0],a[1]):De(a[0],a[1]),l=`${a[0]}-${a[1]}-`;return(0,wi.jsx)("linearGradient",(0,r.A)({id:n},(e=>e?{x1:"1",x2:"0",y1:"0",y2:"0"}:{x1:"0",x2:"1",y1:"0",y2:"0"})(t),{gradientUnits:"objectBoundingBox",children:Array.from({length:11},(e,t)=>{const n=t/10,r=s(n);if(void 0===r)return null;const i=o(r);return null===i?null:(0,wi.jsx)("stop",{offset:n,stopColor:i,stopOpacity:1},l+t)})}))}const Ol=(0,C.M)([e=>e.id],e=>e.chartId);function Ll(){const e=(0,k.P)();return(0,S.d)(e,Ol)}function _l(){const{top:e,height:t,bottom:n,left:r,width:o,right:a}=(0,dl.N)(),s=e+t+n,l=r+o+a,c=function(){const e=Ll();return i.useCallback(t=>`${e}-gradient-${t}`,[e])}(),u=function(){const e=Ll();return i.useCallback(t=>`${e}-gradient-${t}-object-bound`,[e])}(),{xAxis:d,xAxisIds:p}=li(),{yAxis:f,yAxisIds:h}=ci(),{zAxis:m,zAxisIds:g}=pi(),v=h.filter(e=>void 0!==f[e].colorMap),y=p.filter(e=>void 0!==d[e].colorMap),b=g.filter(e=>void 0!==m[e].colorMap);return 0===v.length&&0===y.length&&0===b.length?null:(0,wi.jsxs)("defs",{children:[v.map(e=>{const t=c(e),n=u(e),{colorMap:r,scale:o,colorScale:a,reverse:l}=f[e];return"piecewise"===r?.type?(0,wi.jsx)(Il,{isReversed:!l,scale:o,colorMap:r,size:s,gradientId:t,direction:"y"},t):"continuous"===r?.type?(0,wi.jsxs)(i.Fragment,{children:[(0,wi.jsx)(Tl,{isReversed:!l,scale:o,colorScale:a,colorMap:r,size:s,gradientId:t,direction:"y"}),(0,wi.jsx)(Pl,{isReversed:l,colorScale:a,colorMap:r,gradientId:n})]},t):null}),y.map(e=>{const t=c(e),n=u(e),{colorMap:r,scale:o,reverse:a,colorScale:s}=d[e];return"piecewise"===r?.type?(0,wi.jsx)(Il,{isReversed:a,scale:o,colorMap:r,size:l,gradientId:t,direction:"x"},t):"continuous"===r?.type?(0,wi.jsxs)(i.Fragment,{children:[(0,wi.jsx)(Tl,{isReversed:a,scale:o,colorScale:s,colorMap:r,size:l,gradientId:t,direction:"x"}),(0,wi.jsx)(Pl,{isReversed:a,colorScale:s,colorMap:r,gradientId:n})]},t):null}),b.map(e=>{const t=u(e),{colorMap:n,colorScale:r}=m[e];return"continuous"===n?.type?(0,wi.jsx)(Pl,{colorScale:r,colorMap:n,gradientId:t},t):null})]})}const Nl=["children","className","title","desc"],jl=(0,fi.Ay)("svg",{name:"MuiChartsSurface",slot:"Root"})(({ownerState:e})=>({width:e.width??"100%",height:e.height??"100%",display:"flex",position:"relative",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden",touchAction:"pan-y",userSelect:"none",gridArea:"chart","&:focus":{outline:"none"},"&:focus-visible":{outline:"auto","&[data-has-focused-item=true]":{outline:"none"}},"& [data-focused=true]":{outline:"auto"}})),Dl=i.forwardRef(function(e,t){const n=(0,k.P)(),{width:i,height:a}=(0,S.d)(n,D._h),{width:s,height:l}=(0,S.d)(n,D.dr),c=(0,S.d)(n,qs),d=(0,S.d)(n,Ws),p=va(Pi(),t),f=u({props:e,name:"MuiChartsSurface"}),{children:h,className:m,title:g,desc:v}=f,y=(0,o.A)(f,Nl),b=a>0&&i>0;return(0,wi.jsxs)(jl,(0,r.A)({ownerState:{width:s,height:l},viewBox:`0 0 ${i} ${a}`,className:m,tabIndex:c?0:void 0,"data-has-focused-item":d||void 0},y,{ref:p,children:[g&&(0,wi.jsx)("title",{children:g}),v&&(0,wi.jsx)("desc",{children:v}),(0,wi.jsx)(_l,{}),b&&h]}))});var Fl=n(30330),$l=n(52e3),zl=n(90028),Bl=n(10984),Wl=n(80285),Hl=n(49556),Vl=n(58213),Ul=n(3345),ql=n(86310),Gl=n(18526);function Kl(e){return(0,Gl.Ay)("MuiButton",e)}const Xl=(0,ql.A)("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"]),Yl=i.createContext({}),Zl=i.createContext(void 0),Ql=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Jl=e=>(0,r.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),ec=(0,fi.Ay)(Vl.A,{shouldForwardProp:e=>(0,Wl.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Ul.A)(n.color)}`],t[`size${(0,Ul.A)(n.size)}`],t[`${n.variant}Size${(0,Ul.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,o;const i="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],a="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,r.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,r.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Bl.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Bl.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Bl.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:a,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,r.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Xl.focusVisible}`]:(0,r.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Xl.disabled}`]:(0,r.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,Bl.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(o=e.palette).getContrastText)?void 0:n.call(o,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:i,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Xl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xl.disabled}`]:{boxShadow:"none"}}),tc=(0,fi.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,Ul.A)(n.size)}`]]}})(({ownerState:e})=>(0,r.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Jl(e))),nc=(0,fi.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,Ul.A)(n.size)}`]]}})(({ownerState:e})=>(0,r.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Jl(e))),rc=i.forwardRef(function(e,t){const n=i.useContext(Yl),a=i.useContext(Zl),s=(0,$l.A)(n,e),l=(0,Hl.b)({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:f,disabled:h=!1,disableElevation:m=!1,disableFocusRipple:g=!1,endIcon:v,focusVisibleClassName:y,fullWidth:b=!1,size:x="medium",startIcon:A,type:w,variant:k="text"}=l,S=(0,o.A)(l,Ql),C=(0,r.A)({},l,{color:u,component:d,disabled:h,disableElevation:m,disableFocusRipple:g,fullWidth:b,size:x,type:w,variant:k}),E=(e=>{const{color:t,disableElevation:n,fullWidth:o,size:i,variant:a,classes:s}=e,l={root:["root",a,`${a}${(0,Ul.A)(t)}`,`size${(0,Ul.A)(i)}`,`${a}Size${(0,Ul.A)(i)}`,`color${(0,Ul.A)(t)}`,n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,Ul.A)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,Ul.A)(i)}`]},c=(0,zl.A)(l,Kl,s);return(0,r.A)({},s,c)})(C),M=A&&(0,wi.jsx)(tc,{className:E.startIcon,ownerState:C,children:A}),R=v&&(0,wi.jsx)(nc,{className:E.endIcon,ownerState:C,children:v}),I=a||"";return(0,wi.jsxs)(ec,(0,r.A)({ownerState:C,className:(0,p.A)(n.className,E.root,f,I),component:d,disabled:h,focusRipple:!g,focusVisibleClassName:(0,p.A)(E.focusVisible,y),ref:t,type:w},S,{classes:E,children:[M,c,R]}))}),oc={baseButton:rc,baseIconButton:Fl.A},ic=(0,r.A)({},oc,{}),ac=i.createContext(null);function sc(e){const{slots:t,slotProps:n={},defaultSlots:o,children:a}=e,s=i.useMemo(()=>({slots:(0,r.A)({},o,t),slotProps:n}),[o,t,n]);return(0,wi.jsx)(ac.Provider,{value:s,children:a})}const lc=["#4254FB","#FFB422","#FA4F58","#0DBEFF","#22BF75","#FA83B4","#FF7511"],cc=["#495AFB","#FFC758","#F35865","#30C8FF","#44CE8D","#F286B3","#FF8C39"],uc=e=>"dark"===e?cc:lc,dc={top:20,bottom:20,left:20,right:20};function pc(e,t){const n={top:0,bottom:0,none:0};return(e&&e.length>0?e:[{id:"DEFAULT_X_AXIS_KEY",scaleType:"linear"}]).map((e,o)=>{const i=e.dataKey,a=0===o?"bottom":"none",s=e.position??a,l=25+(e.label?20:0),c=e.id??`defaultized-x-axis-${o}`,u=(0,r.A)({offset:n[s]},e,{id:c,position:s,height:e.height??l,zoom:Fo(e.zoom,c,"x")});if("none"!==s&&(n[s]+=u.height,u.zoom?.slider.enabled&&(n[s]+=u.zoom.slider.size)),void 0===i||void 0!==e.data)return u;if(void 0===t)throw new Error("MUI X Charts: x-axis uses `dataKey` but no `dataset` is provided.");return(0,r.A)({},u,{data:t.map(e=>e[i])})})}function fc(e,t){const n={right:0,left:0,none:0};return(e&&e.length>0?e:[{id:"DEFAULT_Y_AXIS_KEY",scaleType:"linear"}]).map((e,o)=>{const i=e.dataKey,a=0===o?"left":"none",s=e.position??a,l=45+(e.label?20:0),c=e.id??`defaultized-y-axis-${o}`,u=(0,r.A)({offset:n[s]},e,{id:c,position:s,width:e.width??l,zoom:Fo(e.zoom,c,"y")});if("none"!==s&&(n[s]+=u.width,u.zoom?.slider.enabled&&(n[s]+=u.zoom.slider.size)),void 0===i||void 0!==e.data)return u;if(void 0===t)throw new Error("MUI X Charts: y-axis uses `dataKey` but no `dataset` is provided.");return(0,r.A)({},u,{data:t.map(e=>e[i])})})}function hc(e,t){const n=e.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,n.matrixTransform(e.getScreenCTM().inverse())}const mc=()=>{};function gc(e){const{store:t,selector:n,skip:r}=e;let o,i=!1;const a=()=>{s.dispose??=t.subscribe(e=>{const t=n(e);s.effect(o,t),o=t})},s={effect:mc,dispose:null,onMount:e=>()=>{if(!e)return i||(i=!0,o=n(t.value)),a(),()=>{s.dispose?.(),s.dispose=null}}};return r||(i=!0,o=n(t.value),a()),s}const vc=({params:e,store:t,seriesConfig:n,svgRef:o,instance:a})=>{const{xAxis:s,yAxis:l,dataset:c,onHighlightedAxisChange:u}=e,d=(0,S.d)(t,D.VT),p=(0,S.d)(t,M),f=(0,S.d)(t,P),{axis:h,axisIds:m}=(0,S.d)(t,Zo),{axis:g,axisIds:v}=(0,S.d)(t,Qo);e.highlightedAxis,es(()=>{void 0!==e.highlightedAxis&&t.update(t=>t.controlledCartesianAxisHighlight===e.highlightedAxis?t:(0,r.A)({},t,{controlledCartesianAxisHighlight:e.highlightedAxis}))},[t,e.highlightedAxis]);const y=i.useRef(!0);i.useEffect(()=>{y.current?y.current=!1:t.update(e=>(0,r.A)({},e,{cartesianAxis:(0,r.A)({},e.cartesianAxis,{x:pc(s,c),y:fc(l,c)})}))},[n,d,s,l,c,t]);const b=m[0],x=v[0];!function(e,t,n,r){const o=ia(gc,{store:e,selector:t,skip:r}).current;o.effect=(e,t)=>{Object.is(e,t)||(e.length===t.length?e?.some(({axisId:e,dataIndex:n},r)=>t[r].axisId!==e||t[r].dataIndex!==n)&&u(t):u(t))},i.useEffect(o.onMount(r),[r])}(t,Bi,0,!u);const A=function(e){return void 0!==e.setPointerCoordinate}(a);return i.useEffect(()=>{const t=o.current;if(!f||!A||!t||e.disableAxisListener)return()=>{};const n=a.addInteractionListener("moveEnd",e=>{e.detail.activeGestures.pan||a.cleanInteraction()}),r=a.addInteractionListener("panEnd",e=>{e.detail.activeGestures.move||a.cleanInteraction()}),i=a.addInteractionListener("quickPressEnd",e=>{e.detail.activeGestures.move||e.detail.activeGestures.pan||a.cleanInteraction()}),s=e=>{const n=e.detail.srcEvent,r=e.detail.target,o=hc(t,n);e.detail.srcEvent.buttons>=1&&r?.hasPointerCapture(e.detail.srcEvent.pointerId)&&!r?.closest("[data-charts-zoom-slider]")&&r?.releasePointerCapture(e.detail.srcEvent.pointerId),a.isPointInside(o.x,o.y,r)?a.setPointerCoordinate(o):a.cleanInteraction?.()},l=a.addInteractionListener("move",s),c=a.addInteractionListener("pan",s),u=a.addInteractionListener("quickPress",s);return()=>{l.cleanup(),n.cleanup(),c.cleanup(),r.cleanup(),u.cleanup(),i.cleanup()}},[o,t,h,b,g,x,a,e.disableAxisListener,f,A]),i.useEffect(()=>{const t=o.current,n=e.onAxisClick;if(null===t||!n)return()=>{};const r=a.addInteractionListener("tap",e=>{let r=null,o=!1;const i=hc(t,e.detail.srcEvent),a=_i(h[b],i.x);o=-1!==a,r=o?a:_i(g[x],i.y);const s=o?m[0]:v[0];if(null==r||-1===r)return;const l=(o?h:g)[s].data[r],c={};Object.keys(p).filter(e=>["bar","line"].includes(e)).forEach(e=>{p[e]?.seriesOrder.forEach(t=>{const n=p[e].series[t],i=n.xAxisId,a=n.yAxisId,l=o?i:a;void 0!==l&&l!==s||(c[t]=n.data[r])})}),n(e.detail.srcEvent,{dataIndex:r,axisValue:l,seriesValues:c})});return()=>{r.cleanup()}},[e.onAxisClick,p,o,h,m,g,v,b,x,a]),{}};vc.params={xAxis:!0,yAxis:!0,dataset:!0,onAxisClick:!0,disableAxisListener:!0,onHighlightedAxisChange:!0,highlightedAxis:!0},vc.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{colors:e.colors??uc,theme:e.theme??"light",defaultizedXAxis:pc(e.xAxis,e.dataset),defaultizedYAxis:fc(e.yAxis,e.dataset)}),vc.getInitialState=e=>(0,r.A)({cartesianAxis:{x:e.defaultizedXAxis,y:e.defaultizedYAxis}},void 0===e.highlightedAxis?{}:{controlledCartesianAxisHighlight:e.highlightedAxis});const yc=Object.is;function bc(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;let n=0,r=0;for(const r in e){if(n+=1,!yc(e[r],t[r]))return!1;if(!(r in t))return!1}for(const e in t)r+=1;return n===r}const xc=({store:e,params:t})=>(t.highlightedItem,es(()=>{e.update(e=>e.highlight.item===t.highlightedItem?e:(0,r.A)({},e,{highlight:(0,r.A)({},e.highlight,{item:t.highlightedItem})}))},[e,t.highlightedItem]),{instance:{clearHighlight:Ss(()=>{t.onHighlightChange?.(null),e.update(e=>(0,r.A)({},e,{highlight:{item:null}}))}),setHighlight:Ss(n=>{bc(e.getSnapshot().highlight.item,n)||(t.onHighlightChange?.(n),e.update(e=>(0,r.A)({},e,{highlight:{item:n}})))})}});xc.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{highlightedItem:e.highlightedItem??null}),xc.getInitialState=e=>({highlight:{item:e.highlightedItem}}),xc.params={highlightedItem:!0,onHighlightChange:!0};const Ac=({store:e})=>{const t=Ss(function(){e.update(e=>(0,r.A)({},e,{interaction:{pointer:null,item:null}}))}),n=Ss(function(t){e.update(e=>{const n=e.interaction.item;return t?null===n||Object.keys(t).some(e=>t[e]!==n[e])?e:(0,r.A)({},e,{interaction:(0,r.A)({},e.interaction,{item:null})}):null===n?e:(0,r.A)({},e,{interaction:(0,r.A)({},e.interaction,{item:null})})})});return{instance:{cleanInteraction:t,setItemInteraction:Ss(function(t){e.update(e=>bc(e.interaction.item,t)?e:(0,r.A)({},e,{interaction:(0,r.A)({},e.interaction,{item:t})}))}),removeItemInteraction:n,setPointerCoordinate:Ss(function(t){e.update(e=>(0,r.A)({},e,{interaction:(0,r.A)({},e.interaction,{pointer:t})}))})}}};function wc(e,t,n){const r=void 0!==t&&e[t]?Object.keys(e).indexOf(t):0,o=void 0!==t&&void 0!==n&&e[t]&&e[t].series[n]?e[t].seriesOrder.indexOf(n):-1,i=Object.keys(e).filter(e=>"sankey"!==e);for(let t=0;t<i.length;t+=1){const n=(r+t)%i.length,a=e[i[n]];for(let e=0===t?o+1:0;e<a.seriesOrder.length;e+=1)if(a.series[a.seriesOrder[e]].data.length>0)return{type:i[n],seriesId:a.seriesOrder[e]}}const a=r,s=e[i[a]],l=o;for(let e=0;e<l;e+=1)if(s.series[s.seriesOrder[e]].data.length>0)return{type:i[a],seriesId:s.seriesOrder[e]};return null}function kc(e,t,n){const r=void 0!==t&&e[t]?Object.keys(e).indexOf(t):0,o=void 0!==t&&void 0!==n&&e[t]&&e[t].series[n]?e[t].seriesOrder.indexOf(n):1,i=Object.keys(e).filter(e=>"sankey"!==e);for(let t=0;t<i.length;t+=1){const n=(i.length+r-t)%i.length,a=e[i[n]],s=0===t?o+1:a.seriesOrder.length;for(let e=1;e<s;e+=1){const t=(a.seriesOrder.length+o-e)%a.seriesOrder.length;if(a.series[a.seriesOrder[t]].data.length>0)return{type:i[n],seriesId:a.seriesOrder[t]}}}const a=r,s=e[i[a]];for(let e=s.seriesOrder.length-1;e>o;e-=1)if(s.series[s.seriesOrder[e]].data.length>0)return{type:i[a],seriesId:s.seriesOrder[e]};return null}function Sc(e,t,n){if("sankey"===t)return!1;const r=e[t]?.series[n]?.data;return r&&r.length>0}Ac.getInitialState=()=>({interaction:{item:null,pointer:null}}),Ac.params={};const Cc=({params:e,store:t,svgRef:n})=>{const o=Ss(function(){t.update(e=>{let{type:t,seriesId:n}=e.keyboardNavigation.item??{};if(void 0===t||"sankey"===t||void 0===n||!Sc(e.series.processedSeries,t,n)){const o=wc(e.series.processedSeries,t,n);if(null===o)return(0,r.A)({},e,{keyboardNavigation:(0,r.A)({},e.keyboardNavigation,{item:null})});t=o.type,n=o.seriesId}const o=e.series.processedSeries[t].series[n].data.length;return(0,r.A)({},e,{keyboardNavigation:(0,r.A)({},e.keyboardNavigation,{item:{type:t,seriesId:n,dataIndex:((e.keyboardNavigation.item?.dataIndex??-1)+1)%o}})})})}),a=Ss(function(){t.update(e=>{let{type:t,seriesId:n}=e.keyboardNavigation.item??{};if(void 0===t||"sankey"===t||void 0===n||!Sc(e.series.processedSeries,t,n)){const o=kc(e.series.processedSeries,t,n);if(null===o)return(0,r.A)({},e,{keyboardNavigation:(0,r.A)({},e.keyboardNavigation,{item:null})});t=o.type,n=o.seriesId}const o=e.series.processedSeries[t].series[n].data.length;return(0,r.A)({},e,{keyboardNavigation:(0,r.A)({},e.keyboardNavigation,{item:{type:t,seriesId:n,dataIndex:(o+(e.keyboardNavigation.item?.dataIndex??1)-1)%o}})})})}),s=Ss(function(){let e=!1;return t.update(t=>{let{type:n,seriesId:o}=t.keyboardNavigation.item??{};const i=kc(t.series.processedSeries,n,o);if(null===i)return(0,r.A)({},t,{keyboardNavigation:(0,r.A)({},t.keyboardNavigation,{item:null})});n=i.type,o=i.seriesId;const a=t.series.processedSeries[n].series[o].data.length;return e=!0,(0,r.A)({},t,{keyboardNavigation:(0,r.A)({},t.keyboardNavigation,{item:{type:n,seriesId:o,dataIndex:Math.min(a-1,t.keyboardNavigation.item?.dataIndex??0)}})})}),e}),l=Ss(function(){let e=!1;return t.update(t=>{let{type:n,seriesId:o}=t.keyboardNavigation.item??{};const i=wc(t.series.processedSeries,n,o);if(null===i)return(0,r.A)({},t,{keyboardNavigation:(0,r.A)({},t.keyboardNavigation,{item:null})});n=i.type,o=i.seriesId;const a=t.series.processedSeries[n].series[o].data.length;return e=!0,(0,r.A)({},t,{keyboardNavigation:(0,r.A)({},t.keyboardNavigation,{item:{type:n,seriesId:o,dataIndex:Math.min(a-1,t.keyboardNavigation.item?.dataIndex??0)}})})}),e}),c=Ss(function(){t.update(e=>null===e.keyboardNavigation.item?e:(0,r.A)({},e,{keyboardNavigation:(0,r.A)({},e.keyboardNavigation,{item:null})}))});return i.useEffect(()=>{const t=n.current;if(t&&e.enableKeyboardNavigation)return t.addEventListener("keydown",r),t.addEventListener("blur",c),()=>{t.removeEventListener("keydown",r),t.removeEventListener("blur",c)};function r(e){switch(e.key){case"ArrowRight":o();break;case"ArrowLeft":a();break;case"ArrowDown":s()&&e.preventDefault();break;case"ArrowUp":l()&&e.preventDefault()}}},[n,o,a,c,s,l,e.enableKeyboardNavigation]),es(()=>t.update(t=>t.keyboardNavigation.enableKeyboardNavigation===e.enableKeyboardNavigation?t:(0,r.A)({},t,{keyboardNavigation:(0,r.A)({},t.keyboardNavigation,{enableKeyboardNavigation:!!e.enableKeyboardNavigation})})),[t,e.enableKeyboardNavigation]),{instance:{}}};Cc.getInitialState=e=>({keyboardNavigation:{item:null,enableKeyboardNavigation:!!e.enableKeyboardNavigation}}),Cc.params={enableKeyboardNavigation:!0};const Ec=134217729;function Mc(e,t,n,r,o){let i,a,s,l,c=t[0],u=r[0],d=0,p=0;u>c==u>-c?(i=c,c=t[++d]):(i=u,u=r[++p]);let f=0;if(d<e&&p<n)for(u>c==u>-c?(a=c+i,s=i-(a-c),c=t[++d]):(a=u+i,s=i-(a-u),u=r[++p]),i=a,0!==s&&(o[f++]=s);d<e&&p<n;)u>c==u>-c?(a=i+c,l=a-i,s=i-(a-l)+(c-l),c=t[++d]):(a=i+u,l=a-i,s=i-(a-l)+(u-l),u=r[++p]),i=a,0!==s&&(o[f++]=s);for(;d<e;)a=i+c,l=a-i,s=i-(a-l)+(c-l),c=t[++d],i=a,0!==s&&(o[f++]=s);for(;p<n;)a=i+u,l=a-i,s=i-(a-l)+(u-l),u=r[++p],i=a,0!==s&&(o[f++]=s);return 0===i&&0!==f||(o[f++]=i),f}function Rc(e){return new Float64Array(e)}const Ic=Rc(4),Tc=Rc(8),Pc=Rc(12),Oc=Rc(16),Lc=Rc(4);function _c(e,t,n,r,o,i){const a=(t-i)*(n-o),s=(e-o)*(r-i),l=a-s,c=Math.abs(a+s);return Math.abs(l)>=33306690738754716e-32*c?l:-function(e,t,n,r,o,i,a){let s,l,c,u,d,p,f,h,m,g,v,y,b,x,A,w,k,S;const C=e-o,E=n-o,M=t-i,R=r-i;x=C*R,p=Ec*C,f=p-(p-C),h=C-f,p=Ec*R,m=p-(p-R),g=R-m,A=h*g-(x-f*m-h*m-f*g),w=M*E,p=Ec*M,f=p-(p-M),h=M-f,p=Ec*E,m=p-(p-E),g=E-m,k=h*g-(w-f*m-h*m-f*g),v=A-k,d=A-v,Ic[0]=A-(v+d)+(d-k),y=x+v,d=y-x,b=x-(y-d)+(v-d),v=b-w,d=b-v,Ic[1]=b-(v+d)+(d-w),S=y+v,d=S-y,Ic[2]=y-(S-d)+(v-d),Ic[3]=S;let I=function(e,t){let n=t[0];for(let e=1;e<4;e++)n+=t[e];return n}(0,Ic),T=22204460492503146e-32*a;if(I>=T||-I>=T)return I;if(d=e-C,s=e-(C+d)+(d-o),d=n-E,c=n-(E+d)+(d-o),d=t-M,l=t-(M+d)+(d-i),d=r-R,u=r-(R+d)+(d-i),0===s&&0===l&&0===c&&0===u)return I;if(T=11093356479670487e-47*a+33306690738754706e-32*Math.abs(I),I+=C*u+R*s-(M*c+E*l),I>=T||-I>=T)return I;x=s*R,p=Ec*s,f=p-(p-s),h=s-f,p=Ec*R,m=p-(p-R),g=R-m,A=h*g-(x-f*m-h*m-f*g),w=l*E,p=Ec*l,f=p-(p-l),h=l-f,p=Ec*E,m=p-(p-E),g=E-m,k=h*g-(w-f*m-h*m-f*g),v=A-k,d=A-v,Lc[0]=A-(v+d)+(d-k),y=x+v,d=y-x,b=x-(y-d)+(v-d),v=b-w,d=b-v,Lc[1]=b-(v+d)+(d-w),S=y+v,d=S-y,Lc[2]=y-(S-d)+(v-d),Lc[3]=S;const P=Mc(4,Ic,4,Lc,Tc);x=C*u,p=Ec*C,f=p-(p-C),h=C-f,p=Ec*u,m=p-(p-u),g=u-m,A=h*g-(x-f*m-h*m-f*g),w=M*c,p=Ec*M,f=p-(p-M),h=M-f,p=Ec*c,m=p-(p-c),g=c-m,k=h*g-(w-f*m-h*m-f*g),v=A-k,d=A-v,Lc[0]=A-(v+d)+(d-k),y=x+v,d=y-x,b=x-(y-d)+(v-d),v=b-w,d=b-v,Lc[1]=b-(v+d)+(d-w),S=y+v,d=S-y,Lc[2]=y-(S-d)+(v-d),Lc[3]=S;const O=Mc(P,Tc,4,Lc,Pc);x=s*u,p=Ec*s,f=p-(p-s),h=s-f,p=Ec*u,m=p-(p-u),g=u-m,A=h*g-(x-f*m-h*m-f*g),w=l*c,p=Ec*l,f=p-(p-l),h=l-f,p=Ec*c,m=p-(p-c),g=c-m,k=h*g-(w-f*m-h*m-f*g),v=A-k,d=A-v,Lc[0]=A-(v+d)+(d-k),y=x+v,d=y-x,b=x-(y-d)+(v-d),v=b-w,d=b-v,Lc[1]=b-(v+d)+(d-w),S=y+v,d=S-y,Lc[2]=y-(S-d)+(v-d),Lc[3]=S;const L=Mc(O,Pc,4,Lc,Oc);return Oc[L-1]}(e,t,n,r,o,i,c)}Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(8),Rc(8),Rc(8),Rc(4),Rc(8),Rc(8),Rc(8),Rc(12),Rc(192),Rc(192),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(8),Rc(8),Rc(8),Rc(8),Rc(8),Rc(8),Rc(8),Rc(8),Rc(8),Rc(4),Rc(4),Rc(4),Rc(8),Rc(16),Rc(16),Rc(16),Rc(32),Rc(32),Rc(48),Rc(64),Rc(1152),Rc(1152),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(4),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(24),Rc(1152),Rc(1152),Rc(1152),Rc(1152),Rc(1152),Rc(2304),Rc(2304),Rc(3456),Rc(5760),Rc(8),Rc(8),Rc(8),Rc(16),Rc(24),Rc(48),Rc(48),Rc(96),Rc(192),Rc(384),Rc(384),Rc(384),Rc(768),Rc(96),Rc(96),Rc(96),Rc(1152);const Nc=Math.pow(2,-52),jc=new Uint32Array(512);class Dc{static from(e,t=Hc,n=Vc){const r=e.length,o=new Float64Array(2*r);for(let i=0;i<r;i++){const r=e[i];o[2*i]=t(r),o[2*i+1]=n(r)}return new Dc(o)}constructor(e){const t=e.length>>1;if(t>0&&"number"!=typeof e[0])throw new Error("Expected coords to contain numbers.");this.coords=e;const n=Math.max(2*t-5,0);this._triangles=new Uint32Array(3*n),this._halfedges=new Int32Array(3*n),this._hashSize=Math.ceil(Math.sqrt(t)),this._hullPrev=new Uint32Array(t),this._hullNext=new Uint32Array(t),this._hullTri=new Uint32Array(t),this._hullHash=new Int32Array(this._hashSize),this._ids=new Uint32Array(t),this._dists=new Float64Array(t),this.update()}update(){const{coords:e,_hullPrev:t,_hullNext:n,_hullTri:r,_hullHash:o}=this,i=e.length>>1;let a=1/0,s=1/0,l=-1/0,c=-1/0;for(let t=0;t<i;t++){const n=e[2*t],r=e[2*t+1];n<a&&(a=n),r<s&&(s=r),n>l&&(l=n),r>c&&(c=r),this._ids[t]=t}const u=(a+l)/2,d=(s+c)/2;let p,f,h;for(let t=0,n=1/0;t<i;t++){const r=Fc(u,d,e[2*t],e[2*t+1]);r<n&&(p=t,n=r)}const m=e[2*p],g=e[2*p+1];for(let t=0,n=1/0;t<i;t++){if(t===p)continue;const r=Fc(m,g,e[2*t],e[2*t+1]);r<n&&r>0&&(f=t,n=r)}let v=e[2*f],y=e[2*f+1],b=1/0;for(let t=0;t<i;t++){if(t===p||t===f)continue;const n=zc(m,g,v,y,e[2*t],e[2*t+1]);n<b&&(h=t,b=n)}let x=e[2*h],A=e[2*h+1];if(b===1/0){for(let t=0;t<i;t++)this._dists[t]=e[2*t]-e[0]||e[2*t+1]-e[1];Bc(this._ids,this._dists,0,i-1);const t=new Uint32Array(i);let n=0;for(let e=0,r=-1/0;e<i;e++){const o=this._ids[e],i=this._dists[o];i>r&&(t[n++]=o,r=i)}return this.hull=t.subarray(0,n),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(_c(m,g,v,y,x,A)<0){const e=f,t=v,n=y;f=h,v=x,y=A,h=e,x=t,A=n}const w=function(e,t,n,r,o,i){const a=n-e,s=r-t,l=o-e,c=i-t,u=a*a+s*s,d=l*l+c*c,p=.5/(a*c-s*l);return{x:e+(c*u-s*d)*p,y:t+(a*d-l*u)*p}}(m,g,v,y,x,A);this._cx=w.x,this._cy=w.y;for(let t=0;t<i;t++)this._dists[t]=Fc(e[2*t],e[2*t+1],w.x,w.y);Bc(this._ids,this._dists,0,i-1),this._hullStart=p;let k=3;n[p]=t[h]=f,n[f]=t[p]=h,n[h]=t[f]=p,r[p]=0,r[f]=1,r[h]=2,o.fill(-1),o[this._hashKey(m,g)]=p,o[this._hashKey(v,y)]=f,o[this._hashKey(x,A)]=h,this.trianglesLen=0,this._addTriangle(p,f,h,-1,-1,-1);for(let i,a,s=0;s<this._ids.length;s++){const l=this._ids[s],c=e[2*l],u=e[2*l+1];if(s>0&&Math.abs(c-i)<=Nc&&Math.abs(u-a)<=Nc)continue;if(i=c,a=u,l===p||l===f||l===h)continue;let d=0;for(let e=0,t=this._hashKey(c,u);e<this._hashSize&&(d=o[(t+e)%this._hashSize],-1===d||d===n[d]);e++);d=t[d];let m,g=d;for(;m=n[g],_c(c,u,e[2*g],e[2*g+1],e[2*m],e[2*m+1])>=0;)if(g=m,g===d){g=-1;break}if(-1===g)continue;let v=this._addTriangle(g,l,n[g],-1,-1,r[g]);r[l]=this._legalize(v+2),r[g]=v,k++;let y=n[g];for(;m=n[y],_c(c,u,e[2*y],e[2*y+1],e[2*m],e[2*m+1])<0;)v=this._addTriangle(y,l,m,r[l],-1,r[y]),r[l]=this._legalize(v+2),n[y]=y,k--,y=m;if(g===d)for(;m=t[g],_c(c,u,e[2*m],e[2*m+1],e[2*g],e[2*g+1])<0;)v=this._addTriangle(m,l,g,-1,r[g],r[m]),this._legalize(v+2),r[m]=v,n[g]=g,k--,g=m;this._hullStart=t[l]=g,n[g]=t[y]=l,n[l]=y,o[this._hashKey(c,u)]=l,o[this._hashKey(e[2*g],e[2*g+1])]=g}this.hull=new Uint32Array(k);for(let e=0,t=this._hullStart;e<k;e++)this.hull[e]=t,t=n[t];this.triangles=this._triangles.subarray(0,this.trianglesLen),this.halfedges=this._halfedges.subarray(0,this.trianglesLen)}_hashKey(e,t){return Math.floor(function(e,t){const n=e/(Math.abs(e)+Math.abs(t));return(t>0?3-n:1+n)/4}(e-this._cx,t-this._cy)*this._hashSize)%this._hashSize}_legalize(e){const{_triangles:t,_halfedges:n,coords:r}=this;let o=0,i=0;for(;;){const a=n[e],s=e-e%3;if(i=s+(e+2)%3,-1===a){if(0===o)break;e=jc[--o];continue}const l=a-a%3,c=s+(e+1)%3,u=l+(a+2)%3,d=t[i],p=t[e],f=t[c],h=t[u];if($c(r[2*d],r[2*d+1],r[2*p],r[2*p+1],r[2*f],r[2*f+1],r[2*h],r[2*h+1])){t[e]=h,t[a]=d;const r=n[u];if(-1===r){let t=this._hullStart;do{if(this._hullTri[t]===u){this._hullTri[t]=e;break}t=this._hullPrev[t]}while(t!==this._hullStart)}this._link(e,r),this._link(a,n[i]),this._link(i,u);const s=l+(a+1)%3;o<jc.length&&(jc[o++]=s)}else{if(0===o)break;e=jc[--o]}}return i}_link(e,t){this._halfedges[e]=t,-1!==t&&(this._halfedges[t]=e)}_addTriangle(e,t,n,r,o,i){const a=this.trianglesLen;return this._triangles[a]=e,this._triangles[a+1]=t,this._triangles[a+2]=n,this._link(a,r),this._link(a+1,o),this._link(a+2,i),this.trianglesLen+=3,a}}function Fc(e,t,n,r){const o=e-n,i=t-r;return o*o+i*i}function $c(e,t,n,r,o,i,a,s){const l=e-a,c=t-s,u=n-a,d=r-s,p=o-a,f=i-s,h=u*u+d*d,m=p*p+f*f;return l*(d*m-h*f)-c*(u*m-h*p)+(l*l+c*c)*(u*f-d*p)<0}function zc(e,t,n,r,o,i){const a=n-e,s=r-t,l=o-e,c=i-t,u=a*a+s*s,d=l*l+c*c,p=.5/(a*c-s*l),f=(c*u-s*d)*p,h=(a*d-l*u)*p;return f*f+h*h}function Bc(e,t,n,r){if(r-n<=20)for(let o=n+1;o<=r;o++){const r=e[o],i=t[r];let a=o-1;for(;a>=n&&t[e[a]]>i;)e[a+1]=e[a--];e[a+1]=r}else{let o=n+1,i=r;Wc(e,n+r>>1,o),t[e[n]]>t[e[r]]&&Wc(e,n,r),t[e[o]]>t[e[r]]&&Wc(e,o,r),t[e[n]]>t[e[o]]&&Wc(e,n,o);const a=e[o],s=t[a];for(;;){do{o++}while(t[e[o]]<s);do{i--}while(t[e[i]]>s);if(i<o)break;Wc(e,o,i)}e[n+1]=e[i],e[i]=a,r-o+1>=i-n?(Bc(e,t,o,r),Bc(e,t,n,i-1)):(Bc(e,t,n,i-1),Bc(e,t,o,r))}}function Wc(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Hc(e){return e[0]}function Vc(e){return e[1]}const Uc=1e-6;class qc{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(e,t){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(e,t){this._+=`L${this._x1=+e},${this._y1=+t}`}arc(e,t,n){const r=(e=+e)+(n=+n),o=t=+t;if(n<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${o}`:(Math.abs(this._x1-r)>Uc||Math.abs(this._y1-o)>Uc)&&(this._+="L"+r+","+o),n&&(this._+=`A${n},${n},0,1,1,${e-n},${t}A${n},${n},0,1,1,${this._x1=r},${this._y1=o}`)}rect(e,t,n,r){this._+=`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${+n}v${+r}h${-n}Z`}value(){return this._||null}}class Gc{constructor(){this._=[]}moveTo(e,t){this._.push([e,t])}closePath(){this._.push(this._[0].slice())}lineTo(e,t){this._.push([e,t])}value(){return this._.length?this._:null}}class Kc{constructor(e,[t,n,r,o]=[0,0,960,500]){if(!((r=+r)>=(t=+t)&&(o=+o)>=(n=+n)))throw new Error("invalid bounds");this.delaunay=e,this._circumcenters=new Float64Array(2*e.points.length),this.vectors=new Float64Array(2*e.points.length),this.xmax=r,this.xmin=t,this.ymax=o,this.ymin=n,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:e,hull:t,triangles:n},vectors:r}=this;let o,i;const a=this.circumcenters=this._circumcenters.subarray(0,n.length/3*2);for(let r,s,l=0,c=0,u=n.length;l<u;l+=3,c+=2){const u=2*n[l],d=2*n[l+1],p=2*n[l+2],f=e[u],h=e[u+1],m=e[d],g=e[d+1],v=e[p],y=e[p+1],b=m-f,x=g-h,A=v-f,w=y-h,k=2*(b*w-x*A);if(Math.abs(k)<1e-9){if(void 0===o){o=i=0;for(const n of t)o+=e[2*n],i+=e[2*n+1];o/=t.length,i/=t.length}const n=1e9*Math.sign((o-f)*w-(i-h)*A);r=(f+v)/2-n*w,s=(h+y)/2+n*A}else{const e=1/k,t=b*b+x*x,n=A*A+w*w;r=f+(w*t-x*n)*e,s=h+(b*n-A*t)*e}a[c]=r,a[c+1]=s}let s,l,c,u=t[t.length-1],d=4*u,p=e[2*u],f=e[2*u+1];r.fill(0);for(let n=0;n<t.length;++n)u=t[n],s=d,l=p,c=f,d=4*u,p=e[2*u],f=e[2*u+1],r[s+2]=r[d]=c-f,r[s+3]=r[d+1]=p-l}render(e){const t=null==e?e=new qc:void 0,{delaunay:{halfedges:n,inedges:r,hull:o},circumcenters:i,vectors:a}=this;if(o.length<=1)return null;for(let t=0,r=n.length;t<r;++t){const r=n[t];if(r<t)continue;const o=2*Math.floor(t/3),a=2*Math.floor(r/3),s=i[o],l=i[o+1],c=i[a],u=i[a+1];this._renderSegment(s,l,c,u,e)}let s,l=o[o.length-1];for(let t=0;t<o.length;++t){s=l,l=o[t];const n=2*Math.floor(r[l]/3),c=i[n],u=i[n+1],d=4*s,p=this._project(c,u,a[d+2],a[d+3]);p&&this._renderSegment(c,u,p[0],p[1],e)}return t&&t.value()}renderBounds(e){const t=null==e?e=new qc:void 0;return e.rect(this.xmin,this.ymin,this.xmax-this.xmin,this.ymax-this.ymin),t&&t.value()}renderCell(e,t){const n=null==t?t=new qc:void 0,r=this._clip(e);if(null===r||!r.length)return;t.moveTo(r[0],r[1]);let o=r.length;for(;r[0]===r[o-2]&&r[1]===r[o-1]&&o>1;)o-=2;for(let e=2;e<o;e+=2)r[e]===r[e-2]&&r[e+1]===r[e-1]||t.lineTo(r[e],r[e+1]);return t.closePath(),n&&n.value()}*cellPolygons(){const{delaunay:{points:e}}=this;for(let t=0,n=e.length/2;t<n;++t){const e=this.cellPolygon(t);e&&(e.index=t,yield e)}}cellPolygon(e){const t=new Gc;return this.renderCell(e,t),t.value()}_renderSegment(e,t,n,r,o){let i;const a=this._regioncode(e,t),s=this._regioncode(n,r);0===a&&0===s?(o.moveTo(e,t),o.lineTo(n,r)):(i=this._clipSegment(e,t,n,r,a,s))&&(o.moveTo(i[0],i[1]),o.lineTo(i[2],i[3]))}contains(e,t,n){return(t=+t)==t&&(n=+n)==n&&this.delaunay._step(e,t,n)===e}*neighbors(e){const t=this._clip(e);if(t)for(const n of this.delaunay.neighbors(e)){const e=this._clip(n);if(e)e:for(let r=0,o=t.length;r<o;r+=2)for(let i=0,a=e.length;i<a;i+=2)if(t[r]===e[i]&&t[r+1]===e[i+1]&&t[(r+2)%o]===e[(i+a-2)%a]&&t[(r+3)%o]===e[(i+a-1)%a]){yield n;break e}}}_cell(e){const{circumcenters:t,delaunay:{inedges:n,halfedges:r,triangles:o}}=this,i=n[e];if(-1===i)return null;const a=[];let s=i;do{const n=Math.floor(s/3);if(a.push(t[2*n],t[2*n+1]),s=s%3==2?s-2:s+1,o[s]!==e)break;s=r[s]}while(s!==i&&-1!==s);return a}_clip(e){if(0===e&&1===this.delaunay.hull.length)return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];const t=this._cell(e);if(null===t)return null;const{vectors:n}=this,r=4*e;return this._simplify(n[r]||n[r+1]?this._clipInfinite(e,t,n[r],n[r+1],n[r+2],n[r+3]):this._clipFinite(e,t))}_clipFinite(e,t){const n=t.length;let r,o,i,a,s=null,l=t[n-2],c=t[n-1],u=this._regioncode(l,c),d=0;for(let p=0;p<n;p+=2)if(r=l,o=c,l=t[p],c=t[p+1],i=u,u=this._regioncode(l,c),0===i&&0===u)a=d,d=0,s?s.push(l,c):s=[l,c];else{let t,n,p,f,h;if(0===i){if(null===(t=this._clipSegment(r,o,l,c,i,u)))continue;[n,p,f,h]=t}else{if(null===(t=this._clipSegment(l,c,r,o,u,i)))continue;[f,h,n,p]=t,a=d,d=this._edgecode(n,p),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(n,p):s=[n,p]}a=d,d=this._edgecode(f,h),a&&d&&this._edge(e,a,d,s,s.length),s?s.push(f,h):s=[f,h]}if(s)a=d,d=this._edgecode(s[0],s[1]),a&&d&&this._edge(e,a,d,s,s.length);else if(this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2))return[this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax,this.xmin,this.ymin];return s}_clipSegment(e,t,n,r,o,i){const a=o<i;for(a&&([e,t,n,r,o,i]=[n,r,e,t,i,o]);;){if(0===o&&0===i)return a?[n,r,e,t]:[e,t,n,r];if(o&i)return null;let s,l,c=o||i;8&c?(s=e+(n-e)*(this.ymax-t)/(r-t),l=this.ymax):4&c?(s=e+(n-e)*(this.ymin-t)/(r-t),l=this.ymin):2&c?(l=t+(r-t)*(this.xmax-e)/(n-e),s=this.xmax):(l=t+(r-t)*(this.xmin-e)/(n-e),s=this.xmin),o?(e=s,t=l,o=this._regioncode(e,t)):(n=s,r=l,i=this._regioncode(n,r))}}_clipInfinite(e,t,n,r,o,i){let a,s=Array.from(t);if((a=this._project(s[0],s[1],n,r))&&s.unshift(a[0],a[1]),(a=this._project(s[s.length-2],s[s.length-1],o,i))&&s.push(a[0],a[1]),s=this._clipFinite(e,s))for(let t,n=0,r=s.length,o=this._edgecode(s[r-2],s[r-1]);n<r;n+=2)t=o,o=this._edgecode(s[n],s[n+1]),t&&o&&(n=this._edge(e,t,o,s,n),r=s.length);else this.contains(e,(this.xmin+this.xmax)/2,(this.ymin+this.ymax)/2)&&(s=[this.xmin,this.ymin,this.xmax,this.ymin,this.xmax,this.ymax,this.xmin,this.ymax]);return s}_edge(e,t,n,r,o){for(;t!==n;){let n,i;switch(t){case 5:t=4;continue;case 4:t=6,n=this.xmax,i=this.ymin;break;case 6:t=2;continue;case 2:t=10,n=this.xmax,i=this.ymax;break;case 10:t=8;continue;case 8:t=9,n=this.xmin,i=this.ymax;break;case 9:t=1;continue;case 1:t=5,n=this.xmin,i=this.ymin}r[o]===n&&r[o+1]===i||!this.contains(e,n,i)||(r.splice(o,0,n,i),o+=2)}return o}_project(e,t,n,r){let o,i,a,s=1/0;if(r<0){if(t<=this.ymin)return null;(o=(this.ymin-t)/r)<s&&(a=this.ymin,i=e+(s=o)*n)}else if(r>0){if(t>=this.ymax)return null;(o=(this.ymax-t)/r)<s&&(a=this.ymax,i=e+(s=o)*n)}if(n>0){if(e>=this.xmax)return null;(o=(this.xmax-e)/n)<s&&(i=this.xmax,a=t+(s=o)*r)}else if(n<0){if(e<=this.xmin)return null;(o=(this.xmin-e)/n)<s&&(i=this.xmin,a=t+(s=o)*r)}return[i,a]}_edgecode(e,t){return(e===this.xmin?1:e===this.xmax?2:0)|(t===this.ymin?4:t===this.ymax?8:0)}_regioncode(e,t){return(e<this.xmin?1:e>this.xmax?2:0)|(t<this.ymin?4:t>this.ymax?8:0)}_simplify(e){if(e&&e.length>4){for(let t=0;t<e.length;t+=2){const n=(t+2)%e.length,r=(t+4)%e.length;(e[t]===e[n]&&e[n]===e[r]||e[t+1]===e[n+1]&&e[n+1]===e[r+1])&&(e.splice(n,2),t-=2)}e.length||(e=null)}return e}}const Xc=2*Math.PI,Yc=Math.pow;function Zc(e){return e[0]}function Qc(e){return e[1]}function Jc(e,t,n){return[e+Math.sin(e+t)*n,t+Math.cos(e-t)*n]}class eu{static from(e,t=Zc,n=Qc,r){return new eu("length"in e?function(e,t,n,r){const o=e.length,i=new Float64Array(2*o);for(let a=0;a<o;++a){const o=e[a];i[2*a]=t.call(r,o,a,e),i[2*a+1]=n.call(r,o,a,e)}return i}(e,t,n,r):Float64Array.from(function*(e,t,n,r){let o=0;for(const i of e)yield t.call(r,i,o,e),yield n.call(r,i,o,e),++o}(e,t,n,r)))}constructor(e){this._delaunator=new Dc(e),this.inedges=new Int32Array(e.length/2),this._hullIndex=new Int32Array(e.length/2),this.points=this._delaunator.coords,this._init()}update(){return this._delaunator.update(),this._init(),this}_init(){const e=this._delaunator,t=this.points;if(e.hull&&e.hull.length>2&&function(e){const{triangles:t,coords:n}=e;for(let e=0;e<t.length;e+=3){const r=2*t[e],o=2*t[e+1],i=2*t[e+2];if((n[i]-n[r])*(n[o+1]-n[r+1])-(n[o]-n[r])*(n[i+1]-n[r+1])>1e-10)return!1}return!0}(e)){this.collinear=Int32Array.from({length:t.length/2},(e,t)=>t).sort((e,n)=>t[2*e]-t[2*n]||t[2*e+1]-t[2*n+1]);const e=this.collinear[0],n=this.collinear[this.collinear.length-1],r=[t[2*e],t[2*e+1],t[2*n],t[2*n+1]],o=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let e=0,n=t.length/2;e<n;++e){const n=Jc(t[2*e],t[2*e+1],o);t[2*e]=n[0],t[2*e+1]=n[1]}this._delaunator=new Dc(t)}else delete this.collinear;const n=this.halfedges=this._delaunator.halfedges,r=this.hull=this._delaunator.hull,o=this.triangles=this._delaunator.triangles,i=this.inedges.fill(-1),a=this._hullIndex.fill(-1);for(let e=0,t=n.length;e<t;++e){const t=o[e%3==2?e-2:e+1];-1!==n[e]&&-1!==i[t]||(i[t]=e)}for(let e=0,t=r.length;e<t;++e)a[r[e]]=e;r.length<=2&&r.length>0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],i[r[0]]=1,2===r.length&&(i[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(e){return new Kc(this,e)}*neighbors(e){const{inedges:t,hull:n,_hullIndex:r,halfedges:o,triangles:i,collinear:a}=this;if(a){const t=a.indexOf(e);return t>0&&(yield a[t-1]),void(t<a.length-1&&(yield a[t+1]))}const s=t[e];if(-1===s)return;let l=s,c=-1;do{if(yield c=i[l],l=l%3==2?l-2:l+1,i[l]!==e)return;if(l=o[l],-1===l){const t=n[(r[e]+1)%n.length];return void(t!==c&&(yield t))}}while(l!==s)}find(e,t,n=0){if((e=+e)!=e||(t=+t)!=t)return-1;const r=n;let o;for(;(o=this._step(n,e,t))>=0&&o!==n&&o!==r;)n=o;return o}_step(e,t,n){const{inedges:r,hull:o,_hullIndex:i,halfedges:a,triangles:s,points:l}=this;if(-1===r[e]||!l.length)return(e+1)%(l.length>>1);let c=e,u=Yc(t-l[2*e],2)+Yc(n-l[2*e+1],2);const d=r[e];let p=d;do{let r=s[p];const d=Yc(t-l[2*r],2)+Yc(n-l[2*r+1],2);if(d<u&&(u=d,c=r),p=p%3==2?p-2:p+1,s[p]!==e)break;if(p=a[p],-1===p){if(p=o[(i[e]+1)%o.length],p!==r&&Yc(t-l[2*p],2)+Yc(n-l[2*p+1],2)<u)return p;break}}while(p!==d);return c}render(e){const t=null==e?e=new qc:void 0,{points:n,halfedges:r,triangles:o}=this;for(let t=0,i=r.length;t<i;++t){const i=r[t];if(i<t)continue;const a=2*o[t],s=2*o[i];e.moveTo(n[a],n[a+1]),e.lineTo(n[s],n[s+1])}return this.renderHull(e),t&&t.value()}renderPoints(e,t){void 0!==t||e&&"function"==typeof e.moveTo||(t=e,e=null),t=null==t?2:+t;const n=null==e?e=new qc:void 0,{points:r}=this;for(let n=0,o=r.length;n<o;n+=2){const o=r[n],i=r[n+1];e.moveTo(o+t,i),e.arc(o,i,t,0,Xc)}return n&&n.value()}renderHull(e){const t=null==e?e=new qc:void 0,{hull:n,points:r}=this,o=2*n[0],i=n.length;e.moveTo(r[o],r[o+1]);for(let t=1;t<i;++t){const o=2*n[t];e.lineTo(r[o],r[o+1])}return e.closePath(),t&&t.value()}hullPolygon(){const e=new Gc;return this.renderHull(e),e.value()}renderTriangle(e,t){const n=null==t?t=new qc:void 0,{points:r,triangles:o}=this,i=2*o[e*=3],a=2*o[e+1],s=2*o[e+2];return t.moveTo(r[i],r[i+1]),t.lineTo(r[a],r[a+1]),t.lineTo(r[s],r[s+1]),t.closePath(),n&&n.value()}*trianglePolygons(){const{triangles:e}=this;for(let t=0,n=e.length/3;t<n;++t)yield this.trianglePolygon(t)}trianglePolygon(e){const t=new Gc;return this.renderTriangle(e,t),t.value()}}function tu(e){if(Lo(e))return t=>(e(t)??0)+e.bandwidth()/2;const t=e.domain();return t[0]===t[1]?n=>n===t[0]?e(n):NaN:t=>e(t)}const nu=({svgRef:e,params:t,store:n,instance:o})=>{const{disableVoronoi:a,voronoiMaxRadius:s,onItemClick:l}=t,c=(0,S.d)(n,D.VT),{axis:u,axisIds:d}=(0,S.d)(n,Zo),{axis:p,axisIds:f}=(0,S.d)(n,Qo),h=(0,S.d)(n,Ho),{series:m,seriesOrder:g}=(0,S.d)(n,M)?.scatter??{},v=i.useRef({}),y=i.useRef(void 0),b=i.useRef(void 0),x=d[0],A=f[0];return es(()=>{n.update(e=>e.voronoi.isVoronoiEnabled===!a?e:(0,r.A)({},e,{voronoi:{isVoronoiEnabled:!a}}))},[n,a]),es(()=>{if(h||void 0===g||void 0===m||a)return;v.current={};let e=[];g.forEach(t=>{const{data:n,xAxisId:r,yAxisId:i}=m[t],a=u[r??x].scale,s=p[i??A].scale,l=tu(a),c=tu(s),d=[],f=[];for(let e=0;e<n.length;e+=1){const{x:t,y:r}=n[e],i=l(t),a=c(r);o.isPointInside(i,a)&&(d.push(i),d.push(a),f.push(e))}v.current[t]={seriesId:t,seriesIndexes:f,startIndex:e.length,endIndex:e.length+d.length,markerSize:m[t].markerSize},e=e.concat(d)}),y.current=new eu(e),b.current=void 0},[h,x,A,m,g,u,p,c,o,a]),i.useEffect(()=>{if(null===e.current||a)return;const t=e.current;function n(e){const n=hc(t,e);if(!o.isPointInside(n.x,n.y))return b.current=void 0,"outside-chart";if(!y.current)return"no-point-found";const r=y.current.find(n.x,n.y,b.current);if(void 0===r)return"no-point-found";b.current=r;const i=Object.values(v.current).find(e=>2*r>=e.startIndex&&2*r<e.endIndex);if(void 0===i)return"no-point-found";const a=(2*r-v.current[i.seriesId].startIndex)/2,l=v.current[i.seriesId].seriesIndexes[a],c="item"===s?i.markerSize:s;if(void 0!==c){const e=y.current.points[2*r],t=y.current.points[2*r+1];if((e-n.x)**2+(t-n.y)**2>c**2)return"outside-voronoi-max-radius"}return{seriesId:i.seriesId,dataIndex:l}}const r=o.addInteractionListener("moveEnd",e=>{e.detail.activeGestures.pan||(o.cleanInteraction?.(),o.clearHighlight?.())}),i=o.addInteractionListener("panEnd",e=>{e.detail.activeGestures.move||(o.cleanInteraction?.(),o.clearHighlight?.())}),c=o.addInteractionListener("quickPressEnd",e=>{e.detail.activeGestures.move||e.detail.activeGestures.pan||(o.cleanInteraction?.(),o.clearHighlight?.())}),u=e=>{const t=n(e.detail.srcEvent);if("outside-chart"===t)return o.cleanInteraction?.(),void o.clearHighlight?.();if("outside-voronoi-max-radius"===t||"no-point-found"===t)return o.removeItemInteraction?.(),void o.clearHighlight?.();const{seriesId:r,dataIndex:i}=t;o.setItemInteraction?.({type:"scatter",seriesId:r,dataIndex:i}),o.setHighlight?.({seriesId:r,dataIndex:i})},d=o.addInteractionListener("tap",e=>{const t=n(e.detail.srcEvent);if("string"!=typeof t&&l){const{seriesId:n,dataIndex:r}=t;l(e.detail.srcEvent,{type:"scatter",seriesId:n,dataIndex:r})}}),p=o.addInteractionListener("move",u),f=o.addInteractionListener("pan",u),h=o.addInteractionListener("quickPress",u);return()=>{d.cleanup(),p.cleanup(),r.cleanup(),f.cleanup(),i.cleanup(),h.cleanup(),c.cleanup()}},[e,p,u,s,l,a,c,o]),{instance:{enableVoronoi:Ss(()=>{n.update(e=>(0,r.A)({},e,{voronoi:(0,r.A)({},e.voronoi,{isVoronoiEnabled:!0})}))}),disableVoronoi:Ss(()=>{n.update(e=>(0,r.A)({},e,{voronoi:(0,r.A)({},e.voronoi,{isVoronoiEnabled:!1})}))})}}};function ru(e,t){return void 0!==e.id?e:(0,r.A)({id:t},e)}function ou(e){return e.colorMap?(0,r.A)({},e,{colorScale:"ordinal"===e.colorMap.type&&e.data?Pt((0,r.A)({values:e.data},e.colorMap)):Ot("continuous"===e.colorMap.type?(0,r.A)({min:e.min,max:e.max},e.colorMap):e.colorMap)}):e}function iu(e,t){if(!e||0===e.length)return{axis:{},axisIds:[]};const n={},o=[];return e.forEach((e,i)=>{const a=e.dataKey,s=e.id??`defaultized-z-axis-${i}`;if(void 0===a||void 0!==e.data)return n[s]=ou(ru(e,s)),void o.push(s);if(void 0===t)throw new Error("MUI X Charts: z-axis uses `dataKey` but no `dataset` is provided.");n[s]=ou(ru((0,r.A)({},e,{data:t.map(e=>e[a])}),s)),o.push(s)}),{axis:n,axisIds:o}}nu.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{disableVoronoi:e.disableVoronoi??!e.series.some(e=>"scatter"===e.type)}),nu.getInitialState=e=>({voronoi:{isVoronoiEnabled:!e.disableVoronoi}}),nu.params={disableVoronoi:!0,voronoiMaxRadius:!0,onItemClick:!0};const au=({params:e,store:t})=>{const{zAxis:n,dataset:o}=e,a=i.useRef(!0);return i.useEffect(()=>{a.current?a.current=!1:t.update(e=>(0,r.A)({},e,{zAxis:iu(n,o)}))},[n,o,t]),{}};au.params={zAxis:!0,dataset:!0},au.getInitialState=e=>({zAxis:iu(e.zAxis,e.dataset)});const su=[au,vc,Ac,xc,nu,Cc],lu=["children","localeText","plugins","seriesConfig","slots","slotProps"];let cu=0;const uu={...a}.useId;class du{constructor(e){this.value=e,this.listeners=new Set}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.value;update=e=>{const t=e(this.value);t!==this.value&&(this.value=t,this.listeners.forEach(e=>e(t)))}}const pu=({params:e,store:t})=>{i.useEffect(()=>{t.update(t=>(0,r.A)({},t,{animation:(0,r.A)({},t.animation,{skip:e.skipAnimation})}))},[t,e.skipAnimation]);const n=i.useCallback(()=>{let e=!1;return t.update(e=>(0,r.A)({},e,{animation:(0,r.A)({},e.animation,{skipAnimationRequests:e.animation.skipAnimationRequests+1})})),()=>{e||(e=!0,t.update(e=>(0,r.A)({},e,{animation:(0,r.A)({},e.animation,{skipAnimationRequests:e.animation.skipAnimationRequests-1})})))}},[t]);return es(()=>{if("undefined"==typeof window||!window?.matchMedia)return;let e;const t=t=>{t.matches?e=n():e?.()},r=window.matchMedia("(prefers-reduced-motion)");return t(r),r.addEventListener("change",t),()=>{r.removeEventListener("change",t)}},[n,t]),{instance:{disableAnimation:n}}};function fu(e,t){return"number"==typeof e?{top:e,bottom:e,left:e,right:e}:t?(0,r.A)({},t,e):e}pu.params={skipAnimation:!0},pu.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{skipAnimation:e.skipAnimation??!1}),pu.getInitialState=({skipAnimation:e})=>("undefined"==typeof window||window,{animation:{skip:e,skipAnimationRequests:0}});const hu=({params:e,store:t,svgRef:n})=>{const o=void 0!==e.width&&void 0!==e.height,a=i.useRef({displayError:!1,initialCompute:!0,computeRun:0}),[s,l]=i.useState(0),[c,u]=i.useState(0),d=i.useCallback(()=>{const o=n?.current;if(!o)return{};const i=(l=o,function(e){return e&&e.ownerDocument||document}(l).defaultView||window).getComputedStyle(o),a=Math.floor(parseFloat(i.height))||0,s=Math.floor(parseFloat(i.width))||0;var l;return t.update(t=>t.dimensions.width===s&&t.dimensions.height===a?t:(0,r.A)({},t,{dimensions:{margin:{top:e.margin.top,right:e.margin.right,bottom:e.margin.bottom,left:e.margin.left},width:e.width??s,height:e.height??a,propsWidth:e.width,propsHeight:e.height}})),{height:a,width:s}},[t,n,e.height,e.width,e.margin.left,e.margin.right,e.margin.top,e.margin.bottom]);i.useEffect(()=>{t.update(t=>{const n=e.width??t.dimensions.width,o=e.height??t.dimensions.height;return(0,r.A)({},t,{dimensions:{margin:{top:e.margin.top,right:e.margin.right,bottom:e.margin.bottom,left:e.margin.left},width:n,height:o,propsHeight:e.height,propsWidth:e.width}})})},[t,e.height,e.width,e.margin.left,e.margin.right,e.margin.top,e.margin.bottom]),i.useEffect(()=>{a.current.displayError=!0},[]),es(()=>{if(o||!a.current.initialCompute||a.current.computeRun>10)return;const e=d();e.width!==s||e.height!==c?(a.current.computeRun+=1,void 0!==e.width&&l(e.width),void 0!==e.height&&u(e.height)):a.current.initialCompute&&(a.current.initialCompute=!1)},[c,s,d,o]),es(()=>{if(o)return()=>{};d();const e=n.current;if("undefined"==typeof ResizeObserver)return()=>{};let t;const r=new ResizeObserver(()=>{t=requestAnimationFrame(()=>{d()})});return e&&r.observe(e),()=>{t&&cancelAnimationFrame(t),e&&r.unobserve(e)}},[d,o,n]);const p=(0,S.d)(t,D.VT),f=i.useCallback(e=>e>=p.left-1&&e<=p.left+p.width,[p.left,p.width]),h=i.useCallback(e=>e>=p.top-1&&e<=p.top+p.height,[p.height,p.top]);return{instance:{isPointInside:i.useCallback((e,t,n)=>!!(n&&"closest"in n&&n.closest("[data-drawing-container]"))||f(e)&&h(t),[f,h]),isXInside:f,isYInside:h}}};hu.params={width:!0,height:!0,margin:!0},hu.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{margin:fu(e.margin,dc)}),hu.getInitialState=({width:e,height:t,margin:n})=>({dimensions:{margin:n,width:e??0,height:t??0,propsWidth:e,propsHeight:t}});const mu=({params:e,store:t})=>(es(()=>{t.update(t=>(0,r.A)({},t,{experimentalFeatures:e.experimentalFeatures}))},[t,e.experimentalFeatures]),{});mu.params={experimentalFeatures:!0},mu.getInitialState=({experimentalFeatures:e})=>({experimentalFeatures:e});let gu=0;const vu=({params:e,store:t})=>(i.useEffect(()=>{t.update(t=>void 0===e.id||e.id===t.id.providedChartId&&void 0!==t.id.chartId?t:(0,r.A)({},t,{id:(0,r.A)({},t.id,{chartId:e.id??(gu+=1,`mui-chart-${gu}`)})}))},[t,e.id]),{});vu.params={id:!0},vu.getInitialState=({id:e})=>({id:{chartId:e,providedChartId:e}});const yu=({series:e,colors:t,seriesConfig:n,dataset:r})=>{const o={};e.forEach((e,r)=>{const i=n[e.type].getSeriesWithDefaultValues(e,r,t),a=i.id;if(void 0===o[e.type]&&(o[e.type]={series:{},seriesOrder:[]}),void 0!==o[e.type]?.series[a])throw new Error(`MUI X Charts: series' id "${a}" is not unique.`);o[e.type].series[a]=i,o[e.type].seriesOrder.push(a)});const i={};return Object.keys(n).forEach(e=>{const t=o[e];void 0!==t&&(i[e]=n[e]?.seriesProcessor?.(t,r)??o[e])}),i},bu=({params:e,store:t,seriesConfig:n})=>{const{series:o,dataset:a,theme:s,colors:l}=e,c=i.useRef(!0);return i.useEffect(()=>{c.current?c.current=!1:t.update(e=>(0,r.A)({},e,{series:(0,r.A)({},e.series,{processedSeries:yu({series:o,colors:"function"==typeof l?l(s):l,seriesConfig:n,dataset:a})})}))},[l,a,o,s,n,t]),{}};bu.params={dataset:!0,series:!0,colors:!0,theme:!0};const xu=[];bu.getDefaultizedParams=({params:e})=>(0,r.A)({},e,{series:e.series?.length?e.series:xu,colors:e.colors??uc,theme:e.theme??"light"}),bu.getInitialState=({series:e=[],colors:t,theme:n,dataset:r},o,i)=>({series:{seriesConfig:i,processedSeries:yu({series:e,colors:"function"==typeof t?t(n):t,seriesConfig:i,dataset:r})}});class Au{activeGestures=(()=>new Map)();registerActiveGesture(e,t){this.activeGestures.has(e)||this.activeGestures.set(e,new Set);const n={gesture:t,element:e};this.activeGestures.get(e).add(n)}unregisterActiveGesture(e,t){const n=this.activeGestures.get(e);n&&(n.forEach(e=>{e.gesture===t&&n.delete(e)}),0===n.size&&this.activeGestures.delete(e))}getActiveGestures(e){const t=this.activeGestures.get(e);return t?Array.from(t).reduce((e,t)=>(e[t.gesture.name]=!0,e),{}):{}}isGestureActive(e,t){const n=this.activeGestures.get(e);return!!n&&Array.from(n).some(e=>e.gesture===t)}destroy(){this.activeGestures.clear()}unregisterElement(e){this.activeGestures.delete(e)}}class wu{pressedKeys=(()=>new Set)();constructor(){this.initialize()}initialize(){"undefined"!=typeof window&&(window.addEventListener("keydown",this.handleKeyDown),window.addEventListener("keyup",this.handleKeyUp),window.addEventListener("blur",this.clearKeys))}handleKeyDown=e=>{this.pressedKeys.add(e.key)};handleKeyUp=e=>{this.pressedKeys.delete(e.key)};clearKeys=()=>{this.pressedKeys.clear()};areKeysPressed(e){return!e||0===e.length||e.every(e=>"ControlOrMeta"===e?this.pressedKeys.has("Control")||this.pressedKeys.has("Meta"):this.pressedKeys.has(e))}destroy(){"undefined"!=typeof window&&(window.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("keyup",this.handleKeyUp),window.removeEventListener("blur",this.clearKeys)),this.clearKeys()}}class ku{preventEventInterruption=!0;pointers=(()=>new Map)();gestureHandlers=(()=>new Set)();constructor(e){this.root=e.root??document.getRootNode({composed:!0})??document.body,this.touchAction=e.touchAction||"auto",this.passive=e.passive??!1,this.preventEventInterruption=e.preventEventInterruption??!1,this.setupEventListeners()}registerGestureHandler(e){return this.gestureHandlers.add(e),()=>{this.gestureHandlers.delete(e)}}getPointers(){return new Map(this.pointers)}setupEventListeners(){"auto"!==this.touchAction&&(this.root.style.touchAction=this.touchAction),this.root.addEventListener("pointerdown",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointermove",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointerup",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("pointercancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("forceCancel",this.handlePointerEvent,{passive:this.passive}),this.root.addEventListener("blur",this.handleInterruptEvents),this.root.addEventListener("contextmenu",this.handleInterruptEvents)}handleInterruptEvents=e=>{if(this.preventEventInterruption&&"pointerType"in e&&"touch"===e.pointerType)return void e.preventDefault();const t=new PointerEvent("forceCancel",{bubbles:!1,cancelable:!1}),n=this.pointers.values().next().value;if(this.pointers.size>0&&n){Object.defineProperties(t,{clientX:{value:n.clientX},clientY:{value:n.clientY},pointerId:{value:n.pointerId},pointerType:{value:n.pointerType}});for(const[e,t]of this.pointers.entries()){const n=(0,r.A)({},t,{type:"forceCancel"});this.pointers.set(e,n)}}this.notifyHandlers(t),this.pointers.clear()};handlePointerEvent=e=>{const{type:t,pointerId:n}=e;if("pointerdown"===t||"pointermove"===t)this.pointers.set(n,this.createPointerData(e));else if("pointerup"===t||"pointercancel"===t||"forceCancel"===t)return this.pointers.set(n,this.createPointerData(e)),this.notifyHandlers(e),void this.pointers.delete(n);this.notifyHandlers(e)};notifyHandlers(e){this.gestureHandlers.forEach(t=>t(this.pointers,e))}createPointerData(e){return{pointerId:e.pointerId,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,target:e.target,timeStamp:e.timeStamp,type:e.type,isPrimary:e.isPrimary,pressure:e.pressure,width:e.width,height:e.height,pointerType:e.pointerType,srcEvent:e}}destroy(){this.root.removeEventListener("pointerdown",this.handlePointerEvent),this.root.removeEventListener("pointermove",this.handlePointerEvent),this.root.removeEventListener("pointerup",this.handlePointerEvent),this.root.removeEventListener("pointercancel",this.handlePointerEvent),this.root.removeEventListener("forceCancel",this.handlePointerEvent),this.root.removeEventListener("blur",this.handleInterruptEvents),this.root.removeEventListener("contextmenu",this.handleInterruptEvents),this.pointers.clear(),this.gestureHandlers.clear()}}class Su{gestureTemplates=(()=>new Map)();elementGestureMap=(()=>new Map)();activeGesturesRegistry=(()=>new Au)();keyboardManager=(()=>new wu)();constructor(e){this.pointerManager=new ku({root:e.root,touchAction:e.touchAction,passive:e.passive}),e.gestures&&e.gestures.length>0&&e.gestures.forEach(e=>{this.addGestureTemplate(e)})}addGestureTemplate(e){this.gestureTemplates.has(e.name)&&console.warn(`Gesture template with name "${e.name}" already exists. It will be overwritten.`),this.gestureTemplates.set(e.name,e)}setGestureOptions(e,t,n){const r=this.elementGestureMap.get(t);if(!r||!r.has(e))return void console.error(`Gesture "${e}" not found on the provided element.`);const o=new CustomEvent(`${e}ChangeOptions`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});t.dispatchEvent(o)}setGestureState(e,t,n){const r=this.elementGestureMap.get(t);if(!r||!r.has(e))return void console.error(`Gesture "${e}" not found on the provided element.`);const o=new CustomEvent(`${e}ChangeState`,{detail:n,bubbles:!1,cancelable:!1,composed:!1});t.dispatchEvent(o)}registerElement(e,t,n){return Array.isArray(e)||(e=[e]),e.forEach(e=>{const r=n?.[e];this.registerSingleGesture(e,t,r)}),t}registerSingleGesture(e,t,n){const r=this.gestureTemplates.get(e);if(!r)return console.error(`Gesture template "${e}" not found.`),!1;this.elementGestureMap.has(t)||this.elementGestureMap.set(t,new Map);const o=this.elementGestureMap.get(t);o.has(e)&&(console.warn(`Element already has gesture "${e}" registered. It will be replaced.`),this.unregisterElement(e,t));const i=r.clone(n);return i.init(t,this.pointerManager,this.activeGesturesRegistry,this.keyboardManager),o.set(e,i),!0}unregisterElement(e,t){const n=this.elementGestureMap.get(t);return!(!n||!n.has(e))&&(n.get(e).destroy(),n.delete(e),this.activeGesturesRegistry.unregisterElement(t),0===n.size&&this.elementGestureMap.delete(t),!0)}unregisterAllGestures(e){const t=this.elementGestureMap.get(e);if(t){for(const[,n]of t)n.destroy(),this.activeGesturesRegistry.unregisterElement(e);this.elementGestureMap.delete(e)}}destroy(){for(const[e]of this.elementGestureMap)this.unregisterAllGestures(e);this.gestureTemplates.clear(),this.elementGestureMap.clear(),this.activeGesturesRegistry.destroy(),this.keyboardManager.destroy(),this.pointerManager.destroy()}}const Cu={abort:!0,animationcancel:!0,animationend:!0,animationiteration:!0,animationstart:!0,auxclick:!0,beforeinput:!0,beforetoggle:!0,blur:!0,cancel:!0,canplay:!0,canplaythrough:!0,change:!0,click:!0,close:!0,compositionend:!0,compositionstart:!0,compositionupdate:!0,contextlost:!0,contextmenu:!0,contextrestored:!0,copy:!0,cuechange:!0,cut:!0,dblclick:!0,drag:!0,dragend:!0,dragenter:!0,dragleave:!0,dragover:!0,dragstart:!0,drop:!0,durationchange:!0,emptied:!0,ended:!0,error:!0,focus:!0,focusin:!0,focusout:!0,formdata:!0,gotpointercapture:!0,input:!0,invalid:!0,keydown:!0,keypress:!0,keyup:!0,load:!0,loadeddata:!0,loadedmetadata:!0,loadstart:!0,lostpointercapture:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,paste:!0,pause:!0,play:!0,playing:!0,pointercancel:!0,pointerdown:!0,pointerenter:!0,pointerleave:!0,pointermove:!0,pointerout:!0,pointerover:!0,pointerup:!0,progress:!0,ratechange:!0,reset:!0,resize:!0,scroll:!0,scrollend:!0,securitypolicyviolation:!0,seeked:!0,seeking:!0,select:!0,selectionchange:!0,selectstart:!0,slotchange:!0,stalled:!0,submit:!0,suspend:!0,timeupdate:!0,toggle:!0,touchcancel:!0,touchend:!0,touchmove:!0,touchstart:!0,transitioncancel:!0,transitionend:!0,transitionrun:!0,transitionstart:!0,volumechange:!0,waiting:!0,webkitanimationend:!0,webkitanimationiteration:!0,webkitanimationstart:!0,webkittransitionend:!0,wheel:!0,beforematch:!0,pointerrawupdate:!0};class Eu{customData={};constructor(e){if(!e||!e.name)throw new Error("Gesture must be initialized with a valid name.");if(e.name in Cu)throw new Error(`Gesture can't be created with a native event name. Tried to use "${e.name}". Please use a custom name instead.`);this.name=e.name,this.preventDefault=e.preventDefault??!1,this.stopPropagation=e.stopPropagation??!1,this.preventIf=e.preventIf??[],this.requiredKeys=e.requiredKeys??[],this.pointerMode=e.pointerMode??[],this.pointerOptions=e.pointerOptions??{}}init(e,t,n,r){this.element=e,this.pointerManager=t,this.gesturesRegistry=n,this.keyboardManager=r;const o=`${this.name}ChangeOptions`;this.element.addEventListener(o,this.handleOptionsChange.bind(this));const i=`${this.name}ChangeState`;this.element.addEventListener(i,this.handleStateChange.bind(this))}handleOptionsChange(e){e&&e.detail&&this.updateOptions(e.detail)}updateOptions(e){this.preventDefault=e.preventDefault??this.preventDefault,this.stopPropagation=e.stopPropagation??this.stopPropagation,this.preventIf=e.preventIf??this.preventIf,this.requiredKeys=e.requiredKeys??this.requiredKeys,this.pointerMode=e.pointerMode??this.pointerMode,this.pointerOptions=e.pointerOptions??this.pointerOptions}getEffectiveConfig(e){const t={requiredKeys:this.requiredKeys},n=this.pointerOptions[e];return n?(0,r.A)({},t,n):t}handleStateChange(e){e&&e.detail&&this.updateState(e.detail)}updateState(e){Object.assign(this.state,e)}getTargetElement(e){return this.isActive||this.element===e.target||"contains"in this.element&&this.element.contains(e.target)||"getRootNode"in this.element&&this.element.getRootNode()instanceof ShadowRoot&&e.composedPath().includes(this.element)?this.element:null}set isActive(e){e?this.gesturesRegistry.registerActiveGesture(this.element,this):this.gesturesRegistry.unregisterActiveGesture(this.element,this)}get isActive(){return this.gesturesRegistry.isGestureActive(this.element,this)??!1}shouldPreventGesture(e,t){const n=this.getEffectiveConfig(t);if(!this.keyboardManager.areKeysPressed(n.requiredKeys))return!0;if(0===this.preventIf.length)return!1;const r=this.gesturesRegistry.getActiveGestures(e);return this.preventIf.some(e=>r[e])}isPointerTypeAllowed(e){return!this.pointerMode||0===this.pointerMode.length||this.pointerMode.includes(e)}destroy(){const e=`${this.name}ChangeOptions`;this.element.removeEventListener(e,this.handleOptionsChange.bind(this));const t=`${this.name}ChangeState`;this.element.removeEventListener(t,this.handleStateChange.bind(this))}}class Mu extends Eu{unregisterHandler=null;originalTarget=null;constructor(e){super(e),this.minPointers=e.minPointers??1,this.maxPointers=e.maxPointers??1/0}init(e,t,n,r){super.init(e,t,n,r),this.unregisterHandler=this.pointerManager.registerGestureHandler(this.handlePointerEvent.bind(this))}updateOptions(e){super.updateOptions(e),this.minPointers=e.minPointers??this.minPointers,this.maxPointers=e.maxPointers??this.maxPointers}getRelevantPointers(e,t){return e.filter(e=>this.isPointerTypeAllowed(e.pointerType)&&(t===e.target||e.target===this.originalTarget||t===this.originalTarget||"contains"in t&&t.contains(e.target))||"getRootNode"in t&&t.getRootNode()instanceof ShadowRoot&&e.srcEvent.composedPath().includes(t))}destroy(){this.unregisterHandler&&(this.unregisterHandler(),this.unregisterHandler=null),super.destroy()}}function Ru(e){if(0===e.length)return{x:0,y:0};const t=e.reduce((e,t)=>(e.x+=t.clientX,e.y+=t.clientY,e),{x:0,y:0});return{x:t.x/e.length,y:t.y/e.length}}const Iu=1e-5;function Tu(e,t){return`${e}${"ongoing"===t?"":t.charAt(0).toUpperCase()+t.slice(1)}`}class Pu extends Mu{state=(()=>({startPointers:new Map,startCentroid:null,lastCentroid:null,movementThresholdReached:!1,totalDeltaX:0,totalDeltaY:0,activeDeltaX:0,activeDeltaY:0,lastDirection:{vertical:null,horizontal:null,mainAxis:null},lastDeltas:null}))();constructor(e){super(e),this.direction=e.direction||["up","down","left","right"],this.threshold=e.threshold||0}clone(e){return new Pu((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,direction:[...this.direction],requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.direction=e.direction||this.direction}resetState(){this.isActive=!1,this.state=(0,r.A)({},this.state,{startPointers:new Map,startCentroid:null,lastCentroid:null,lastDeltas:null,activeDeltaX:0,activeDeltaY:0,movementThresholdReached:!1,lastDirection:{vertical:null,horizontal:null,mainAxis:null}})}handlePointerEvent(e,t){const n=Array.from(e.values());if("forceCancel"===t.type)return void this.cancel(t.target,n,t);const o=this.getTargetElement(t);if(!o)return;if(this.shouldPreventGesture(o,t.pointerType))return void this.cancel(o,n,t);const i=this.getRelevantPointers(n,o);if(i.length<this.minPointers||i.length>this.maxPointers)this.cancel(o,i,t);else switch(t.type){case"pointerdown":this.isActive||this.state.startCentroid||(i.forEach(e=>{this.state.startPointers.set(e.pointerId,e)}),this.originalTarget=o,this.state.startCentroid=Ru(i),this.state.lastCentroid=(0,r.A)({},this.state.startCentroid));break;case"pointermove":if(this.state.startCentroid&&i.length>=this.minPointers){const e=Ru(i),n=e.x-this.state.startCentroid.x,r=e.y-this.state.startCentroid.y,a=Math.sqrt(n*n+r*r),s=function(e,t){const n=t.x-e.x,r=t.y-e.y,o={vertical:null,horizontal:null,mainAxis:null},i=function(e,t){const n=t.x-e.x,r=t.y-e.y,o=180*Math.atan2(r,n)/Math.PI;return o>=-44.99999&&o<=-22.49999||o>=22.50001&&o<=45.00001||o>=135.00001&&o<=157.50001||o>=-157.49999&&o<=-134.99999}(t,e),a=Math.abs(n)>Math.abs(r)?"horizontal":"vertical",s=i||"horizontal"===a?Iu:.15,l=i?Iu:"horizontal"===a?.15:Iu;return Math.abs(n)>s&&(o.horizontal=n>0?"right":"left"),Math.abs(r)>l&&(o.vertical=r>0?"down":"up"),o.mainAxis=i?"diagonal":a,o}(this.state.lastCentroid??this.state.startCentroid,e),l=this.state.lastCentroid?e.x-this.state.lastCentroid.x:0,c=this.state.lastCentroid?e.y-this.state.lastCentroid.y:0;!this.state.movementThresholdReached&&a>=this.threshold&&function(e,t){if(!e.vertical&&!e.horizontal)return!1;if(0===t.length)return!0;const n=null===e.vertical||t.includes(e.vertical),r=null===e.horizontal||t.includes(e.horizontal);return n&&r}(s,this.direction)?(this.state.movementThresholdReached=!0,this.isActive=!0,this.state.lastDeltas={x:l,y:c},this.state.totalDeltaX+=l,this.state.totalDeltaY+=c,this.state.activeDeltaX+=l,this.state.activeDeltaY+=c,this.emitPanEvent(o,"start",i,t,e),this.emitPanEvent(o,"ongoing",i,t,e)):this.state.movementThresholdReached&&this.isActive&&(this.state.lastDeltas={x:l,y:c},this.state.totalDeltaX+=l,this.state.totalDeltaY+=c,this.state.activeDeltaX+=l,this.state.activeDeltaY+=c,this.emitPanEvent(o,"ongoing",i,t,e)),this.state.lastCentroid=e,this.state.lastDirection=s}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive&&this.state.movementThresholdReached){if(i.filter(e=>"pointerup"!==e.type&&"pointercancel"!==e.type).length<this.minPointers){const e=this.state.lastCentroid||this.state.startCentroid;"pointercancel"===t.type&&this.emitPanEvent(o,"cancel",i,t,e),this.emitPanEvent(o,"end",i,t,e),this.resetState()}}else this.resetState()}}emitPanEvent(e,t,n,r,o){if(!this.state.startCentroid)return;const i=this.state.lastDeltas?.x??0,a=this.state.lastDeltas?.y??0,s=this.state.startPointers.values().next().value,l=s?(r.timeStamp-s.timeStamp)/1e3:0,c=l>0?i/l:0,u=l>0?a/l:0,d=Math.sqrt(c*c+u*u),p=this.gesturesRegistry.getActiveGestures(e),f={gestureName:this.name,initialCentroid:this.state.startCentroid,centroid:o,target:r.target,srcEvent:r,phase:t,pointers:n,timeStamp:r.timeStamp,deltaX:i,deltaY:a,direction:this.state.lastDirection,velocityX:c,velocityY:u,velocity:d,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,activeDeltaX:this.state.activeDeltaX,activeDeltaY:this.state.activeDeltaY,activeGestures:p,customData:this.customData},h=Tu(this.name,t),m=new CustomEvent(h,{bubbles:!0,cancelable:!0,composed:!0,detail:f});e.dispatchEvent(m),this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation()}cancel(e,t,n){if(this.isActive){const r=e??this.element;this.emitPanEvent(r,"cancel",t,n,this.state.lastCentroid),this.emitPanEvent(r,"end",t,n,this.state.lastCentroid)}this.resetState()}}class Ou extends Mu{state={lastPosition:null};constructor(e){super(e),this.handleElementEnterBound=this.handleElementEnter.bind(this),this.handleElementLeaveBound=this.handleElementLeave.bind(this),this.threshold=e.threshold||0}clone(e){return new Ou((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}init(e,t,n,r){super.init(e,t,n,r),this.element.addEventListener("pointerenter",this.handleElementEnterBound),this.element.addEventListener("pointerleave",this.handleElementLeaveBound)}destroy(){this.element.removeEventListener("pointerenter",this.handleElementEnterBound),this.element.removeEventListener("pointerleave",this.handleElementLeaveBound),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state={lastPosition:null}}handleElementEnter(e){if("mouse"!==e.pointerType&&"pen"!==e.pointerType)return;const t=this.pointerManager.getPointers()||new Map,n=Array.from(t.values());if(n.length>=this.minPointers&&n.length<=this.maxPointers){this.isActive=!0;const t={x:e.clientX,y:e.clientY};this.state.lastPosition=t,this.emitMoveEvent(this.element,"start",n,e),this.emitMoveEvent(this.element,"ongoing",n,e)}}handleElementLeave(e){if("mouse"!==e.pointerType&&"pen"!==e.pointerType)return;if(!this.isActive)return;const t=this.pointerManager.getPointers()||new Map,n=Array.from(t.values());this.emitMoveEvent(this.element,"end",n,e),this.resetState()}handlePointerEvent(e,t){if("pointermove"!==t.type||"mouse"!==t.pointerType&&"pen"!==t.pointerType)return;this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation();const n=Array.from(e.values()),r=this.getTargetElement(t);if(!r)return;if(n.length<this.minPointers||n.length>this.maxPointers)return;if(this.shouldPreventGesture(r,t.pointerType)){if(!this.isActive)return;return this.resetState(),void this.emitMoveEvent(r,"end",n,t)}const o={x:t.clientX,y:t.clientY};this.state.lastPosition=o,this.isActive||(this.isActive=!0,this.emitMoveEvent(r,"start",n,t)),this.emitMoveEvent(r,"ongoing",n,t)}emitMoveEvent(e,t,n,r){const o=this.state.lastPosition||Ru(n),i=this.gesturesRegistry.getActiveGestures(e),a={gestureName:this.name,centroid:o,target:r.target,srcEvent:r,phase:t,pointers:n,timeStamp:r.timeStamp,activeGestures:i,customData:this.customData},s=Tu(this.name,t),l=new CustomEvent(s,{bubbles:!0,cancelable:!0,composed:!0,detail:a});e.dispatchEvent(l)}}function Lu(e,t){const n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)}function _u(e){if(e.length<2)return 0;let t=0,n=0;for(let r=0;r<e.length;r+=1)for(let o=r+1;o<e.length;o+=1)t+=Lu({x:e[r].clientX,y:e[r].clientY},{x:e[o].clientX,y:e[o].clientY}),n+=1;return n>0?t/n:0}class Nu extends Mu{state={startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,totalScale:1,deltaScale:0};constructor(e){super((0,r.A)({},e,{minPointers:e.minPointers??2})),this.threshold=e.threshold??0}clone(e){return new Nu((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,threshold:this.threshold,minPointers:this.minPointers,maxPointers:this.maxPointers,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e)}resetState(){this.isActive=!1,this.state=(0,r.A)({},this.state,{startDistance:0,lastDistance:0,lastScale:1,lastTime:0,velocity:0,deltaScale:0})}handlePointerEvent(e,t){const n=Array.from(e.values()),r=this.getTargetElement(t);if(!r)return;if(this.shouldPreventGesture(r,t.pointerType))return void(this.isActive&&(this.emitPinchEvent(r,"cancel",n,t),this.resetState()));const o=this.getRelevantPointers(n,r);switch(t.type){case"pointerdown":if(o.length>=2&&!this.isActive){const e=_u(o);this.state.startDistance=e,this.state.lastDistance=e,this.state.lastTime=t.timeStamp,this.originalTarget=r}break;case"pointermove":if(this.state.startDistance&&o.length>=this.minPointers){const e=_u(o),n=Math.abs(e-this.state.lastDistance);if(0!==n&&n>=this.threshold){const n=this.state.startDistance?e/this.state.startDistance:1,i=n/this.state.lastScale;this.state.totalScale*=i;const a=(t.timeStamp-this.state.lastTime)/1e3;if(this.state.lastDistance){const t=(e-this.state.lastDistance)/a;this.state.velocity=Number.isNaN(t)?0:t}this.state.lastDistance=e,this.state.deltaScale=n-this.state.lastScale,this.state.lastScale=n,this.state.lastTime=t.timeStamp,this.isActive||(this.isActive=!0,this.emitPinchEvent(r,"start",o,t)),this.emitPinchEvent(r,"ongoing",o,t)}}break;case"pointerup":case"pointercancel":case"forceCancel":if(this.isActive){const e=o.filter(e=>"pointerup"!==e.type&&"pointercancel"!==e.type);if(e.length<this.minPointers)"pointercancel"===t.type&&this.emitPinchEvent(r,"cancel",o,t),this.emitPinchEvent(r,"end",o,t),this.resetState();else if(e.length>=2){const t=_u(e);this.state.startDistance=t/this.state.lastScale}}}}emitPinchEvent(e,t,n,r){const o=Ru(n),i=this.state.lastDistance,a=this.state.lastScale,s=this.gesturesRegistry.getActiveGestures(e),l={gestureName:this.name,centroid:o,target:r.target,srcEvent:r,phase:t,pointers:n,timeStamp:r.timeStamp,scale:a,deltaScale:this.state.deltaScale,totalScale:this.state.totalScale,distance:i,velocity:this.state.velocity,activeGestures:s,direction:(c=this.state.velocity,c>0?1:c<-0?-1:0),customData:this.customData};var c;this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation();const u=Tu(this.name,t),d=new CustomEvent(u,{bubbles:!0,cancelable:!0,composed:!0,detail:l});e.dispatchEvent(d)}}class ju extends Eu{state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0};constructor(e){super(e),this.sensitivity=e.sensitivity??1,this.max=e.max??Number.MAX_SAFE_INTEGER,this.min=e.min??Number.MIN_SAFE_INTEGER,this.initialDelta=e.initialDelta??0,this.invert=e.invert??!1,this.state.totalDeltaX=this.initialDelta,this.state.totalDeltaY=this.initialDelta,this.state.totalDeltaZ=this.initialDelta,this.handleWheelEventBound=this.handleWheelEvent.bind(this)}clone(e){return new ju((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,sensitivity:this.sensitivity,max:this.max,min:this.min,initialDelta:this.initialDelta,invert:this.invert,requiredKeys:[...this.requiredKeys],preventIf:[...this.preventIf]},e))}init(e,t,n,r){super.init(e,t,n,r),this.element.addEventListener("wheel",this.handleWheelEventBound)}destroy(){this.element.removeEventListener("wheel",this.handleWheelEventBound),this.resetState(),super.destroy()}resetState(){this.isActive=!1,this.state={totalDeltaX:0,totalDeltaY:0,totalDeltaZ:0}}updateOptions(e){super.updateOptions(e),this.sensitivity=e.sensitivity??this.sensitivity,this.max=e.max??this.max,this.min=e.min??this.min,this.initialDelta=e.initialDelta??this.initialDelta,this.invert=e.invert??this.invert}handleWheelEvent(e){if(this.shouldPreventGesture(this.element,"mouse"))return;const t=this.pointerManager.getPointers()||new Map,n=Array.from(t.values());this.state.totalDeltaX+=e.deltaX*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaY+=e.deltaY*this.sensitivity*(this.invert?-1:1),this.state.totalDeltaZ+=e.deltaZ*this.sensitivity*(this.invert?-1:1),["totalDeltaX","totalDeltaY","totalDeltaZ"].forEach(e=>{this.state[e]<this.min&&(this.state[e]=this.min),this.state[e]>this.max&&(this.state[e]=this.max)}),this.emitWheelEvent(n,e)}emitWheelEvent(e,t){const n=e.length>0?Ru(e):{x:t.clientX,y:t.clientY},r=this.gesturesRegistry.getActiveGestures(this.element),o={gestureName:this.name,centroid:n,target:t.target,srcEvent:t,phase:"ongoing",pointers:e,timeStamp:t.timeStamp,deltaX:t.deltaX*this.sensitivity*(this.invert?-1:1),deltaY:t.deltaY*this.sensitivity*(this.invert?-1:1),deltaZ:t.deltaZ*this.sensitivity*(this.invert?-1:1),deltaMode:t.deltaMode,totalDeltaX:this.state.totalDeltaX,totalDeltaY:this.state.totalDeltaY,totalDeltaZ:this.state.totalDeltaZ,activeGestures:r,customData:this.customData};this.preventDefault&&t.preventDefault(),this.stopPropagation&&t.stopPropagation();const i=Tu(this.name,"ongoing"),a=new CustomEvent(i,{bubbles:!0,cancelable:!0,composed:!0,detail:o});this.element.dispatchEvent(a)}}class Du extends Mu{state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null};constructor(e){super(e),this.maxDistance=e.maxDistance??10,this.taps=e.taps??1}clone(e){return new Du((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,maxDistance:this.maxDistance,taps:this.taps,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.maxDistance=e.maxDistance??this.maxDistance,this.taps=e.taps??this.taps}resetState(){this.isActive=!1,this.state={startCentroid:null,currentTapCount:0,lastTapTime:0,lastPosition:null}}handlePointerEvent(e,t){const n=Array.from(e.values()),o=this.getTargetElement(t);if(!o)return;const i=this.getRelevantPointers(n,o);if(this.shouldPreventGesture(o,t.pointerType)||i.length<this.minPointers||i.length>this.maxPointers)this.isActive&&this.cancelTap(o,i,t);else switch(t.type){case"pointerdown":this.isActive||(this.state.startCentroid=Ru(i),this.state.lastPosition=(0,r.A)({},this.state.startCentroid),this.isActive=!0,this.originalTarget=o);break;case"pointermove":if(this.isActive&&this.state.startCentroid){const e=Ru(i);this.state.lastPosition=e;const n=e.x-this.state.startCentroid.x,r=e.y-this.state.startCentroid.y;Math.sqrt(n*n+r*r)>this.maxDistance&&this.cancelTap(o,i,t)}break;case"pointerup":if(this.isActive){this.state.currentTapCount+=1;const e=this.state.lastPosition||this.state.startCentroid;if(!e)return void this.cancelTap(o,i,t);this.state.currentTapCount>=this.taps?(this.fireTapEvent(o,i,t,e),this.resetState()):(this.state.lastTapTime=t.timeStamp,this.isActive=!1,this.state.startCentroid=null,setTimeout(()=>{this.state&&this.state.currentTapCount>0&&this.state.currentTapCount<this.taps&&(this.state.currentTapCount=0)},300))}break;case"pointercancel":case"forceCancel":this.cancelTap(o,i,t)}}fireTapEvent(e,t,n,r){const o=this.gesturesRegistry.getActiveGestures(e),i={gestureName:this.name,centroid:r,target:n.target,srcEvent:n,phase:"end",pointers:t,timeStamp:n.timeStamp,x:r.x,y:r.y,tapCount:this.state.currentTapCount,activeGestures:o,customData:this.customData},a=new CustomEvent(this.name,{bubbles:!0,cancelable:!0,composed:!0,detail:i});e.dispatchEvent(a),this.preventDefault&&n.preventDefault(),this.stopPropagation&&n.stopPropagation()}cancelTap(e,t,n){if(this.state.startCentroid||this.state.lastPosition){const r=this.state.lastPosition||this.state.startCentroid,o=this.gesturesRegistry.getActiveGestures(e),i={gestureName:this.name,centroid:r,target:n.target,srcEvent:n,phase:"cancel",pointers:t,timeStamp:n.timeStamp,x:r.x,y:r.y,tapCount:this.state.currentTapCount,activeGestures:o,customData:this.customData},a=Tu(this.name,"cancel"),s=new CustomEvent(a,{bubbles:!0,cancelable:!0,composed:!0,detail:i});e.dispatchEvent(s)}this.resetState()}}class Fu extends Mu{state={startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1};constructor(e){super(e),this.duration=e.duration??500,this.maxDistance=e.maxDistance??10}clone(e){return new Fu((0,r.A)({name:this.name,preventDefault:this.preventDefault,stopPropagation:this.stopPropagation,minPointers:this.minPointers,maxPointers:this.maxPointers,duration:this.duration,maxDistance:this.maxDistance,requiredKeys:[...this.requiredKeys],pointerMode:[...this.pointerMode],preventIf:[...this.preventIf],pointerOptions:structuredClone(this.pointerOptions)},e))}destroy(){this.clearPressTimer(),this.resetState(),super.destroy()}updateOptions(e){super.updateOptions(e),this.duration=e.duration??this.duration,this.maxDistance=e.maxDistance??this.maxDistance}resetState(){this.clearPressTimer(),this.isActive=!1,this.state=(0,r.A)({},this.state,{startCentroid:null,lastPosition:null,timerId:null,startTime:0,pressThresholdReached:!1})}clearPressTimer(){null!==this.state.timerId&&(clearTimeout(this.state.timerId),this.state.timerId=null)}handlePointerEvent(e,t){const n=Array.from(e.values());if("forceCancel"===t.type)return void this.cancelPress(t.target,n,t);const o=this.getTargetElement(t);if(!o)return;if(this.shouldPreventGesture(o,t.pointerType))return void(this.isActive&&this.cancelPress(o,n,t));const i=this.getRelevantPointers(n,o);if(i.length<this.minPointers||i.length>this.maxPointers)this.isActive&&this.cancelPress(o,i,t);else switch(t.type){case"pointerdown":this.isActive||this.state.startCentroid||(this.state.startCentroid=Ru(i),this.state.lastPosition=(0,r.A)({},this.state.startCentroid),this.state.startTime=t.timeStamp,this.isActive=!0,this.originalTarget=o,this.clearPressTimer(),this.state.timerId=setTimeout(()=>{if(this.isActive&&this.state.startCentroid){this.state.pressThresholdReached=!0;const e=this.state.lastPosition;this.emitPressEvent(o,"start",i,t,e),this.emitPressEvent(o,"ongoing",i,t,e)}},this.duration));break;case"pointermove":if(this.isActive&&this.state.startCentroid){const e=Ru(i);this.state.lastPosition=e;const n=e.x-this.state.startCentroid.x,r=e.y-this.state.startCentroid.y;Math.sqrt(n*n+r*r)>this.maxDistance&&this.cancelPress(o,i,t)}break;case"pointerup":if(this.isActive){if(this.state.pressThresholdReached){const e=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(o,"end",i,t,e)}this.resetState()}break;case"pointercancel":case"forceCancel":this.cancelPress(o,i,t)}}emitPressEvent(e,t,n,r,o){const i=this.gesturesRegistry.getActiveGestures(e),a=r.timeStamp-this.state.startTime,s={gestureName:this.name,centroid:o,target:r.target,srcEvent:r,phase:t,pointers:n,timeStamp:r.timeStamp,x:o.x,y:o.y,duration:a,activeGestures:i,customData:this.customData},l=Tu(this.name,t),c=new CustomEvent(l,{bubbles:!0,cancelable:!0,composed:!0,detail:s});e.dispatchEvent(c),this.preventDefault&&r.preventDefault(),this.stopPropagation&&r.stopPropagation()}cancelPress(e,t,n){if(this.isActive&&this.state.pressThresholdReached){const r=this.state.lastPosition||this.state.startCentroid;this.emitPressEvent(e??this.element,"cancel",t,n,r),this.emitPressEvent(e??this.element,"end",t,n,r)}this.resetState()}}const $u=e=>e.preventDefault(),zu=({svgRef:e})=>{i.useEffect(()=>{const t=e.current;if(!t)return;const n=new Su({gestures:[new Pu({name:"pan",threshold:0,maxPointers:1}),new Ou({name:"move",preventIf:["pan","pinch"]}),new Nu({name:"pinch",threshold:5,preventIf:["pan"]}),new ju({name:"turnWheel",sensitivity:.01,initialDelta:1}),new Du({name:"tap",maxDistance:10,preventIf:["pan","pinch"]}),new Fu({name:"quickPress",duration:50,maxDistance:10})]});return n.registerElement(["pan","move","pinch","turnWheel","tap","quickPress"],t),()=>{n.destroy()}},[e]);const t=i.useCallback((t,n,r)=>{const o=e.current;return o?.addEventListener(t,n,r),{cleanup:()=>o?.removeEventListener(t,n)}},[e]);return i.useEffect(()=>{const t=e.current;return t?.addEventListener("gesturestart",$u),t?.addEventListener("gesturechange",$u),t?.addEventListener("gestureend",$u),()=>{t?.removeEventListener("gesturestart",$u),t?.removeEventListener("gesturechange",$u),t?.removeEventListener("gestureend",$u)}},[e]),{instance:{addInteractionListener:t}}};zu.params={},zu.getInitialState=()=>({});const Bu=[vu,mu,hu,bu,zu,pu],Wu=["apiRef"];let Hu=0;function Vu(e,t,n){const r=function(e){if(void 0!==uu){const t=uu();return e??t}return function(e){const[t,n]=i.useState(e),r=e||t;return i.useEffect(()=>{null==t&&(cu+=1,n(`mui-${cu}`))},[t]),r}(e)}(),a=i.useMemo(()=>[...Bu,...e],[e]),s=(e=>{let{plugins:t}=e,n=(0,o.A)(e.props,Wu);const r={};t.forEach(e=>{Object.assign(r,e.params)});const i={};return Object.keys(n).forEach(e=>{const t=n[e];r[e]&&(i[e]=t)}),t.reduce((e,t)=>t.getDefaultizedParams?t.getDefaultizedParams({params:e}):e,i)})({plugins:a,props:t});s.id=s.id??r;const l=i.useRef({}).current,c=function(e){const t=i.useRef({});return e?function(e){return null==e.current&&(e.current={}),e}(e):t}(t.apiRef),u=i.useRef(null),d=i.useRef(null),p=i.useRef(null);if(null==p.current){Hu+=1;const e={cacheKey:{id:Hu}};a.forEach(t=>{t.getInitialState&&Object.assign(e,t.getInitialState(s,e,n))}),p.current=new du(e)}return a.forEach(e=>{const t=e({instance:l,params:s,plugins:a,store:p.current,svgRef:d,chartRootRef:u,seriesConfig:n});t.publicAPI&&Object.assign(c.current,t.publicAPI),t.instance&&Object.assign(l,t.instance)}),{contextValue:i.useMemo(()=>({store:p.current,publicAPI:c.current,instance:l,svgRef:d,chartRootRef:u}),[l,c])}}var Uu=n(85396);function qu(e){let t=1/0,n=-1/0;for(const r of e??[])r<t&&(t=r),r>n&&(n=r);return[t,n]}const Gu=(e,t)=>"x"===t?{x:e,y:null}:{x:null,y:e},Ku=e=>{const{axis:t,getFilters:n,isDefaultAxis:r}=e,o=n?.({currentAxisId:t.id,isDefaultAxis:r});return qu((o?t.data?.filter((e,t)=>o({x:null,y:null},t)):t.data)??[])},Xu=e=>t=>{const{series:n,axis:r,getFilters:o,isDefaultAxis:i}=t;return Object.keys(n).filter(t=>{const o="x"===e?n[t].xAxisId:n[t].yAxisId;return o===r.id||i&&void 0===o}).reduce((t,a)=>{const{stackedData:s}=n[a],l=o?.({currentAxisId:r.id,isDefaultAxis:i,seriesXAxisId:n[a].xAxisId,seriesYAxisId:n[a].yAxisId}),[c,u]=s?.reduce((t,n,r)=>!l||l(Gu(n[0],e),r)&&l(Gu(n[1],e),r)?[Math.min(...n,t[0]),Math.max(...n,t[1])]:t,[1/0,-1/0])??[1/0,-1/0];return[Math.min(c,t[0]),Math.max(u,t[1])]},[1/0,-1/0])};function Yu(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function Zu(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Qu(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Ju(e,t){return e[t]}function ed(e){const t=[];return t.key=e,t}function td(){var e=Ra([]),t=Qu,n=Zu,r=Ju;function o(o){var i,a,s=Array.from(e.apply(this,arguments),ed),l=s.length,c=-1;for(const e of o)for(i=0,++c;i<l;++i)(s[i][c]=[0,+r(e,s[i].key,c,o)]).data=e;for(i=0,a=Yu(t(s));i<l;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:Ra(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"==typeof e?e:Ra(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?Qu:"function"==typeof e?e:Ra(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?Zu:e,o):n},o}function nd(e){var t=e.map(rd);return Qu(e).sort(function(e,n){return t[e]-t[n]})}function rd(e){for(var t,n=-1,r=0,o=e.length,i=-1/0;++n<o;)(t=+e[n][1])>i&&(i=t,r=n);return r}function od(e){var t=e.map(id);return Qu(e).sort(function(e,n){return t[e]-t[n]})}function id(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}Array.prototype.slice;const ad={appearance:nd,ascending:od,descending:function(e){return od(e).reverse()},insideOut:function(e){var t,n,r=e.length,o=e.map(id),i=nd(e),a=0,s=0,l=[],c=[];for(t=0;t<r;++t)n=i[t],a<s?(a+=o[n],l.push(n)):(s+=o[n],c.push(n));return c.reverse().concat(l)},none:Qu,reverse:function(e){return Qu(e).reverse()}},sd={expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Zu(e,t)}},diverging:function(e,t){if((s=e.length)>0)for(var n,r,o,i,a,s,l=0,c=e[t[0]].length;l<c;++l)for(i=a=0,n=0;n<s;++n)(o=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)},none:Zu,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}Zu(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=e[t[s]],d=u[a][1]||0,p=(d-(u[a-1][1]||0))/2,f=0;f<s;++f){var h=e[t[f]];p+=(h[a][1]||0)-(h[a-1][1]||0)}l+=d,c+=p*d}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,Zu(e,t)}}},ld=e=>{const{series:t,seriesOrder:n,defaultStrategy:r}=e,o=[],i={};return n.forEach(e=>{const{stack:n,stackOrder:a,stackOffset:s}=t[e];void 0===n?o.push({ids:[e],stackingOrder:ad.none,stackingOffset:sd.none}):void 0===i[n]?(i[n]=o.length,o.push({ids:[e],stackingOrder:ad[a??r?.stackOrder??"none"],stackingOffset:sd[s??r?.stackOffset??"diverging"]})):(o[i[n]].ids.push(e),void 0!==a&&(o[i[n]].stackingOrder=ad[a]),void 0!==s&&(o[i[n]].stackingOffset=sd[s]))}),o},cd=e=>null==e?"":e.toLocaleString(),ud={seriesProcessor:({series:e,seriesOrder:t},n)=>({series:Object.fromEntries(Object.entries(e).map(([e,t])=>{const o=t?.datasetKeys,i=["x","y","id"].filter(e=>"string"!=typeof o?.[e]);if(t?.datasetKeys&&i.length>0)throw new Error([`MUI X Charts: scatter series with id='${e}' has incomplete datasetKeys.`,`Properties ${i.map(e=>`"${e}"`).join(", ")} are missing.`].join("\n"));const a=o?n?.map(e=>({x:e[o.x]??null,y:e[o.y]??null,z:o.z&&e[o.z],id:o.id&&e[o.id]}))??[]:t.data??[];return[e,(0,r.A)({labelMarkType:"circle",markerSize:4},t,{preview:(0,r.A)({markerSize:1},t?.preview),data:a,valueFormatter:t.valueFormatter??(e=>e&&`(${e.x}, ${e.y})`)})]})),seriesOrder:t}),colorProcessor:(e,t,n,r)=>{const o=r?.colorScale,i=n?.colorScale,a=t?.colorScale;return o?t=>{if(void 0===t)return e.color;if(void 0!==r?.data?.[t]){const e=o(r?.data?.[t]);if(null!==e)return e}const n=e.data[t],i=null===n?e.color:o(n.z);return null===i?e.color:i}:i?t=>{if(void 0===t)return e.color;const n=e.data[t],r=null===n?e.color:i(n.y);return null===r?e.color:r}:a?t=>{if(void 0===t)return e.color;const n=e.data[t],r=null===n?e.color:a(n.x);return null===r?e.color:r}:()=>e.color},legendGetter:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=Ri(n[t].label,"legend");return void 0===r||e.push({markType:n[t].labelMarkType,id:t,seriesId:t,color:n[t].color,label:r}),e},[])},tooltipGetter:e=>{const{series:t,getColor:n,identifier:r}=e;if(!r||void 0===r.dataIndex)return null;const o=Ri(t.label,"tooltip"),i=t.data[r.dataIndex],a=t.valueFormatter(i,{dataIndex:r.dataIndex});return{identifier:r,color:n(r.dataIndex),label:o,value:i,formattedValue:a,markType:t.labelMarkType}},xExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;let i=1/0,a=-1/0;for(const e in t){if(!Object.hasOwn(t,e))continue;const s=t[e].xAxisId;if(!(s===n.id||void 0===s&&r))continue;const l=o?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[e].xAxisId,seriesYAxisId:t[e].yAxisId}),c=t[e].data??[];for(let e=0;e<c.length;e+=1){const t=c[e];l&&!l(t,e)||null!==t.x&&(t.x<i&&(i=t.x),t.x>a&&(a=t.x))}}return[i,a]},yExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;let i=1/0,a=-1/0;for(const e in t){if(!Object.hasOwn(t,e))continue;const s=t[e].yAxisId;if(!(s===n.id||void 0===s&&r))continue;const l=o?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[e].xAxisId,seriesYAxisId:t[e].yAxisId}),c=t[e].data??[];for(let e=0;e<c.length;e+=1){const t=c[e];l&&!l(t,e)||null!==t.y&&(t.y<i&&(i=t.y),t.y>a&&(a=t.y))}}return[i,a]},getSeriesWithDefaultValues:(e,t,n)=>(0,r.A)({id:e.id??`auto-generated-id-${t}`,color:n[t%n.length]},e)};function dd(e,t){const n={};return Object.keys(e).forEach(o=>{n[o]=(0,r.A)({},e[o],{valueFormatter:e[o].valueFormatter??t})}),n}const pd={colorProcessor:(e,t,n)=>{const r=n?.colorScale,o=t?.colorScale;return r?t=>{if(void 0===t)return e.color;const n=e.data[t],o=null===n?e.color:r(n);return null===o?e.color:o}:o?n=>{if(void 0===n)return e.color;const r=t.data?.[n],i=null===r?e.color:o(r);return null===i?e.color:i}:()=>e.color},seriesProcessor:(e,t)=>{const{seriesOrder:n,series:o}=e,i=ld((0,r.A)({},e,{defaultStrategy:{stackOffset:"none"}})),a=t??[];n.forEach(e=>{const t=o[e].data;void 0!==t&&t.forEach((t,n)=>{a.length<=n?a.push({[e]:t}):a[n][e]=t})});const s={};return i.forEach(e=>{const{ids:n,stackingOrder:i,stackingOffset:l}=e,c=td().keys(n.map(e=>{const t=o[e].dataKey;return void 0===o[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(i).offset(l)(a);n.forEach((e,n)=>{const i=o[e].dataKey;s[e]=(0,r.A)({labelMarkType:"line"},o[e],{data:i?t.map(e=>{const t=e[i];return"number"!=typeof t?null:t}):o[e].data,stackedData:c[n].map(([e,t])=>[e,t])})})}),{seriesOrder:n,stackingGroups:i,series:dd(s,e=>null==e?"":e.toLocaleString())}},legendGetter:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=Ri(n[t].label,"legend");return void 0===r||e.push({markType:n[t].labelMarkType,id:t,seriesId:t,color:n[t].color,label:r}),e},[])},tooltipGetter:e=>{const{series:t,getColor:n,identifier:r}=e;if(!r||void 0===r.dataIndex)return null;const o=Ri(t.label,"tooltip"),i=t.data[r.dataIndex],a=t.valueFormatter(i,{dataIndex:r.dataIndex});return{identifier:r,color:n(r.dataIndex),label:o,value:i,formattedValue:a,markType:t.labelMarkType}},axisTooltipGetter:e=>Object.values(e).map(e=>({direction:"x",axisId:e.xAxisId})),xExtremumGetter:e=>{const{axis:t}=e;return qu(t.data??[])},yExtremumGetter:e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;return Object.keys(t).filter(e=>{const o=t[e].yAxisId;return o===n.id||r&&void 0===o}).reduce((e,i)=>{const{area:a,stackedData:s,data:l}=t[i],c=void 0!==a,u=o?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[i].xAxisId,seriesYAxisId:t[i].yAxisId}),d=function(e,t,n,r){return n.reduce((n,o,i)=>{if(null===t[i])return n;const[a,s]=e(o);return!r||r({y:a,x:null},i)&&r({y:s,x:null},i)?[Math.min(a,s,n[0]),Math.max(a,s,n[1])]:n},[1/0,-1/0])}(c&&"log"!==n.scaleType&&"string"!=typeof t[i].baseline?e=>e:e=>[e[1],e[1]],l,s,u),[p,f]=d;return[Math.min(p,e[0]),Math.max(f,e[1])]},[1/0,-1/0])},getSeriesWithDefaultValues:(e,t,n)=>(0,r.A)({id:e.id??`auto-generated-id-${t}`,color:n[t%n.length]},e)};function fd(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function hd(e){return e}const md={bar:{seriesProcessor:(e,t)=>{const{seriesOrder:n,series:o}=e,i=ld(e),a=t??[];n.forEach(e=>{const n=o[e].data;if(void 0!==n)n.forEach((t,n)=>{a.length<=n?a.push({[e]:t}):a[n][e]=t});else if(void 0===t)throw new Error([`MUI X Charts: bar series with id='${e}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join("\n"))});const s={};return i.forEach(e=>{const{ids:n,stackingOffset:i,stackingOrder:l}=e,c=td().keys(n.map(e=>{const t=o[e].dataKey;return void 0===o[e].data&&void 0!==t?t:e})).value((e,t)=>e[t]??0).order(l).offset(i)(a);n.forEach((e,n)=>{const i=o[e].dataKey;s[e]=(0,r.A)({layout:"vertical",labelMarkType:"square",minBarSize:0,valueFormatter:o[e].valueFormatter??cd},o[e],{data:i?t.map(e=>{const t=e[i];return"number"!=typeof t?null:t}):o[e].data,stackedData:c[n].map(([e,t])=>[e,t])})})}),{seriesOrder:n,stackingGroups:i,series:s}},colorProcessor:(e,t,n)=>{const r="vertical"===e.layout,o=r?t?.colorScale:n?.colorScale,i=r?n?.colorScale:t?.colorScale,a=r?t?.data:n?.data;return i?t=>{if(void 0===t)return e.color;const n=e.data[t],r=null===n?e.color:i(n);return null===r?e.color:r}:o&&a?t=>{if(void 0===t)return e.color;const n=a[t],r=null===n?e.color:o(n);return null===r?e.color:r}:()=>e.color},legendGetter:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>{const r=Ri(n[t].label,"legend");return void 0===r||e.push({markType:n[t].labelMarkType,id:t,seriesId:t,color:n[t].color,label:r}),e},[])},tooltipGetter:e=>{const{series:t,getColor:n,identifier:r}=e;if(!r||void 0===r.dataIndex)return null;const o=Ri(t.label,"tooltip"),i=t.data[r.dataIndex];if(null==i)return null;const a=t.valueFormatter(i,{dataIndex:r.dataIndex});return{identifier:r,color:n(r.dataIndex),label:o,value:i,formattedValue:a,markType:t.labelMarkType}},axisTooltipGetter:e=>Object.values(e).map(e=>"horizontal"===e.layout?{direction:"y",axisId:e.yAxisId}:{direction:"x",axisId:e.xAxisId}),xExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?Xu("x")(e):Ku(e),yExtremumGetter:e=>Object.keys(e.series).some(t=>"horizontal"===e.series[t].layout)?Ku(e):Xu("y")(e),getSeriesWithDefaultValues:(e,t,n)=>(0,r.A)({id:e.id??`auto-generated-id-${t}`,color:n[t%n.length]},e)},scatter:ud,line:pd,pie:{colorProcessor:e=>t=>e.data[t].color,seriesProcessor:e=>{const{seriesOrder:t,series:n}=e,o={};return t.forEach(e=>{const t=function(){var e=hd,t=fd,n=null,r=Ra(0),o=Ra($a),i=Ra(0);function a(a){var s,l,c,u,d,p=(a=Yu(a)).length,f=0,h=new Array(p),m=new Array(p),g=+r.apply(this,arguments),v=Math.min($a,Math.max(-$a,o.apply(this,arguments)-g)),y=Math.min(Math.abs(v)/p,i.apply(this,arguments)),b=y*(v<0?-1:1);for(s=0;s<p;++s)(d=m[h[s]=s]=+e(a[s],s,a))>0&&(f+=d);for(null!=t?h.sort(function(e,n){return t(m[e],m[n])}):null!=n&&h.sort(function(e,t){return n(a[e],a[t])}),s=0,c=f?(v-p*b)/f:0;s<p;++s,g=u)l=h[s],u=g+((d=m[l])>0?d*c:0)+b,m[l]={data:a[l],index:s,value:d,startAngle:g,endAngle:u,padAngle:y};return m}return a.value=function(t){return arguments.length?(e="function"==typeof t?t:Ra(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:Ra(+e),a):r},a.endAngle=function(e){return arguments.length?(o="function"==typeof e?e:Ra(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"==typeof e?e:Ra(+e),a):i},a}().startAngle(2*Math.PI*(n[e].startAngle??0)/360).endAngle(2*Math.PI*(n[e].endAngle??360)/360).padAngle(2*Math.PI*(n[e].paddingAngle??0)/360).sortValues(((e="none")=>{if("function"==typeof e)return e;switch(e){case"none":default:return null;case"desc":return(e,t)=>t-e;case"asc":return(e,t)=>e-t}})(n[e].sortingValues??"none"))(n[e].data.map(e=>e.value));o[e]=(0,r.A)({labelMarkType:"circle",valueFormatter:e=>e.value.toLocaleString()},n[e],{data:n[e].data.map((n,o)=>(0,r.A)({},n,{id:n.id??`auto-generated-pie-id-${e}-${o}`},t[o])).map((t,o)=>(0,r.A)({labelMarkType:"circle"},t,{formattedValue:n[e].valueFormatter?.((0,r.A)({},t,{label:Ri(t.label,"arc")}),{dataIndex:o})??t.value.toLocaleString()}))})}),{seriesOrder:t,series:o}},legendGetter:e=>{const{seriesOrder:t,series:n}=e;return t.reduce((e,t)=>(n[t].data.forEach((r,o)=>{const i=Ri(r.label,"legend");void 0!==i&&e.push({markType:r.labelMarkType??n[t].labelMarkType,id:r.id??o,seriesId:t,color:r.color,label:i,itemId:r.id??o})}),e),[])},tooltipGetter:e=>{const{series:t,getColor:n,identifier:o}=e;if(!o||void 0===o.dataIndex)return null;const i=t.data[o.dataIndex];if(null==i)return null;const a=Ri(i.label,"tooltip"),s=(0,r.A)({},i,{label:a}),l=t.valueFormatter(s,{dataIndex:o.dataIndex});return{identifier:o,color:n(o.dataIndex),label:a,value:s,formattedValue:l,markType:i.labelMarkType??t.labelMarkType}},getSeriesWithDefaultValues:(e,t,n)=>(0,r.A)({id:e.id??`auto-generated-id-${t}`},e,{data:e.data.map((e,t)=>(0,r.A)({color:n[t%n.length]},e))})}},gd=[au,vc,Ac,xc];function vd(e){const{children:t,plugins:n=gd,pluginParams:r={},seriesConfig:o=md}=e,{contextValue:i}=Vu(n,r,o);return(0,wi.jsx)(Uu.u.Provider,{value:i,children:t})}function yd(e){const{children:t,localeText:n,chartProviderProps:i,slots:a,slotProps:s}=(e=>{const t=u({props:e,name:"MuiChartDataProvider"}),{children:n,localeText:i,plugins:a=su,seriesConfig:s,slots:l,slotProps:c}=t,d=(0,o.A)(t,lu),p=(0,xi.A)();return{children:n,localeText:i,chartProviderProps:{plugins:a,seriesConfig:s,pluginParams:(0,r.A)({theme:p.palette.mode},d)},slots:l,slotProps:c}})(e);return(0,wi.jsx)(vd,(0,r.A)({},i,{children:(0,wi.jsx)(xl,{localeText:n,children:(0,wi.jsx)(sc,{slots:a,slotProps:s,defaultSlots:ic,children:t})})}))}const bd=["width","height","margin","children","series","colors","dataset","desc","onAxisClick","highlightedAxis","onHighlightedAxisChange","disableVoronoi","voronoiMaxRadius","onItemClick","disableAxisListener","highlightedItem","onHighlightChange","sx","title","xAxis","yAxis","zAxis","rotationAxis","radiusAxis","skipAnimation","seriesConfig","plugins","localeText","slots","slotProps","experimentalFeatures","enableKeyboardNavigation"];var xd=n(54642);const Ad=y("MuiChartsToolbar",["root"]),wd=e=>"start"===e?.horizontal?"start":"end"===e?.horizontal?"end":"center",kd=e=>"top"===e?.vertical?"flex-start":"bottom"===e?.vertical?"flex-end":"center",Sd=(0,fi.Ay)("div",{name:"MuiChartsWrapper",slot:"Root",shouldForwardProp:e=>(0,xd.MC)(e)&&"extendVertically"!==e&&"width"!==e})(({ownerState:e,width:t})=>{const n=((e=!1,t="horizontal",n="end",r)=>{const o=r?"auto":"1fr";return"horizontal"===t||e?o:"start"===n?`auto ${o}`:`${o} auto`})(e.hideLegend,e.legendDirection,e.legendPosition?.horizontal,t),r=((e=!1,t="horizontal",n="top")=>{const r="1fr";return"vertical"===t||e?r:"bottom"===n?`${r} auto`:`auto ${r}`})(e.hideLegend,e.legendDirection,e.legendPosition?.vertical),o=(i=e.hideLegend,a=e.legendDirection,s=e.legendPosition,i?'"chart"':"vertical"===a?"start"===s?.horizontal?'"legend chart"':'"chart legend"':"bottom"===s?.vertical?'"chart"\n "legend"':'"legend"\n "chart"');var i,a,s;return{variants:[{props:{extendVertically:!0},style:{height:"100%"}}],flex:1,display:"grid",gridTemplateColumns:n,gridTemplateRows:r,gridTemplateAreas:o,[`&:has(.${Ad.root})`]:{gridTemplateRows:`auto ${r}`,gridTemplateAreas:`"${n.split(" ").map(()=>"toolbar").join(" ")}"\n ${o}`},[`& .${Ad.root}`]:{gridArea:"toolbar",justifySelf:"center"},justifyContent:"center",justifyItems:wd(e.legendPosition),alignItems:kd(e.legendPosition)}});function Cd(e){const{children:t,sx:n,extendVertically:r}=e,o=(0,Ti.N)().chartRootRef,i=(0,k.P)(),{width:a,height:s}=(0,S.d)(i,D.dr);return(0,wi.jsx)(Sd,{ref:o,ownerState:e,sx:n,extendVertically:r??void 0===s,width:a,children:t})}const Ed=[Ac,xc,Cc],Md=["series","width","height","margin","colors","sx","skipAnimation","hideLegend","children","slots","slotProps","onItemClick","loading","highlightedItem","onHighlightChange","className","showToolbar"],Rd=i.forwardRef(function(e,t){const n=u({props:e,name:"MuiPieChart"}),{series:i,width:a,height:s,margin:l,colors:c,sx:p,skipAnimation:f,hideLegend:h,children:m,slots:g,slotProps:v,onItemClick:y,loading:b,highlightedItem:x,onHighlightChange:A,className:w,showToolbar:k}=n,S=(0,o.A)(n,Md),C=fu(l,d),{chartDataProviderProps:E,chartsSurfaceProps:M}=((e,t)=>{const n=e,{width:i,height:a,margin:s,children:l,series:c,colors:u,dataset:d,desc:p,onAxisClick:f,highlightedAxis:h,onHighlightedAxisChange:m,disableVoronoi:g,voronoiMaxRadius:v,onItemClick:y,disableAxisListener:b,highlightedItem:x,onHighlightChange:A,sx:w,title:k,xAxis:S,yAxis:C,zAxis:E,rotationAxis:M,radiusAxis:R,skipAnimation:I,seriesConfig:T,plugins:P,localeText:O,slots:L,slotProps:_,experimentalFeatures:N,enableKeyboardNavigation:j}=n,D=(0,o.A)(n,bd),F=(0,r.A)({title:k,desc:p,sx:w,ref:t},D);return{chartDataProviderProps:{margin:s,series:c,colors:u,dataset:d,disableAxisListener:b,highlightedItem:x,onHighlightChange:A,onAxisClick:f,highlightedAxis:h,onHighlightedAxisChange:m,disableVoronoi:g,voronoiMaxRadius:v,onItemClick:y,xAxis:S,yAxis:C,zAxis:E,rotationAxis:M,radiusAxis:R,skipAnimation:I,width:i,height:a,localeText:O,seriesConfig:T,experimentalFeatures:N,enableKeyboardNavigation:j,plugins:P??su,slots:L,slotProps:_},chartsSurfaceProps:F,children:l}})((0,r.A)({},S,{series:i.map(e=>(0,r.A)({type:"pie"},e)),width:a,height:s,margin:C,colors:c,highlightedItem:x,onHighlightChange:A,className:w,skipAnimation:f,plugins:Ed}),t),R=g?.tooltip??fa,I=n.slots?.toolbar;return(0,wi.jsx)(yd,(0,r.A)({},E,{children:(0,wi.jsxs)(Cd,{legendPosition:n.slotProps?.legend?.position,legendDirection:n.slotProps?.legend?.direction??"vertical",sx:p,hideLegend:h??!1,children:[k&&I?(0,wi.jsx)(I,(0,r.A)({},n.slotProps?.toolbar)):null,!h&&(0,wi.jsx)(Ma,{direction:n.slotProps?.legend?.direction??"vertical",slots:g,slotProps:v}),(0,wi.jsxs)(Dl,(0,r.A)({},M,{children:[(0,wi.jsx)(fl,{slots:g,slotProps:v,onItemClick:y}),(0,wi.jsx)(Rl,{loading:b,slots:g,slotProps:v}),m]})),!b&&(0,wi.jsx)(R,(0,r.A)({trigger:"item"},v?.tooltip))]})}))})},85396:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});const r=n(95478).createContext(null)},53871:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(95478),o=n(85396);const i=()=>{const e=r.useContext(o.u);if(null==e)throw new Error(["MUI X Charts: Could not find the Chart context.","It looks like you rendered your component outside of a ChartDataProvider.","This can also happen if you are bundling multiple versions of the library."].join("\n"));return e}},92742:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(97043),o=n(2628),i=n(7967);function a(){const e=(0,r.P)();return(0,o.d)(e,i.VT)}},7967:(e,t,n)=>{"use strict";n.d(t,{_h:()=>f,VT:()=>d,dr:()=>p});var r=n(10184),o=n(87483);const i=(0,r.M)([o.mQ],e=>(e??[]).reduce((e,t)=>"left"===t.position?e+(t.width||0)+(t.zoom?.slider.enabled?t.zoom.slider.size:0):e,0)),a=(0,r.M)([o.mQ],e=>(e??[]).reduce((e,t)=>"right"===t.position?e+(t.width||0)+(t.zoom?.slider.enabled?t.zoom.slider.size:0):e,0)),s=(0,r.M)([o.RH],e=>(e??[]).reduce((e,t)=>"top"===t.position?e+(t.height||0)+(t.zoom?.slider.enabled?t.zoom.slider.size:0):e,0)),l=(0,r.M)([o.RH],e=>(e??[]).reduce((e,t)=>"bottom"===t.position?e+(t.height||0)+(t.zoom?.slider.enabled?t.zoom.slider.size:0):e,0)),c=e=>e.dimensions.width,u=e=>e.dimensions.height,d=(0,r.M)([c,u,e=>e.dimensions.margin.top,e=>e.dimensions.margin.right,e=>e.dimensions.margin.bottom,e=>e.dimensions.margin.left,s,a,l,i],(e,t,n,r,o,i,a,s,l,c)=>({width:e-i-r-c-s,left:i+c,right:r+s,height:t-n-o-a-l,top:n+a,bottom:o+l})),p=(0,r.M)([e=>e.dimensions],e=>({width:e.propsWidth,height:e.propsHeight})),f=(0,r.M)([c,u],(e,t)=>({width:e,height:t}))},87483:(e,t,n)=>{"use strict";n.d(t,{RH:()=>r,mQ:()=>o});const r=e=>e.cartesianAxis?.x,o=e=>e.cartesianAxis?.y},10184:(e,t,n)=>{"use strict";n.d(t,{M:()=>h});var r=Symbol("NOT_FOUND");var o=e=>Array.isArray(e)?e:[e];Symbol(),Object.getPrototypeOf({});var i=(e,t)=>e===t;var a="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}};function s(){return{s:0,v:void 0,o:null,p:null}}function l(e,t={}){let n={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:r}=t;let o,i=0;function l(){let t=n;const{length:l}=arguments;for(let e=0,n=l;e<n;e++){const n=arguments[e];if("function"==typeof n||"object"==typeof n&&null!==n){let e=t.o;null===e&&(t.o=e=new WeakMap);const r=e.get(n);void 0===r?(t=s(),e.set(n,t)):t=r}else{let e=t.p;null===e&&(t.p=e=new Map);const r=e.get(n);void 0===r?(t=s(),e.set(n,t)):t=r}}const c=t;let u;if(1===t.s)u=t.v;else if(u=e.apply(null,arguments),i++,r){const e=o?.deref?.()??o;null!=e&&r(e,u)&&(u=e,0!==i&&i--),o="object"==typeof u&&null!==u||"function"==typeof u?new a(u):u}return c.s=1,c.v=u,u}return l.clearCache=()=>{n={s:0,v:void 0,o:null,p:null},l.resetResultsCount()},l.resultsCount=()=>i,l.resetResultsCount=()=>{i=0},l}function c(e,...t){const n="function"==typeof e?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t,r=0,i=0,a={},s=e.pop();"object"==typeof s&&(a=s,s=e.pop()),function(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}(s,`createSelector expects an output function after the inputs, but received: [${typeof s}]`);const c={...n,...a},{memoize:u,memoizeOptions:d=[],argsMemoize:p=l,argsMemoizeOptions:f=[],devModeChecks:h={}}=c,m=o(d),g=o(f),v=function(e){const t=Array.isArray(e[0])?e[0]:e;return function(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){const n=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw new TypeError(`${t}[${n}]`)}}(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}(e),y=u(function(){return r++,s.apply(null,arguments)},...m),b=p(function(){i++;const e=function(e,t){const n=[],{length:r}=e;for(let o=0;o<r;o++)n.push(e[o].apply(null,t));return n}(v,arguments);return t=y.apply(null,e),t},...g);return Object.assign(b,{resultFunc:s,memoizedResultFunc:y,dependencies:v,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>t,recomputations:()=>r,resetRecomputations:()=>{r=0},memoize:u,argsMemoize:p})};return Object.assign(r,{withTypes:()=>r}),r}var u=c(l),d=Object.assign((e,t=u)=>{!function(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}(e,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);const n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>d});const p=c({memoize:function(e,t){const n="object"==typeof t?t:{equalityCheck:t},{equalityCheck:o=i,maxSize:a=1,resultEqualityCheck:s}=n,l=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;const{length:r}=t;for(let o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}}(o);let c=0;const u=a<=1?function(e){let t;return{get:n=>t&&e(t.key,n)?t.value:r,put(e,n){t={key:e,value:n}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}(l):function(e,t){let n=[];function o(e){const o=n.findIndex(n=>t(e,n.key));if(o>-1){const e=n[o];return o>0&&(n.splice(o,1),n.unshift(e)),e.value}return r}return{get:o,put:function(t,i){o(t)===r&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(a,l);function d(){let t=u.get(arguments);if(t===r){if(t=e.apply(null,arguments),c++,s){const e=u.getEntries().find(e=>s(e.value,t));e&&(t=e.value,0!==c&&c--)}u.put(arguments,t)}return t}return d.clearCache=()=>{u.clear(),d.resetResultsCount()},d.resultsCount=()=>c,d.resetResultsCount=()=>{c=0},d},memoizeOptions:{maxSize:1,equalityCheck:Object.is}}),f=new WeakMap,h=(...e)=>(t,...n)=>{const r=t.cacheKey;let o=f.get(r);o||(o=new Map,f.set(r,o));const i=o.get(e);if(i)return i(t,...n);const a=p(...e);return o.set(e,a),a(t,...n)}},2628:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var r=n(37121);const o=Object.is,i=(e,t,n=[],i=o)=>(0,r.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,...n),i)},97043:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var r=n(53871);function o(){const e=(0,r.N)();if(!e)throw new Error(["MUI X Charts: Could not find the charts context.","It looks like you rendered your component outside of a ChartContainer parent component."].join("\n"));return e.store}}}]);
|
|
206
|
-
//# sourceMappingURL=4765.afedf928.chunk.js.map
|