material-ui-banner
Version:
A material-ui component that allows you to add a banner underneath the app bar.
22 lines • 51 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@mui/material"),require("@mui/material/ButtonBase"),require("clsx")):"function"==typeof define&&define.amd?define(["react","@mui/material","@mui/material/ButtonBase","clsx"],t):"object"==typeof exports?exports.MaterialUiBanner=t(require("react"),require("@mui/material"),require("@mui/material/ButtonBase"),require("clsx")):e.MaterialUiBanner=t(e.React,e["@mui/material"],e["@mui/material/ButtonBase"],e.clsx)}(window,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){e.exports=n(7)()},,function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";e.exports=n(9)},function(e,t,n){"use strict";var r=n(8);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,s){if(s!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
/** @license React v17.0.2
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/n(10);var r=n(0),i=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,n){var r,o={},l=null,c=null;for(r in void 0!==n&&(l=""+n),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:l,ref:c,props:o,_owner:s.current}}t.jsx=l,t.jsxs=l},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,u=s(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){a=r(n);for(var f=0;f<a.length;f++)o.call(n,a[f])&&(u[a[f]]=n[a[f]])}}return u}},function(e,t,n){"use strict";n.r(t),n.d(t,"StaticBanner",(function(){return $n})),n.d(t,"Banner",(function(){return Gn}));var r=n(0),i=n.n(r),o=n(4),s=n.n(o),a=n(2),u=n.n(a),l=n(5),c=n.n(l),f=n(1);function p(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(){return(d=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}).apply(this,arguments)}var h="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},y="object"===("undefined"==typeof window?"undefined":h(window))&&"object"===("undefined"==typeof document?"undefined":h(document))&&9===document.nodeType;function m(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)}}function v(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,g(e,t)}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var w={}.constructor;function S(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(S);if(e.constructor!==w)return e;var t={};for(var n in e)t[n]=S(e[n]);return t}function P(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=S(t),o=r.plugins.onCreateRule(e,i,n);return o||(e[0],null)}var k=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},O=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=k(e[r]," ");else n=k(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function C(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function R(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function j(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,o=void 0===i?0:i,s=t.fallbacks;!1===n.format&&(o=-1/0);var a=C(n),u=a.linebreak,l=a.space;if(e&&o++,s)if(Array.isArray(s))for(var c=0;c<s.length;c++){var f=s[c];for(var p in f){var d=f[p];null!=d&&(r&&(r+=u),r+=R(p+":"+l+O(d)+";",o))}}else for(var h in s){var y=s[h];null!=y&&(r&&(r+=u),r+=R(h+":"+l+O(y)+";",o))}for(var m in t){var v=t[m];null!=v&&"fallbacks"!==m&&(r&&(r+=u),r+=R(m+":"+l+O(v)+";",o))}return(r||n.allowEmpty)&&e?(r&&(r=""+u+r+u),R(""+e+l+"{"+r,--o)+R("}",o)):r}var E=/([[\].#*$><+~=|^:(),"'`\s])/g,B="undefined"!=typeof CSS&&CSS.escape,A=function(e){return B?B(e):e.replace(E,"\\$1")},I=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,s=e in this.style;if(o&&!s&&!r)return this;var a=o&&s;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),_=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,s=r.scoped,a=r.sheet,u=r.generateId;return o?i.selectorText=o:!1!==s&&(i.id=u(x(x(i)),a),i.selectorText="."+A(i.id)),i}b(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=O(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?d({},e,{allowEmpty:!0}):e;return j(this.selectorText,this.style,n)},v(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(I),N={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new _(e,t,n)}},T={indent:1,children:!0},M=/@([\w-]+)/,q=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(M);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new se(d({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){void 0===e&&(e=T);var t=C(e).linebreak;if(null==e.indent&&(e.indent=T.indent),null==e.children&&(e.children=T.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),L=/@media|@supports\s+/,D={onCreateRule:function(e,t,n){return L.test(e)?new q(e,t,n):null}},U={indent:1,children:!0},$=/@keyframes\s+([\w-]+)/,G=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match($);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,s=n.generateId;for(var a in this.id=!1===i?this.name:A(s(this,o)),this.rules=new se(d({},n,{parent:this})),t)this.rules.add(a,t[a],d({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=U);var t=C(e).linebreak;if(null==e.indent&&(e.indent=U.indent),null==e.children&&(e.children=U.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),V=/@keyframes\s+/,W=/\$([\w-]+)/g,z=function(e,t){return"string"==typeof e?e.replace(W,(function(e,n){return n in t?t[n]:e})):e},F=function(e,t,n){var r=e[t],i=z(r,n);i!==r&&(e[t]=i)},J={onCreateRule:function(e,t,n){return"string"==typeof e&&V.test(e)?new G(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&F(e,"animation-name",n.keyframes),"animation"in e&&F(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return z(e,r.keyframes);default:return e}}},H=function(e){function t(){return e.apply(this,arguments)||this}return b(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?d({},e,{allowEmpty:!0}):e;return j(this.key,this.style,n)},t}(I),Y={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new H(e,t,n):null}},Q=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=C(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=j(this.at,this.style[r]),this.style[r+1]&&(n+=t);return n}return j(this.at,this.style,e)},e}(),Z=/@font-face/,K={onCreateRule:function(e,t,n){return Z.test(e)?new Q(e,t,n):null}},X=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return j(this.key,this.style,e)},e}(),ee={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new X(e,t,n):null}},te=function(){function e(e,t,n){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ne={"@charset":!0,"@import":!0,"@namespace":!0},re=[N,D,J,Y,K,ee,{onCreateRule:function(e,t,n){return e in ne?new te(e,t,n):null}}],ie={process:!0},oe={force:!0,process:!0},se=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,i=r.parent,o=r.sheet,s=r.jss,a=r.Renderer,u=r.generateId,l=r.scoped,c=d({classes:this.classes,parent:i,sheet:o,jss:s,Renderer:a,generateId:u,scoped:l,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(c.selector="."+A(this.classes[f]));var p=P(f,t,c);if(!p)return null;this.register(p);var h=void 0===c.index?this.index.length:c.index;return this.index.splice(h,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof _?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof G&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof _?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof G&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=ie);var i=this.options,o=i.jss.plugins,s=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var a=t.style;if(o.onUpdate(n,t,s,r),r.process&&a&&a!==t.style){for(var u in o.onProcessStyle(t.style,t,s),t.style){var l=t.style[u];l!==a[u]&&t.prop(u,l,oe)}for(var c in a){var f=t.style[c],p=a[c];null==f&&f!==p&&t.prop(c,null,oe)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=C(e).linebreak,o=0;o<this.index.length;o++){var s=this.index[o].toString(e);(s||r)&&(t&&(t+=i),t+=s)}return t},e}(),ae=function(){function e(e,t){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=d({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new se(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),ue=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),le=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=p(t,["attached"]),i=C(r).linebreak,o="",s=0;s<this.registry.length;s++){var a=this.registry[s];null!=n&&a.attached!==n||(o&&(o+=i),o+=a.toString(r))}return o},v(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),ce="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),fe="2f1acc6c3a606b082e5eef5e54414ffb";null==ce[fe]&&(ce[fe]=0);var pe=ce[fe]++,de=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",o="";return r&&(r.options.classNamePrefix&&(o=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(o||"c")+pe+i+t:o+n.key+"-"+pe+(i?"-"+i:"")+"-"+t}},he=function(e){var t;return function(){return t||(t=e()),t}},ye=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},me=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=O(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0},ve=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ge=function(e,t){return e.selectorText=t,e.selectorText===t},be=he((function(){return document.querySelector("head")}));function xe(e){var t=le.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=be(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var we=he((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Se=function(e,t,n){try{"insertRule"in e?e.insertRule(t,n):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[n]},Pe=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},ke=function(){function e(e){this.getPropertyValue=ye,this.setProperty=me,this.removeProperty=ve,this.setSelector=ge,this.hasInsertedRules=!1,this.cssRules=[],e&&le.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=we();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=xe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else be().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;if("conditional"===e.type||"keyframes"===e.type){var o=Pe(n,t);if(!1===(i=Se(n,r.toString({children:!1}),o)))return!1;this.refCssRule(e,o,i)}return this.insertRules(r.rules,i),i}var s=e.toString();if(!s)return!1;var a=Pe(n,t),u=Se(n,s,a);return!1!==u&&(this.hasInsertedRules=!0,this.refCssRule(e,a,u),u)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof ae&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Oe=0,Ce=function(){function e(e){this.id=Oe++,this.version="10.8.0",this.plugins=new ue,this.options={id:{minify:!1},createGenerateId:de,Renderer:y?ke:null,plugins:[]},this.generateId=de({minify:!1});for(var t=0;t<re.length;t++)this.plugins.use(re[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=d({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===le.index?0:le.index+1);var r=new ae(e,d({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),le.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=d({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=P(e,t,r);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(),Re=function(e){return new Ce(e)},je="object"==typeof CSS&&null!=CSS&&"number"in CSS;
/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/
Re();function Ee(e={}){const{baseClasses:t,newClasses:n,Component:r}=e;if(!n)return t;const i=d({},t);return Object.keys(n).forEach(e=>{n[e]&&(i[e]=`${t[e]} ${n[e]}`)}),i}var Be={set:(e,t,n,r)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:(e,t,n)=>{const r=e.get(t);return r?r.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}};var Ae=r.createContext(null);var Ie="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";const _e=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Ne=Date.now(),Te="fnValues"+Ne,Me="fnStyle"+ ++Ne,qe=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=P(e,{},n);return r[Me]=t,r},onProcessStyle:function(e,t){if(Te in t||Me in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[Te]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[Me];o&&(i.style=o(e)||{});var s=i[Te];if(s)for(var a in s)i.prop(a,s[a](e),r)}}},Le="@global",De=function(){function e(e,t,n){for(var r in this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new se(d({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Ue=function(){function e(e,t,n){this.type="global",this.at=Le,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr("@global ".length);this.rule=n.jss.createRule(r,t,d({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),$e=/\s*,\s*/g;function Ge(e,t){for(var n=e.split($e),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Ve=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Le)return new De(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new Ue(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,i=r?r[Le]:null;if(i){for(var o in i)t.addRule(o,i[o],d({},n,{selector:Ge(o,e.selector)}));delete r[Le]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var i in r)if("@"===i[0]&&i.substr(0,Le.length)===Le){var o=Ge(i.substr(Le.length),e.selector);t.addRule(o,r[i],d({},n,{selector:o})),delete r[i]}}(e,t))}}},We=/\s*,\s*/g,ze=/&/g,Fe=/\$([\w-]+)/g;var Je=function(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?i.selector:r}}function t(e,t){for(var n=t.split(We),r=e.split(We),i="",o=0;o<n.length;o++)for(var s=n[o],a=0;a<r.length;a++){var u=r[a];i&&(i+=", "),i+=-1!==u.indexOf("&")?u.replace(ze,s):s+" "+u}return i}function n(e,t,n){if(n)return d({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var i=d({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(r,i,o){if("style"!==i.type)return r;var s,a,u=i,l=u.options.parent;for(var c in r){var f=-1!==c.indexOf("&"),p="@"===c[0];if(f||p){if(s=n(u,l,s),f){var h=t(c,u.selector);a||(a=e(l,o)),h=h.replace(Fe,a),l.addRule(h,r[c],d({},s,{selector:h}))}else p&&l.addRule(c,{},s).addRule(u.key,r[c],{selector:u.selector});delete r[c]}}return r}}},He=/[A-Z]/g,Ye=/^ms-/,Qe={};function Ze(e){return"-"+e.toLowerCase()}var Ke=function(e){if(Qe.hasOwnProperty(e))return Qe[e];var t=e.replace(He,Ze);return Qe[e]=Ye.test(t)?"-"+t:t};function Xe(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Ke(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Xe):t.fallbacks=Xe(e.fallbacks)),t}var et=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Xe(e[t]);return e}return Xe(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Ke(t);return t===r?e:(n.prop(r,e),null)}}},tt=je&&CSS?CSS.px:"px",nt=je&&CSS?CSS.ms:"ms",rt=je&&CSS?CSS.percent:"%";function it(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var ot=it({"animation-delay":nt,"animation-duration":nt,"background-position":tt,"background-position-x":tt,"background-position-y":tt,"background-size":tt,border:tt,"border-bottom":tt,"border-bottom-left-radius":tt,"border-bottom-right-radius":tt,"border-bottom-width":tt,"border-left":tt,"border-left-width":tt,"border-radius":tt,"border-right":tt,"border-right-width":tt,"border-top":tt,"border-top-left-radius":tt,"border-top-right-radius":tt,"border-top-width":tt,"border-width":tt,"border-block":tt,"border-block-end":tt,"border-block-end-width":tt,"border-block-start":tt,"border-block-start-width":tt,"border-block-width":tt,"border-inline":tt,"border-inline-end":tt,"border-inline-end-width":tt,"border-inline-start":tt,"border-inline-start-width":tt,"border-inline-width":tt,"border-start-start-radius":tt,"border-start-end-radius":tt,"border-end-start-radius":tt,"border-end-end-radius":tt,margin:tt,"margin-bottom":tt,"margin-left":tt,"margin-right":tt,"margin-top":tt,"margin-block":tt,"margin-block-end":tt,"margin-block-start":tt,"margin-inline":tt,"margin-inline-end":tt,"margin-inline-start":tt,padding:tt,"padding-bottom":tt,"padding-left":tt,"padding-right":tt,"padding-top":tt,"padding-block":tt,"padding-block-end":tt,"padding-block-start":tt,"padding-inline":tt,"padding-inline-end":tt,"padding-inline-start":tt,"mask-position-x":tt,"mask-position-y":tt,"mask-size":tt,height:tt,width:tt,"min-height":tt,"max-height":tt,"min-width":tt,"max-width":tt,bottom:tt,left:tt,top:tt,right:tt,inset:tt,"inset-block":tt,"inset-block-end":tt,"inset-block-start":tt,"inset-inline":tt,"inset-inline-end":tt,"inset-inline-start":tt,"box-shadow":tt,"text-shadow":tt,"column-gap":tt,"column-rule":tt,"column-rule-width":tt,"column-width":tt,"font-size":tt,"font-size-delta":tt,"letter-spacing":tt,"text-decoration-thickness":tt,"text-indent":tt,"text-stroke":tt,"text-stroke-width":tt,"word-spacing":tt,motion:tt,"motion-offset":tt,outline:tt,"outline-offset":tt,"outline-width":tt,perspective:tt,"perspective-origin-x":rt,"perspective-origin-y":rt,"transform-origin":rt,"transform-origin-x":rt,"transform-origin-y":rt,"transform-origin-z":rt,"transition-delay":nt,"transition-duration":nt,"vertical-align":tt,"flex-basis":tt,"shape-margin":tt,size:tt,gap:tt,grid:tt,"grid-gap":tt,"row-gap":tt,"grid-row-gap":tt,"grid-column-gap":tt,"grid-template-rows":tt,"grid-template-columns":tt,"grid-auto-rows":tt,"grid-auto-columns":tt,"box-shadow-x":tt,"box-shadow-y":tt,"box-shadow-blur":tt,"box-shadow-spread":tt,"font-line-height":tt,"text-shadow-x":tt,"text-shadow-y":tt,"text-shadow-blur":tt});function st(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=st(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=st(i,t[i],n);else for(var o in t)t[o]=st(e+"-"+o,t[o],n);else if("number"==typeof t&&!1===isNaN(t)){var s=n[e]||ot[e];return!s||0===t&&s===tt?t.toString():"function"==typeof s?s(t).toString():""+t+s}return t}var at=function(e){void 0===e&&(e={});var t=it(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=st(r,e[r],t);return e},onChangeValue:function(e,n){return st(n,e,t)}}};function ut(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lt(e){return function(e){if(Array.isArray(e))return ut(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ut(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ut(e,t):void 0}}(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.")}()}var ct="",ft="",pt="",dt="",ht=y&&"ontouchstart"in document.documentElement;if(y){var yt={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},mt=document.createElement("p").style;for(var vt in yt)if(vt+"Transform"in mt){ct=vt,ft=yt[vt];break}"Webkit"===ct&&"msHyphens"in mt&&(ct="ms",ft=yt.ms,dt="edge"),"Webkit"===ct&&"-apple-trailing-word"in mt&&(pt="apple")}var gt=ct,bt=ft,xt=pt,wt=dt,St=ht;var Pt={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===gt?"-webkit-"+e:bt+e)}},kt={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===gt?bt+"print-"+e:e)}},Ot=/[-\s]+(.)?/g;function Ct(e,t){return t?t.toUpperCase():""}function Rt(e){return e.replace(Ot,Ct)}function jt(e){return Rt("-"+e)}var Et,Bt={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===gt){if(Rt("mask-image")in t)return e;if(gt+jt("mask-image")in t)return bt+e}return e}},At={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==xt||St?e:bt+e)}},It={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:bt+e)}},_t={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:bt+e)}},Nt={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===gt||"ms"===gt&&"edge"!==wt?bt+e:e)}},Tt={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===gt||"ms"===gt||"apple"===xt?bt+e:e)}},Mt={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===gt?"WebkitColumn"+jt(e)in t&&bt+"column-"+e:"Moz"===gt&&("page"+jt(e)in t&&"page-"+e))}},qt={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===gt)return e;var n=e.replace("-inline","");return gt+jt(n)in t&&bt+n}},Lt={supportedProperty:function(e,t){return Rt(e)in t&&e}},Dt={supportedProperty:function(e,t){var n=jt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:gt+n in t?bt+e:"Webkit"!==gt&&"Webkit"+n in t&&"-webkit-"+e}},Ut={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===gt?""+bt+e:e)}},$t={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===gt?bt+"scroll-chaining":e)}},Gt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Vt={supportedProperty:function(e,t){var n=Gt[e];return!!n&&(gt+jt(n)in t&&bt+n)}},Wt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},zt=Object.keys(Wt),Ft=function(e){return bt+e},Jt=[Pt,kt,Bt,At,It,_t,Nt,Tt,Mt,qt,Lt,Dt,Ut,$t,Vt,{supportedProperty:function(e,t,n){var r=n.multiple;if(zt.indexOf(e)>-1){var i=Wt[e];if(!Array.isArray(i))return gt+jt(i)in t&&bt+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(gt+jt(i[0])in t))return!1;return i.map(Ft)}return!1}}],Ht=Jt.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Yt=Jt.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,lt(t.noPrefill)),e}),[]),Qt={};if(y){Et=document.createElement("p");var Zt=window.getComputedStyle(document.documentElement,"");for(var Kt in Zt)isNaN(Kt)||(Qt[Zt[Kt]]=Zt[Kt]);Yt.forEach((function(e){return delete Qt[e]}))}function Xt(e,t){if(void 0===t&&(t={}),!Et)return e;if(null!=Qt[e])return Qt[e];"transition"!==e&&"transform"!==e||(t[e]=e in Et.style);for(var n=0;n<Ht.length&&(Qt[e]=Ht[n](e,Et.style,t),!Qt[e]);n++);try{Et.style[e]=""}catch(e){return!1}return Qt[e]}var en,tn={},nn={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},rn=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function on(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Xt(t):", "+Xt(n);return r||(t||n)}function sn(e,t){var n=t;if(!en||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=tn[r])return tn[r];try{en.style[e]=n}catch(e){return tn[r]=!1,!1}if(nn[e])n=n.replace(rn,on);else if(""===en.style[e]&&("-ms-flex"===(n=bt+n)&&(en.style[e]="-ms-flexbox"),en.style[e]=n,""===en.style[e]))return tn[r]=!1,!1;return en.style[e]="",tn[r]=n,tn[r]}y&&(en=document.createElement("p"));var an=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var i=!1,o=Xt(n);o&&o!==n&&(i=!0);var s=!1,a=sn(o,O(r));a&&a!==r&&(s=!0),(i||s)&&(i&&delete t[n],t[o||n]=a||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===gt?n:"@"+bt+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return sn(t,O(e))||e}}};var un=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r}}};function ln(){return{plugins:[qe(),Ve(),Je(),et(),at(),"undefined"==typeof window?null:an(),un()]}}n(6);const cn=Re(ln()),fn={disableGeneration:!1,generateClassName:function(e={}){const{disableGlobal:t=!1,productionPrefix:n="jss",seed:r=""}=e,i=""===r?"":r+"-";let o=0;const s=()=>(o+=1,o);return(e,o)=>{const a=o.options.name;if(a&&0===a.indexOf("Mui")&&!o.options.link&&!t){if(-1!==_e.indexOf(e.key))return"Mui-"+e.key;const t=`${i}${a}-${e.key}`;return o.options.theme[Ie]&&""===r?`${t}-${s()}`:t}return`${i}${n}${s()}`}}(),jss:cn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},pn=r.createContext(fn);let dn=-1e9;function hn(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function yn(e,t,n={clone:!0}){const r=n.clone?d({},e):e;return hn(e)&&hn(t)&&Object.keys(t).forEach(i=>{"__proto__"!==i&&(hn(t[i])&&i in e&&hn(e[i])?r[i]=yn(e[i],t[i],n):r[i]=t[i])}),r}function mn(e){if("string"!=typeof e)throw new Error(function(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}(7));return e.charAt(0).toUpperCase()+e.slice(1)}const vn=["variant"];function gn(e){return 0===e.length}function bn(e){const t="function"==typeof e;return{create:(n,r)=>{let i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return i;const o=n.components[r].styleOverrides||{},s=n.components[r].variants||[],a=d({},i);return Object.keys(o).forEach(e=>{a[e]=yn(a[e]||{},o[e])}),s.forEach(e=>{const t=function(e){const{variant:t}=e,n=p(e,vn);let r=t||"";return Object.keys(n).sort().forEach(t=>{r+="color"===t?gn(r)?e[t]:mn(e[t]):`${gn(r)?t:mn(t)}${mn(e[t].toString())}`}),r}(e.props);a[t]=yn(a[t]||{},e.style)}),a},options:{}}}var xn={};const wn=["name","classNamePrefix","Component","defaultTheme"];function Sn({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:i},o){if(n.disableGeneration)return;let s=Be.get(n.sheetsManager,r,t);s||(s={refs:0,staticSheet:null,dynamicStyles:null},Be.set(n.sheetsManager,r,t,s));const a=d({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});a.generateId=a.serverGenerateClassName||a.generateClassName;const u=n.sheetsRegistry;if(0===s.refs){let e;n.sheetsCache&&(e=Be.get(n.sheetsCache,r,t));const o=r.create(t,i);e||(e=n.jss.createStyleSheet(o,d({link:!1},a)),e.attach(),n.sheetsCache&&Be.set(n.sheetsCache,r,t,e)),u&&u.add(e),s.staticSheet=e,s.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],o=typeof i;if("function"===o)n||(n={}),n[r]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var s=e(i);s&&(n||(n={}),n[r]=s)}}return n}(o)}if(s.dynamicStyles){const t=n.jss.createStyleSheet(s.dynamicStyles,d({link:!0},a));t.update(o),t.attach(),e.dynamicSheet=t,e.classes=Ee({baseClasses:s.staticSheet.classes,newClasses:t.classes}),u&&u.add(t)}else e.classes=s.staticSheet.classes;s.refs+=1}var Pn=function(){return Object(f.useMediaQuery)((function(e){return e.breakpoints.down("md")}),{noSsr:!0})},kn=function(e){var t=e.mdUp,n=void 0!==t&&t,r=e.mdDown,i=void 0!==r&&r,o=e.children,s=Pn();return n&&!s||i&&s?null:o};function On(){return(On=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}).apply(this,arguments)}var Cn=function(e,t={}){const{name:n,classNamePrefix:i,Component:o,defaultTheme:s=xn}=t,a=p(t,wn),u=bn(e),l=n||i||"makeStyles";return u.options={index:(dn+=1,dn),name:n,meta:l,classNamePrefix:l},(e={})=>{const t=r.useContext(Ae)||s,i=d({},r.useContext(pn),a),l=r.useRef(),c=r.useRef();!function(e,t){const n=r.useRef([]);let i;const o=r.useMemo(()=>({}),t);n.current!==o&&(n.current=o,i=e()),r.useEffect(()=>()=>{i&&i()},[o])}(()=>{const r={name:n,state:{},stylesCreator:u,stylesOptions:i,theme:t};return Sn(r,e),c.current=!1,l.current=r,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=Be.get(n.sheetsManager,r,t);i.refs-=1;const o=n.sheetsRegistry;0===i.refs&&(Be.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),o&&o.remove(e.dynamicSheet))}(r)}},[t,u]),r.useEffect(()=>{c.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(l.current,e),c.current=!0});return function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Ee({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(l.current,e.classes,o)}}((function(e){return{root:{display:"block",width:"100%",marginLeft:"auto",marginRight:"auto"},cardContent:{paddingBottom:8,paddingRight:8},cardContentIconAppBar:{paddingLeft:16,paddingTop:16},cardContentIconAppBarMobile:{paddingLeft:16,paddingTop:24},cardContentIconNoAppBar:{paddingLeft:16,paddingTop:24},cardContentNoIconAppBar:{paddingLeft:24,paddingTop:8},cardContentNoIconNoAppBar:{paddingLeft:16,paddingTop:24},avatar:{height:40,width:40},flex:{flexGrow:1},buttons:{whiteSpace:"nowrap",alignSelf:"flex-end",paddingLeft:"90px !important"},label:{alignSelf:"center"}}}),{name:"MuiBanner"}),Rn=i.a.forwardRef((function(e,t){var n=e.open,o=e.label,s=e.icon,a=e.iconProps,u=e.appBar,l=e.showDismissButton,p=e.dismissButtonLabel,d=e.dismissButtonProps,h=e.buttonOnClick,y=e.buttonLabel,m=e.buttonComponent,v=e.buttonProps,g=e.paperProps,b=e.cardProps,x=e.onClose,w=Cn(),S=Pn(),P=Boolean(l||y),k=Object(r.useMemo)((function(){return i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:w.flex}),i.a.createElement(f.Grid,{item:!0,className:w.buttons},l&&i.a.createElement(f.Button,On({variant:"text",onClick:x},d),p),!!y&&i.a.createElement(f.Button,On({variant:"text",onClick:h,component:m},v),y)))}),[l,x,d,p,h,y,m,v]),O={};return u&&(O={component:f.Container,maxWidth:"lg"}),i.a.createElement(f.Collapse,{in:n,ref:t},i.a.createElement(f.Paper,On({elevation:0,className:w.root},g),i.a.createElement(f.Card,On({elevation:0},O,b),i.a.createElement(f.CardContent,{className:c()(w.cardContent,s&&u&&!S&&w.cardContentIconAppBar,s&&u&&S&&w.cardContentIconAppBarMobile,s&&!u&&w.cardContentIconNoAppBar,!s&&u&&w.cardContentNoIconAppBar,!s&&!u&&w.cardContentNoIconNoAppBar)},i.a.createElement(f.Grid,{container:!0,wrap:"nowrap",spacing:u?3:2,direction:"row",justifyContent:"flex-start",alignItems:"flex-start"},s&&i.a.createElement(f.Grid,{item:!0},i.a.createElement(f.Avatar,On({className:w.avatar,sx:{bgcolor:"primary.main"}},a),s)),i.a.createElement(f.Grid,{item:!0,className:w.label},i.a.createElement(f.Typography,{variant:"body2"},o)),i.a.createElement(kn,{mdDown:!0},u&&P&&k))),!u&&P&&i.a.createElement(kn,{mdDown:!0},i.a.createElement(f.CardActions,null,k)),P&&i.a.createElement(kn,{mdUp:!0},i.a.createElement(f.CardActions,null,k)),i.a.createElement(kn,{mdDown:!0},i.a.createElement("div",null))),i.a.createElement(f.Divider,null)))}));Rn.propTypes={open:u.a.bool.isRequired,label:u.a.string.isRequired,buttonLabel:u.a.string,buttonOnClick:u.a.func,buttonComponent:u.a.any,buttonProps:u.a.object,showDismissButton:u.a.bool,dismissButtonLabel:u.a.string,dismissButtonProps:u.a.object,onClose:u.a.func,icon:u.a.element,iconProps:u.a.object,appBar:u.a.bool,paperProps:u.a.object,cardProps:u.a.object},Rn.defaultProps={open:!0,buttonOnClick:function(){},showDismissButton:!0,dismissButtonLabel:"Dismiss",dismissButtonProps:{},appBar:!1,buttonComponent:f.ButtonBase,buttonProps:{},iconProps:{},paperProps:{},cardProps:{}},Rn.displayName="MuiBanner";var jn=Rn;function En(e){return(En="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)}function Bn(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 An(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(n),!0).forEach((function(t){Dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function In(){return(In=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}).apply(this,arguments)}function _n(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)}}function Nn(e,t){return(Nn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Tn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ln(e);if(t){var i=Ln(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Mn(this,n)}}function Mn(e,t){if(t&&("object"===En(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qn(e)}function qn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ln(e){return(Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Un=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nn(e,t)}(a,e);var t,n,r,o=Tn(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Dn(qn(t=o.call(this,e)),"handleClose",(function(){t.state.options.onClose(),t.setState({open:!1})})),t.state={open:!1,options:{label:"",buttonLabel:"",buttonOnClick:function(){},buttonComponent:s.a,buttonProps:{},showDismissButton:!0,dismissButtonLabel:"Dismiss",dismissButtonProps:{},icon:null,iconProps:{}}},jn.Instance=qn(t),t}return t=a,r=[{key:"hide",value:function(){jn.Instance.setState({open:!1})}},{key:"show",value:function(e){var t=e.label,n=void 0===t?"":t,r=e.buttonLabel,i=void 0===r?"":r,o=e.buttonOnClick,a=void 0===o?function(){}:o,u=e.buttonComponent