UNPKG

@nebula.js/sn-kpi

Version:

KPI supernova

14 lines (13 loc) 1.94 MB
/* * @nebula.js/sn-kpi v2.4.0 * Copyright (c) 2026 QlikTech International AB * Released under the MIT license. */ System.register(["react","./index-DQQ-p6jz.js","@nebula.js/stardust","react-dom"],(function(e){"use strict";var c,t,h,l,a,v,z;return{setters:[function(e){c=e.default,t=e},function(e){h=e._,l=e.a,a=e.b,v=e.h,z=e.j},null,null],execute:function(){function m(e){return m="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},m(e)}function n(e){var c=function(e,c){if("object"!=m(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var h=t.call(e,c);if("object"!=m(h))return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(e)}(e,"string");return"symbol"==m(c)?c:c+""}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e){return e&&"object"===m(e)&&e.constructor===Object}function H(e,c){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=t.clone?h({},e):e;return d(e)&&d(c)&&Object.keys(c).forEach((function(h){"__proto__"!==h&&(d(c[h])&&h in e?l[h]=H(e[h],c[h],t):l[h]=c[h])})),l}function M(e,c,t){return(c=n(c))in e?Object.defineProperty(e,c,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[c]=t,e}function s(e){for(var c="https://mui.com/production-error/?code="+e,t=1;t<arguments.length;t+=1)c+="&args[]="+encodeURIComponent(arguments[t]);return"Minified Material-UI error #"+e+"; visit "+c+" for the full message."}function V(e){if("string"!=typeof e)throw new Error(s(7));return e.charAt(0).toUpperCase()+e.slice(1)}function p(e,c){if(null==e)return{};var t,h,a=l(e,c);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(e);for(h=0;h<v.length;h++)t=v[h],c.includes(t)||{}.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}function o(e){var c,t,h="";if("string"==typeof e||"number"==typeof e)h+=e;else if("object"==typeof e)if(Array.isArray(e))for(c=0;c<e.length;c++)e[c]&&(t=o(e[c]))&&(h&&(h+=" "),h+=t);else for(c in e)e[c]&&(h&&(h+=" "),h+=c);return h}function i(){for(var e,c,t=0,h="";t<arguments.length;)(e=arguments[t++])&&(c=o(e))&&(h&&(h+=" "),h+=c);return h}var E="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",L=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var u="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},C="object"===("undefined"==typeof window?"undefined":u(window))&&"object"===("undefined"==typeof document?"undefined":u(document))&&9===document.nodeType;function S(e,c,t){return c&&function(e,c){for(var t=0;t<c.length;t++){var h=c[t];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(e,n(h.key),h)}}(e.prototype,c),Object.defineProperty(e,"prototype",{writable:!1}),e}var T={}.constructor;function g(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(g);if(e.constructor!==T)return e;var c={};for(var t in e)c[t]=g(e[t]);return c}function y(e,c,t){void 0===e&&(e="unnamed");var h=t.jss,l=g(c),a=h.plugins.onCreateRule(e,l,t);return a||(e[0],null)}var F=function(e,c){for(var t="",h=0;h<e.length&&"!important"!==e[h];h++)t&&(t+=c),t+=e[h];return t},f=function(e){if(!Array.isArray(e))return e;var c="";if(Array.isArray(e[0]))for(var t=0;t<e.length&&"!important"!==e[t];t++)c&&(c+=", "),c+=F(e[t]," ");else c=F(e,", ");return"!important"===e[e.length-1]&&(c+=" !important"),c};function w(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function O(e,c){for(var t="",h=0;h<c;h++)t+=" ";return t+e}function R(e,c,t){void 0===t&&(t={});var h="";if(!c)return h;var l=t.indent,a=void 0===l?0:l,v=c.fallbacks;!1===t.format&&(a=-1/0);var z=w(t),m=z.linebreak,n=z.space;if(e&&a++,v)if(Array.isArray(v))for(var r=0;r<v.length;r++){var d=v[r];for(var H in d){var M=d[H];null!=M&&(h&&(h+=m),h+=O(H+":"+n+f(M)+";",a))}}else for(var s in v){var V=v[s];null!=V&&(h&&(h+=m),h+=O(s+":"+n+f(V)+";",a))}for(var p in c){var o=c[p];null!=o&&"fallbacks"!==p&&(h&&(h+=m),h+=O(p+":"+n+f(o)+";",a))}return(h||t.allowEmpty)&&e?(h&&(h=""+m+h+m),O(""+e+n+"{"+h,--a)+O("}",a)):h}var A=/([[\].#*$><+~=|^:(),"'`\s])/g,x="undefined"!=typeof CSS&&CSS.escape,b=function(e){return x?x(e):e.replace(A,"\\$1")},P=function(){function e(e,c,t){this.type="style",this.isProcessed=!1;var h=t.sheet,l=t.Renderer;this.key=e,this.options=t,this.style=c,h?this.renderer=h.renderer:l&&(this.renderer=new l)}return e.prototype.prop=function(e,c,t){if(void 0===c)return this.style[e];var h=!!t&&t.force;if(!h&&this.style[e]===c)return this;var l=c;t&&!1===t.process||(l=this.options.jss.plugins.onChangeValue(c,e,this));var a=null==l||!1===l,v=e in this.style;if(a&&!v&&!h)return this;var z=a&&v;if(z?delete this.style[e]:this.style[e]=l,this.renderable&&this.renderer)return z?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,l),this;var m=this.options.sheet;return m&&m.attached,this},e}(),k=function(e){function c(c,t,h){var l;l=e.call(this,c,t,h)||this;var a=h.selector,v=h.scoped,z=h.sheet,m=h.generateId;return a?l.selectorText=a:!1!==v&&(l.id=m(r(r(l)),z),l.selectorText="."+b(l.id)),l}a(c,e);var t=c.prototype;return t.applyTo=function(e){var c=this.renderer;if(c){var t=this.toJSON();for(var h in t)c.setProperty(e,h,t[h])}return this},t.toJSON=function(){var e={};for(var c in this.style){var t=this.style[c];"object"!=typeof t?e[c]=t:Array.isArray(t)&&(e[c]=f(t))}return e},t.toString=function(e){var c=this.options.sheet,t=!!c&&c.options.link?h({},e,{allowEmpty:!0}):e;return R(this.selectorText,this.style,t)},S(c,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var c=this.renderer,t=this.renderable;if(t&&c)c.setSelector(t,e)||c.replaceRule(t,this)}},get:function(){return this.selectorText}}]),c}(P),B={onCreateRule:function(e,c,t){return"@"===e[0]||t.parent&&"keyframes"===t.parent.type?null:new k(e,c,t)}},D={indent:1,children:!0},I=/@([\w-]+)/,N=function(){function e(e,c,t){this.type="conditional",this.isProcessed=!1,this.key=e;var l=e.match(I);for(var a in this.at=l?l[1]:"unknown",this.query=t.name||"@"+this.at,this.options=t,this.rules=new re(h({},t,{parent:this})),c)this.rules.add(a,c[a]);this.rules.process()}var c=e.prototype;return c.getRule=function(e){return this.rules.get(e)},c.indexOf=function(e){return this.rules.indexOf(e)},c.addRule=function(e,c,t){var h=this.rules.add(e,c,t);return h?(this.options.jss.plugins.onProcessRule(h),h):null},c.replaceRule=function(e,c,t){var h=this.rules.replace(e,c,t);return h&&this.options.jss.plugins.onProcessRule(h),h},c.toString=function(e){void 0===e&&(e=D);var c=w(e).linebreak;if(null==e.indent&&(e.indent=D.indent),null==e.children&&(e.children=D.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {"+c+t+c+"}":""},e}(),W=/@container|@media|@supports\s+/,U={onCreateRule:function(e,c,t){return W.test(e)?new N(e,c,t):null}},G={indent:1,children:!0},j=/@keyframes\s+([\w-]+)/,K=function(){function e(e,c,t){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var l=e.match(j);l&&l[1]?this.name=l[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=t;var a=t.scoped,v=t.sheet,z=t.generateId;for(var m in this.id=!1===a?this.name:b(z(this,v)),this.rules=new re(h({},t,{parent:this})),c)this.rules.add(m,c[m],h({},t,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=G);var c=w(e).linebreak;if(null==e.indent&&(e.indent=G.indent),null==e.children&&(e.children=G.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t=""+c+t+c),this.at+" "+this.id+" {"+t+"}"},e}(),Q=/@keyframes\s+/,q=/\$([\w-]+)/g,Z=function(e,c){return"string"==typeof e?e.replace(q,(function(e,t){return t in c?c[t]:e})):e},_=function(e,c,t){var h=e[c],l=Z(h,t);l!==h&&(e[c]=l)},J={onCreateRule:function(e,c,t){return"string"==typeof e&&Q.test(e)?new K(e,c,t):null},onProcessStyle:function(e,c,t){return"style"===c.type&&t?("animation-name"in e&&_(e,"animation-name",t.keyframes),"animation"in e&&_(e,"animation",t.keyframes),e):e},onChangeValue:function(e,c,t){var h=t.options.sheet;if(!h)return e;switch(c){case"animation":case"animation-name":return Z(e,h.keyframes);default:return e}}},Y=function(e){function c(){return e.apply(this,arguments)||this}return a(c,e),c.prototype.toString=function(e){var c=this.options.sheet,t=!!c&&c.options.link?h({},e,{allowEmpty:!0}):e;return R(this.key,this.style,t)},c}(P),$={onCreateRule:function(e,c,t){return t.parent&&"keyframes"===t.parent.type?new Y(e,c,t):null}},X=function(){function e(e,c,t){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=c,this.options=t}return e.prototype.toString=function(e){var c=w(e).linebreak;if(Array.isArray(this.style)){for(var t="",h=0;h<this.style.length;h++)t+=R(this.at,this.style[h]),this.style[h+1]&&(t+=c);return t}return R(this.at,this.style,e)},e}(),ee=/@font-face/,ce={onCreateRule:function(e,c,t){return ee.test(e)?new X(e,c,t):null}},te=function(){function e(e,c,t){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=c,this.options=t}return e.prototype.toString=function(e){return R(this.key,this.style,e)},e}(),he={onCreateRule:function(e,c,t){return"@viewport"===e||"@-ms-viewport"===e?new te(e,c,t):null}},le=function(){function e(e,c,t){this.type="simple",this.isProcessed=!1,this.key=e,this.value=c,this.options=t}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var c="",t=0;t<this.value.length;t++)c+=this.key+" "+this.value[t]+";",this.value[t+1]&&(c+="\n");return c}return this.key+" "+this.value+";"},e}(),ae={"@charset":!0,"@import":!0,"@namespace":!0},ve={onCreateRule:function(e,c,t){return e in ae?new le(e,c,t):null}},ze=[B,U,J,$,ce,he,ve],me={process:!0},ne={force:!0,process:!0},re=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 c=e.prototype;return c.add=function(e,c,t){var l=this.options,a=l.parent,v=l.sheet,z=l.jss,m=l.Renderer,n=l.generateId,r=l.scoped,d=h({classes:this.classes,parent:a,sheet:v,jss:z,Renderer:m,generateId:n,scoped:r,name:e,keyframes:this.keyframes,selector:void 0},t),H=e;e in this.raw&&(H=e+"-d"+this.counter++),this.raw[H]=c,H in this.classes&&(d.selector="."+b(this.classes[H]));var M=y(H,c,d);if(!M)return null;this.register(M);var s=void 0===d.index?this.index.length:d.index;return this.index.splice(s,0,M),M},c.replace=function(e,c,t){var l=this.get(e),a=this.index.indexOf(l);l&&this.remove(l);var v=t;return-1!==a&&(v=h({},t,{index:a})),this.add(e,c,v)},c.get=function(e){return this.map[e]},c.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},c.indexOf=function(e){return this.index.indexOf(e)},c.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},c.register=function(e){this.map[e.key]=e,e instanceof k?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof K&&this.keyframes&&(this.keyframes[e.name]=e.id)},c.unregister=function(e){delete this.map[e.key],e instanceof k?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof K&&delete this.keyframes[e.name]},c.update=function(){var e,c,t;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],c=arguments.length<=1?void 0:arguments[1],t=arguments.length<=2?void 0:arguments[2]):(c=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),c,t);else for(var h=0;h<this.index.length;h++)this.updateOne(this.index[h],c,t)},c.updateOne=function(c,t,h){void 0===h&&(h=me);var l=this.options,a=l.jss.plugins,v=l.sheet;if(c.rules instanceof e)c.rules.update(t,h);else{var z=c.style;if(a.onUpdate(t,c,v,h),h.process&&z&&z!==c.style){for(var m in a.onProcessStyle(c.style,c,v),c.style){var n=c.style[m];n!==z[m]&&c.prop(m,n,ne)}for(var r in z){var d=c.style[r],H=z[r];null==d&&d!==H&&c.prop(r,null,ne)}}}},c.toString=function(e){for(var c="",t=this.options.sheet,h=!!t&&t.options.link,l=w(e).linebreak,a=0;a<this.index.length;a++){var v=this.index[a].toString(e);(v||h)&&(c&&(c+=l),c+=v)}return c},e}(),de=function(){function e(e,c){for(var t in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=h({},c,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),c.Renderer&&(this.renderer=new c.Renderer(this)),this.rules=new re(this.options),e)this.rules.add(t,e[t]);this.rules.process()}var c=e.prototype;return c.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},c.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},c.addRule=function(e,c,t){var h=this.queue;this.attached&&!h&&(this.queue=[]);var l=this.rules.add(e,c,t);return l?(this.options.jss.plugins.onProcessRule(l),this.attached?this.deployed?(h?h.push(l):(this.insertRule(l),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),l):l:(this.deployed=!1,l)):null},c.replaceRule=function(e,c,t){var h=this.rules.get(e);if(!h)return this.addRule(e,c,t);var l=this.rules.replace(e,c,t);return l&&this.options.jss.plugins.onProcessRule(l),this.attached?this.deployed?(this.renderer&&(l?h.renderable&&this.renderer.replaceRule(h.renderable,l):this.renderer.deleteRule(h)),l):l:(this.deployed=!1,l)},c.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},c.addRules=function(e,c){var t=[];for(var h in e){var l=this.addRule(h,e[h],c);l&&t.push(l)}return t},c.getRule=function(e){return this.rules.get(e)},c.deleteRule=function(e){var c="object"==typeof e?e:this.rules.get(e);return!(!c||this.attached&&!c.renderable)&&(this.rules.remove(c),!(this.attached&&c.renderable&&this.renderer)||this.renderer.deleteRule(c.renderable))},c.indexOf=function(e){return this.rules.indexOf(e)},c.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},c.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},c.updateOne=function(e,c,t){return this.rules.updateOne(e,c,t),this},c.toString=function(e){return this.rules.toString(e)},e}(),He=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var c=e.prototype;return c.onCreateRule=function(e,c,t){for(var h=0;h<this.registry.onCreateRule.length;h++){var l=this.registry.onCreateRule[h](e,c,t);if(l)return l}return null},c.onProcessRule=function(e){if(!e.isProcessed){for(var c=e.options.sheet,t=0;t<this.registry.onProcessRule.length;t++)this.registry.onProcessRule[t](e,c);e.style&&this.onProcessStyle(e.style,e,c),e.isProcessed=!0}},c.onProcessStyle=function(e,c,t){for(var h=0;h<this.registry.onProcessStyle.length;h++)c.style=this.registry.onProcessStyle[h](c.style,c,t)},c.onProcessSheet=function(e){for(var c=0;c<this.registry.onProcessSheet.length;c++)this.registry.onProcessSheet[c](e)},c.onUpdate=function(e,c,t,h){for(var l=0;l<this.registry.onUpdate.length;l++)this.registry.onUpdate[l](e,c,t,h)},c.onChangeValue=function(e,c,t){for(var h=e,l=0;l<this.registry.onChangeValue.length;l++)h=this.registry.onChangeValue[l](h,c,t);return h},c.use=function(e,c){void 0===c&&(c={queue:"external"});var t=this.plugins[c.queue];-1===t.indexOf(e)&&(t.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,c){for(var t in c)t in e&&e[t].push(c[t]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Me=function(){function e(){this.registry=[]}var c=e.prototype;return c.add=function(e){var c=this.registry,t=e.options.index;if(-1===c.indexOf(e))if(0===c.length||t>=this.index)c.push(e);else for(var h=0;h<c.length;h++)if(c[h].options.index>t)return void c.splice(h,0,e)},c.reset=function(){this.registry=[]},c.remove=function(e){var c=this.registry.indexOf(e);this.registry.splice(c,1)},c.toString=function(e){for(var c=void 0===e?{}:e,t=c.attached,h=l(c,["attached"]),a=w(h).linebreak,v="",z=0;z<this.registry.length;z++){var m=this.registry[z];null!=t&&m.attached!==t||(v&&(v+=a),v+=m.toString(h))}return v},S(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),se=new Me,Ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),pe="2f1acc6c3a606b082e5eef5e54414ffb";null==Ve[pe]&&(Ve[pe]=0);var oe=Ve[pe]++,ie=function(e){void 0===e&&(e={});var c=0;return function(t,h){c+=1;var l="",a="";return h&&(h.options.classNamePrefix&&(a=h.options.classNamePrefix),null!=h.options.jss.id&&(l=String(h.options.jss.id))),e.minify?""+(a||"c")+oe+l+c:a+t.key+"-"+oe+(l?"-"+l:"")+"-"+c}},Ee=function(e){var c;return function(){return c||(c=e()),c}},Le=function(e,c){try{return e.attributeStyleMap?e.attributeStyleMap.get(c):e.style.getPropertyValue(c)}catch(e){return""}},ue=function(e,c,t){try{var h=t;if(Array.isArray(t)&&(h=f(t)),e.attributeStyleMap)e.attributeStyleMap.set(c,h);else{var l=h?h.indexOf("!important"):-1,a=l>-1?h.substr(0,l-1):h;e.style.setProperty(c,a,l>-1?"important":"")}}catch(e){return!1}return!0},Ce=function(e,c){try{e.attributeStyleMap?e.attributeStyleMap.delete(c):e.style.removeProperty(c)}catch(e){}},Se=function(e,c){return e.selectorText=c,e.selectorText===c},Te=Ee((function(){return document.querySelector("head")}));function ge(e){var c=se.registry;if(c.length>0){var t=function(e,c){for(var t=0;t<e.length;t++){var h=e[t];if(h.attached&&h.options.index>c.index&&h.options.insertionPoint===c.insertionPoint)return h}return null}(c,e);if(t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element};if(t=function(e,c){for(var t=e.length-1;t>=0;t--){var h=e[t];if(h.attached&&h.options.insertionPoint===c.insertionPoint)return h}return null}(c,e),t&&t.renderer)return{parent:t.renderer.element.parentNode,node:t.renderer.element.nextSibling}}var h=e.insertionPoint;if(h&&"string"==typeof h){var l=function(e){for(var c=Te(),t=0;t<c.childNodes.length;t++){var h=c.childNodes[t];if(8===h.nodeType&&h.nodeValue.trim()===e)return h}return null}(h);if(l)return{parent:l.parentNode,node:l.nextSibling}}return!1}var ye=Ee((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Fe=function(e,c,t){try{"insertRule"in e?e.insertRule(c,t):"appendRule"in e&&e.appendRule(c)}catch(e){return!1}return e.cssRules[t]},fe=function(e,c){var t=e.cssRules.length;return void 0===c||c>t?t:c},we=function(){function e(e){this.getPropertyValue=Le,this.setProperty=ue,this.removeProperty=Ce,this.setSelector=Se,this.hasInsertedRules=!1,this.cssRules=[],e&&se.add(e),this.sheet=e;var c=this.sheet?this.sheet.options:{},t=c.media,h=c.meta,l=c.element;this.element=l||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),h&&this.element.setAttribute("data-meta",h);var a=ye();a&&this.element.setAttribute("nonce",a)}var c=e.prototype;return c.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,c){var t=c.insertionPoint,h=ge(c);if(!1!==h&&h.parent)h.parent.insertBefore(e,h.node);else if(t&&"number"==typeof t.nodeType){var l=t,a=l.parentNode;a&&a.insertBefore(e,l.nextSibling)}else Te().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},c.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")}},c.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},c.insertRules=function(e,c){for(var t=0;t<e.index.length;t++)this.insertRule(e.index[t],t,c)},c.insertRule=function(e,c,t){if(void 0===t&&(t=this.element.sheet),e.rules){var h=e,l=t;if("conditional"===e.type||"keyframes"===e.type){var a=fe(t,c);if(!1===(l=Fe(t,h.toString({children:!1}),a)))return!1;this.refCssRule(e,a,l)}return this.insertRules(h.rules,l),l}var v=e.toString();if(!v)return!1;var z=fe(t,c),m=Fe(t,v,z);return!1!==m&&(this.hasInsertedRules=!0,this.refCssRule(e,z,m),m)},c.refCssRule=function(e,c,t){e.renderable=t,e.options.parent instanceof de&&this.cssRules.splice(c,0,t)},c.deleteRule=function(e){var c=this.element.sheet,t=this.indexOf(e);return-1!==t&&(c.deleteRule(t),this.cssRules.splice(t,1),!0)},c.indexOf=function(e){return this.cssRules.indexOf(e)},c.replaceRule=function(e,c){var t=this.indexOf(e);return-1!==t&&(this.element.sheet.deleteRule(t),this.cssRules.splice(t,1),this.insertRule(c,t))},c.getRules=function(){return this.element.sheet.cssRules},e}(),Oe=0,Re=function(){function e(e){this.id=Oe++,this.version="10.10.0",this.plugins=new He,this.options={id:{minify:!1},createGenerateId:ie,Renderer:C?we:null,plugins:[]},this.generateId=ie({minify:!1});for(var c=0;c<ze.length;c++)this.plugins.use(ze[c],{queue:"internal"});this.setup(e)}var c=e.prototype;return c.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=h({},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},c.createStyleSheet=function(e,c){void 0===c&&(c={});var t=c.index;"number"!=typeof t&&(t=0===se.index?0:se.index+1);var l=new de(e,h({},c,{jss:this,generateId:c.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:t}));return this.plugins.onProcessSheet(l),l},c.removeStyleSheet=function(e){return e.detach(),se.remove(e),this},c.createRule=function(e,c,t){if(void 0===c&&(c={}),void 0===t&&(t={}),"object"==typeof e)return this.createRule(void 0,e,c);var l=h({},t,{name:e,jss:this,Renderer:this.options.Renderer});l.generateId||(l.generateId=this.generateId),l.classes||(l.classes={}),l.keyframes||(l.keyframes={});var a=y(e,c,l);return a&&this.plugins.onProcessRule(a),a},c.use=function(){for(var e=this,c=arguments.length,t=new Array(c),h=0;h<c;h++)t[h]=arguments[h];return t.forEach((function(c){e.plugins.use(c)})),this},e}(),Ae=function(e){return new Re(e)},xe="object"==typeof CSS&&null!=CSS&&"number"in CSS;function be(e){var c=null;for(var t in e){var h=e[t],l=typeof h;if("function"===l)c||(c={}),c[t]=h;else if("object"===l&&null!==h&&!Array.isArray(h)){var a=be(h);a&&(c||(c={}),c[t]=a)}}return c} /** * A better abstraction over CSS. * * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present * @website https://github.com/cssinjs/jss * @license MIT */Ae();var Pe=Date.now(),ke="fnValues"+Pe,Be="fnStyle"+ ++Pe,De="@global",Ie="@global ",Ne=function(){function e(e,c,t){for(var l in this.type="global",this.at=De,this.isProcessed=!1,this.key=e,this.options=t,this.rules=new re(h({},t,{parent:this})),c)this.rules.add(l,c[l]);this.rules.process()}var c=e.prototype;return c.getRule=function(e){return this.rules.get(e)},c.addRule=function(e,c,t){var h=this.rules.add(e,c,t);return h&&this.options.jss.plugins.onProcessRule(h),h},c.replaceRule=function(e,c,t){var h=this.rules.replace(e,c,t);return h&&this.options.jss.plugins.onProcessRule(h),h},c.indexOf=function(e){return this.rules.indexOf(e)},c.toString=function(e){return this.rules.toString(e)},e}(),We=function(){function e(e,c,t){this.type="global",this.at=De,this.isProcessed=!1,this.key=e,this.options=t;var l=e.substr(8);this.rule=t.jss.createRule(l,c,h({},t,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Ue=/\s*,\s*/g;function Ge(e,c){for(var t=e.split(Ue),h="",l=0;l<t.length;l++)h+=c+" "+t[l].trim(),t[l+1]&&(h+=", ");return h}function je(){return{onCreateRule:function(e,c,t){if(!e)return null;if(e===De)return new Ne(e,c,t);if("@"===e[0]&&e.substr(0,8)===Ie)return new We(e,c,t);var h=t.parent;return h&&("global"===h.type||h.options.parent&&"global"===h.options.parent.type)&&(t.scoped=!1),t.selector||!1!==t.scoped||(t.selector=e),null},onProcessRule:function(e,c){"style"===e.type&&c&&(function(e,c){var t=e.options,l=e.style,a=l?l[De]:null;if(a){for(var v in a)c.addRule(v,a[v],h({},t,{selector:Ge(v,e.selector)}));delete l[De]}}(e,c),function(e,c){var t=e.options,l=e.style;for(var a in l)if("@"===a[0]&&a.substr(0,7)===De){var v=Ge(a.substr(7),e.selector);c.addRule(v,l[a],h({},t,{selector:v})),delete l[a]}}(e,c))}}}var Ke=/\s*,\s*/g,Qe=/&/g,qe=/\$([\w-]+)/g;function Ze(){function e(e,c){return function(t,h){var l=e.getRule(h)||c&&c.getRule(h);return l?l.selector:h}}function c(e,c){for(var t=c.split(Ke),h=e.split(Ke),l="",a=0;a<t.length;a++)for(var v=t[a],z=0;z<h.length;z++){var m=h[z];l&&(l+=", "),l+=-1!==m.indexOf("&")?m.replace(Qe,v):v+" "+m}return l}function t(e,c,t){if(t)return h({},t,{index:t.index+1});var l=e.options.nestingLevel;l=void 0===l?1:l+1;var a=h({},e.options,{nestingLevel:l,index:c.indexOf(e)+1});return delete a.name,a}return{onProcessStyle:function(l,a,v){if("style"!==a.type)return l;var z,m,n=a,r=n.options.parent;for(var d in l){var H=-1!==d.indexOf("&"),M="@"===d[0];if(H||M){if(z=t(n,r,z),H){var s=c(d,n.selector);m||(m=e(r,v)),s=s.replace(qe,m);var V=n.key+"-"+d;"replaceRule"in r?r.replaceRule(V,l[d],h({},z,{selector:s})):r.addRule(V,l[d],h({},z,{selector:s}))}else M&&r.addRule(d,{},z).addRule(n.key,l[d],{selector:n.selector});delete l[d]}}return l}}}var _e=/[A-Z]/g,Je=/^ms-/,Ye={};function $e(e){return"-"+e.toLowerCase()}function Xe(e){if(Ye.hasOwnProperty(e))return Ye[e];var c=e.replace(_e,$e);return Ye[e]=Je.test(c)?"-"+c:c}function ec(e){var c={};for(var t in e){c[0===t.indexOf("--")?t:Xe(t)]=e[t]}return e.fallbacks&&(Array.isArray(e.fallbacks)?c.fallbacks=e.fallbacks.map(ec):c.fallbacks=ec(e.fallbacks)),c}var cc=xe&&CSS?CSS.px:"px",tc=xe&&CSS?CSS.ms:"ms",hc=xe&&CSS?CSS.percent:"%";function lc(e){var c=/(-[a-z])/g,t=function(e){return e[1].toUpperCase()},h={};for(var l in e)h[l]=e[l],h[l.replace(c,t)]=e[l];return h}var ac=lc({"animation-delay":tc,"animation-duration":tc,"background-position":cc,"background-position-x":cc,"background-position-y":cc,"background-size":cc,border:cc,"border-bottom":cc,"border-bottom-left-radius":cc,"border-bottom-right-radius":cc,"border-bottom-width":cc,"border-left":cc,"border-left-width":cc,"border-radius":cc,"border-right":cc,"border-right-width":cc,"border-top":cc,"border-top-left-radius":cc,"border-top-right-radius":cc,"border-top-width":cc,"border-width":cc,"border-block":cc,"border-block-end":cc,"border-block-end-width":cc,"border-block-start":cc,"border-block-start-width":cc,"border-block-width":cc,"border-inline":cc,"border-inline-end":cc,"border-inline-end-width":cc,"border-inline-start":cc,"border-inline-start-width":cc,"border-inline-width":cc,"border-start-start-radius":cc,"border-start-end-radius":cc,"border-end-start-radius":cc,"border-end-end-radius":cc,margin:cc,"margin-bottom":cc,"margin-left":cc,"margin-right":cc,"margin-top":cc,"margin-block":cc,"margin-block-end":cc,"margin-block-start":cc,"margin-inline":cc,"margin-inline-end":cc,"margin-inline-start":cc,padding:cc,"padding-bottom":cc,"padding-left":cc,"padding-right":cc,"padding-top":cc,"padding-block":cc,"padding-block-end":cc,"padding-block-start":cc,"padding-inline":cc,"padding-inline-end":cc,"padding-inline-start":cc,"mask-position-x":cc,"mask-position-y":cc,"mask-size":cc,height:cc,width:cc,"min-height":cc,"max-height":cc,"min-width":cc,"max-width":cc,bottom:cc,left:cc,top:cc,right:cc,inset:cc,"inset-block":cc,"inset-block-end":cc,"inset-block-start":cc,"inset-inline":cc,"inset-inline-end":cc,"inset-inline-start":cc,"box-shadow":cc,"text-shadow":cc,"column-gap":cc,"column-rule":cc,"column-rule-width":cc,"column-width":cc,"font-size":cc,"font-size-delta":cc,"letter-spacing":cc,"text-decoration-thickness":cc,"text-indent":cc,"text-stroke":cc,"text-stroke-width":cc,"word-spacing":cc,motion:cc,"motion-offset":cc,outline:cc,"outline-offset":cc,"outline-width":cc,perspective:cc,"perspective-origin-x":hc,"perspective-origin-y":hc,"transform-origin":hc,"transform-origin-x":hc,"transform-origin-y":hc,"transform-origin-z":hc,"transition-delay":tc,"transition-duration":tc,"vertical-align":cc,"flex-basis":cc,"shape-margin":cc,size:cc,gap:cc,grid:cc,"grid-gap":cc,"row-gap":cc,"grid-row-gap":cc,"grid-column-gap":cc,"grid-template-rows":cc,"grid-template-columns":cc,"grid-auto-rows":cc,"grid-auto-columns":cc,"box-shadow-x":cc,"box-shadow-y":cc,"box-shadow-blur":cc,"box-shadow-spread":cc,"font-line-height":cc,"text-shadow-x":cc,"text-shadow-y":cc,"text-shadow-blur":cc});function vc(e,c,t){if(null==c)return c;if(Array.isArray(c))for(var h=0;h<c.length;h++)c[h]=vc(e,c[h],t);else if("object"==typeof c)if("fallbacks"===e)for(var l in c)c[l]=vc(l,c[l],t);else for(var a in c)c[a]=vc(e+"-"+a,c[a],t);else if("number"==typeof c&&!1===isNaN(c)){var v=t[e]||ac[e];return!v||0===c&&v===cc?c.toString():"function"==typeof v?v(c).toString():""+c+v}return c}function zc(e){void 0===e&&(e={});var c=lc(e);return{onProcessStyle:function(e,t){if("style"!==t.type)return e;for(var h in e)e[h]=vc(h,e[h],c);return e},onChangeValue:function(e,t){return vc(t,e,c)}}}function mc(e,c){(null==c||c>e.length)&&(c=e.length);for(var t=0,h=Array(c);t<c;t++)h[t]=e[t];return h}function nc(e){return function(e){if(Array.isArray(e))return mc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,c){if(e){if("string"==typeof e)return mc(e,c);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?mc(e,c):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 rc="",dc="",Hc="",Mc="",sc=C&&"ontouchstart"in document.documentElement;if(C){var Vc={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},pc=document.createElement("p").style;for(var oc in Vc)if(oc+"Transform"in pc){rc=oc,dc=Vc[oc];break}"Webkit"===rc&&"msHyphens"in pc&&(rc="ms",dc=Vc.ms,Mc="edge"),"Webkit"===rc&&"-apple-trailing-word"in pc&&(Hc="apple")}var ic=rc,Ec=dc,Lc=Hc,uc=Mc,Cc=sc;var Sc={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ic?"-webkit-"+e:Ec+e)}},Tc={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ic?Ec+"print-"+e:e)}},gc=/[-\s]+(.)?/g;function yc(e,c){return c?c.toUpperCase():""}function Fc(e){return e.replace(gc,yc)}function fc(e){return Fc("-"+e)}var wc,Oc={noPrefill:["mask"],supportedProperty:function(e,c){if(!/^mask/.test(e))return!1;if("Webkit"===ic){var t="mask-image";if(Fc(t)in c)return e;if(ic+fc(t)in c)return Ec+e}return e}},Rc={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==Lc||Cc?e:Ec+e)}},Ac={noPrefill:["transform"],supportedProperty:function(e,c,t){return"transform"===e&&(t.transform?e:Ec+e)}},xc={noPrefill:["transition"],supportedProperty:function(e,c,t){return"transition"===e&&(t.transition?e:Ec+e)}},bc={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ic||"ms"===ic&&"edge"!==uc?Ec+e:e)}},Pc={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ic||"ms"===ic||"apple"===Lc?Ec+e:e)}},kc={supportedProperty:function(e,c){return!!/^break-/.test(e)&&("Webkit"===ic?"WebkitColumn"+fc(e)in c&&Ec+"column-"+e:"Moz"===ic&&("page"+fc(e)in c&&"page-"+e))}},Bc={supportedProperty:function(e,c){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ic)return e;var t=e.replace("-inline","");return ic+fc(t)in c&&Ec+t}},Dc={supportedProperty:function(e,c){return Fc(e)in c&&e}},Ic={supportedProperty:function(e,c){var t=fc(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ic+t in c?Ec+e:"Webkit"!==ic&&"Webkit"+t in c&&"-webkit-"+e}},Nc={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ic?""+Ec+e:e)}},Wc={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ic?Ec+"scroll-chaining":e)}},Uc={"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"},Gc={supportedProperty:function(e,c){var t=Uc[e];return!!t&&(ic+fc(t)in c&&Ec+t)}},jc={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"},Kc=Object.keys(jc),Qc=function(e){return Ec+e},qc={supportedProperty:function(e,c,t){var h=t.multiple;if(Kc.indexOf(e)>-1){var l=jc[e];if(!Array.isArray(l))return ic+fc(l)in c&&Ec+l;if(!h)return!1;for(var a=0;a<l.length;a++)if(!(ic+fc(l[0])in c))return!1;return l.map(Qc)}return!1}},Zc=[Sc,Tc,Oc,Rc,Ac,xc,bc,Pc,kc,Bc,Dc,Ic,Nc,Wc,Gc,qc],_c=Zc.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Jc=Zc.filter((function(e){return e.noPrefill})).reduce((function(e,c){return e.push.apply(e,nc(c.noPrefill)),e}),[]),Yc={};if(C){wc=document.createElement("p");var $c=window.getComputedStyle(document.documentElement,"");for(var Xc in $c)isNaN(Xc)||(Yc[$c[Xc]]=$c[Xc]);Jc.forEach((function(e){return delete Yc[e]}))}function et(e,c){if(void 0===c&&(c={}),!wc)return e;if(null!=Yc[e])return Yc[e];"transition"!==e&&"transform"!==e||(c[e]=e in wc.style);for(var t=0;t<_c.length&&(Yc[e]=_c[t](e,wc.style,c),!Yc[e]);t++);try{wc.style[e]=""}catch(e){return!1}return Yc[e]}var ct,tt={},ht={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},lt=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function at(e,c,t){if("var"===c)return"var";if("all"===c)return"all";if("all"===t)return", all";var h=c?et(c):", "+et(t);return h||(c||t)}function vt(e,c){var t=c;if(!ct||"content"===e)return c;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var h=e+t;if(null!=tt[h])return tt[h];try{ct.style[e]=t}catch(e){return tt[h]=!1,!1}if(ht[e])t=t.replace(lt,at);else if(""===ct.style[e]&&("-ms-flex"===(t=Ec+t)&&(ct.style[e]="-ms-flexbox"),ct.style[e]=t,""===ct.style[e]))return tt[h]=!1,!1;return ct.style[e]="",tt[h]=t,tt[h]}function zt(){function e(c){for(var t in c){var h=c[t];if("fallbacks"===t&&Array.isArray(h))c[t]=h.map(e);else{var l=!1,a=et(t);a&&a!==t&&(l=!0);var v=!1,z=vt(a,f(h));z&&z!==h&&(v=!0),(l||v)&&(l&&delete c[t],c[a||t]=z||h)}}return c}return{onProcessRule:function(e){if("keyframes"===e.type){var c=e;c.at=function(e){return"-"===e[1]||"ms"===ic?e:"@"+Ec+"keyframes"+e.substr(10)}(c.at)}},onProcessStyle:function(c,t){return"style"!==t.type?c:e(c)},onChangeValue:function(e,c){return vt(c,f(e))||e}}}function mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=e.baseClasses,t=e.newClasses;if(e.Component,!t)return c;var l=h({},c);return Object.keys(t).forEach((function(e){t[e]&&(l[e]="".concat(c[e]," ").concat(t[e]))})),l}C&&(ct=document.createElement("p"));var nt=function(e,c,t,h){var l=e.get(c);l||(l=new Map,e.set(c,l)),l.set(t,h)},rt=function(e,c,t){var h=e.get(c);return h?h.get(t):void 0},dt=function(e,c,t){e.get(c).delete(t)},Ht=c.createContext(null);function Mt(){return c.useContext(Ht)}var st,Vt=Ae({plugins:[{onCreateRule:function(e,c,t){if("function"!=typeof c)return null;var h=y(e,{},t);return h[Be]=c,h},onProcessStyle:function(e,c){if(ke in c||Be in c)return e;var t={};for(var h in e){var l=e[h];"function"==typeof l&&(delete e[h],t[h]=l)}return c[ke]=t,e},onUpdate:function(e,c,t,h){var l=c,a=l[Be];a&&(l.style=a(e)||{});var v=l[ke];if(v)for(var z in v)l.prop(z,v[z](e),h)}},je(),Ze(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var c=0;c<e.length;c++)e[c]=ec(e[c]);return e}return ec(e)},onChangeValue:function(e,c,t){if(0===c.indexOf("--"))return e;var h=Xe(c);return c===h?e:(t.prop(h,e),null)}},zc(),"undefined"==typeof window?null:zt(),(st=function(e,c){return e.length===c.length?e>c?1:-1:e.length-c.length},{onProcessStyle:function(e,c){if("style"!==c.type)return e;for(var t={},h=Object.keys(e).sort(st),l=0;l<h.length;l++)t[h[l]]=e[h[l]];return t}})]}),pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=e.disableGlobal,t=void 0!==c&&c,h=e.productionPrefix,l=void 0===h?"jss":h,a=e.seed,v=void 0===a?"":a,z=""===v?"":"".concat(v,"-"),m=0,n=function(){return m+=1};return function(e,c){var h=c.options.name;if(h&&0===h.indexOf("Mui")&&!c.options.link&&!t){if(-1!==L.indexOf(e.key))return"Mui-".concat(e.key);var a="".concat(z).concat(h,"-").concat(e.key);return c.options.theme[E]&&""===v?"".concat(a,"-").concat(n()):a}return"".concat(z).concat(l).concat(n())}}(),ot={disableGeneration:!1,generateClassName:pt,jss:Vt,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},it=c.createContext(ot),Et=-1e9;var Lt={};function ut(e,c){var t=e.state,l=e.theme,a=e.stylesOptions,v=e.stylesCreator,z=e.name;if(!a.disableGeneration){var m=rt(a.sheetsManager,v,l);m||(m={refs:0,staticSheet:null,dynamicStyles:null},nt(a.sheetsManager,v,l,m));var n=h({},v.options,a,{theme:l,flip:"boolean"==typeof a.flip?a.flip:"rtl"===l.direction});n.generateId=n.serverGenerateClassName||n.generateClassName;var r=a.sheetsRegistry;if(0===m.refs){var d;a.sheetsCache&&(d=rt(a.sheetsCache,v,l));var H=v.create(l,z);d||((d=a.jss.createStyleSheet(H,h({link:!1},n))).attach(),a.sheetsCache&&nt(a.sheetsCache,v,l,d)),r&&r.add(d),m.staticSheet=d,m.dynamicStyles=be(H)}if(m.dynamicStyles){var M=a.jss.createStyleSheet(m.dynamicStyles,h({link:!0},n));M.update(c),M.attach(),t.dynamicSheet=M,t.classes=mt({baseClasses:m.staticSheet.classes,newClasses:M.classes}),r&&r.add(M)}else t.classes=m.staticSheet.classes;m.refs+=1}}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=t.name,a=t.classNamePrefix,v=t.Component,z=t.defaultTheme,m=void 0===z?Lt:z,n=p(t,["name","classNamePrefix","Component","defaultTheme"]),r=function(e){var c="function"==typeof e;return{create:function(t,l){var a;try{a=c?e(t):e}catch(e){throw e}if(!l||!t.overrides||!t.overrides[l])return a;var v=t.overrides[l],z=h({},a);return Object.keys(v).forEach((function(e){z[e]=H(z[e],v[e])})),z},options:{}}}(e),d=l||a||"makeStyles";r.options={index:Et+=1,name:l,meta:d,classNamePrefix:d};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Mt()||m,a=h({},c.useContext(it),n),z=c.useRef(),d=c.useRef();!function(e,t){var h,l=c.useRef([]),a=c.useMemo((function(){return{}}),t);l.current!==a&&(l.current=a,h=e()),c.useEffect((function(){return function(){h&&h()}}),[a])}((function(){var c={name:l,state:{},stylesCreator:r,stylesOptions:a,theme:t};return ut(c,e),d.current=!1,z.current=c,function(){!function(e){var c=e.state,t=e.theme,h=e.stylesOptions,l=e.stylesCreator;if(!h.disableGeneration){var a=rt(h.sheetsManager,l,t);a.refs-=1;var v=h.sheetsRegistry;0===a.refs&&(dt(h.sheetsManager,l,t),h.jss.removeStyleSheet(a.staticSheet),v&&v.remove(a.staticSheet)),c.dynamicSheet&&(h.jss.removeStyleSheet(c.dynamicSheet),v&&v.remove(c.dynamicSheet))}}(c)}}),[t,r]),c.useEffect((function(){d.current&&function(e,c){var t=e.state;t.dynamicSheet&&t.dynamicSheet.update(c)}(z.current,e),d.current=!0}));var H=function(e,c,t){var h=e.state;if(e.stylesOptions.disableGeneration)return c||{};h.cacheClasses||(h.cacheClasses={value:null,lastProp:null,lastJSS:{}});var l=!1;return h.classes!==h.cacheClasses.lastJSS&&(h.cacheClasses.lastJSS=h.classes,l=!0),c!==h.cacheClasses.lastProp&&(h.cacheClasses.lastProp=c,l=!0),l&&(h.cacheClasses.value=mt({baseClasses:h.cacheClasses.lastJSS,newClasses:c,Component:t})),h.cacheClasses.value}(z.current,e.classes,v);return H}}var St=["xs","sm","md","lg","xl"];function Tt(e,c,t){var l;return h({gutters:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),h({paddingLeft:c(2),paddingRight:c(2)},t,M({},e.up("sm"),h({paddingLeft:c(3),paddingRight:c(3)},t[e.up("sm")])))},toolbar:(l={minHeight:56},M(l,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),M(l,e.up("sm"),{minHeight:64}),l)},t)}var gt={black:"#000",white:"#fff"},yt={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},Ft="#7986cb",ft="#3f51b5",wt="#303f9f",Ot="#ff4081",Rt="#f50057",At="#c51162",xt="#e57373",bt="#f44336",Pt="#d32f2f",kt="#ffb74d",Bt="#ff9800",Dt="#f57c00",It="#64b5f6",Nt="#2196f3",Wt="#1976d2",Ut="#81c784",Gt="#4caf50",jt="#388e3c";function Kt(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(c,e),t)}function Qt(e){if(e.type)return e;if("#"===e.charAt(0))return Qt(function(e){e=e.substr(1);var c=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),t=e.match(c);return t&&1===t[0].length&&(t=t.map((function(e){return e+e}))),t?"rgb".concat(4===t.length?"a":"","(").concat(t.map((function(e,c){return c<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var c=e.indexOf("("),t=e.substring(0,c);if(-1===["rgb","rgba","hsl","hsla"].indexOf(t))throw new Error(s(3,e));var h=e.substring(c+1,e.length-1).split(",");return{type:t,values:h=h.map((function(e){return parseFloat(e)}))}}function qt(e){var c=e.type,t=e.values;return-1!==c.indexOf("rgb")?t=t.map((function(e,c){return c<3?parseInt(e,10):e})):-1!==c.indexOf("hsl")&&(t[1]="".concat(t[1],"%"),t[2]="".concat(t[2],"%")),"".concat(c,"(").concat(t.join(", "),")")}function Zt(e){var c="hsl"===(e=Qt(e)).type?Qt(function(e){var c=(e=Qt(e)).values,t=c[0],h=c[1]/100,l=c[2]/100,a=h*Math.min(l,1-l),v=function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return l-a*Math.max(Math.min(c-3,9-c,1),-1)},z="rgb",m=[Math.round(255*v(0)),Math.round(255*v(8)),Math.round(255*v(4))];return"hsla"===e.type&&(z+="a",m.push(c[3])),qt({type:z,values:m})}(e)).values:e.values;return c=c.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*c[0]+.7152*c[1]+.0722*c[2]).toFixed(3))}var _t={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:gt.white,default:yt[50]},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}},Jt={text:{primary:gt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:yt[800],default:"#303030"},action:{active:gt.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 Yt(e,c,t,h){var l=h.light||h,a=h.dark||1.5*h;e[c]||(e.hasOwnProperty(t)?e[c]=e[t]:"light"===c?e.light=function(e,c){if(e=Qt(e),c=Kt(c),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*c;else if(-1!==e.type.indexOf("rgb"))for(var t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*c;return qt(e)}(e.main,l):"dark"===c&&(e.dark=function(e,c){if(e=Qt(e),c=Kt(c),-1!==e.type.indexOf("hsl"))e.values[2]*=1-c;else if(-1!==e.type.indexOf("rgb"))for(var t=0;t<3;t+=1)e.values[t]*=1-c;return qt(e)}(e.main,a)))}function $t(e){var c=e.primary,t=void 0===c?{light:Ft,main:ft,dark:wt}:c,l=e.secondary,a=void 0===l?{light:Ot,main:Rt,dark:At}:l,v=e.error,z=void 0===v?{light:xt,main:bt,dark:Pt}:v,m=e.warning,n=void 0===m?{light:kt,main:Bt,dark:Dt}:m,r=e.info,d=void 0===r?{light:It,main:Nt,dark:Wt}:r,M=e.success,V=void 0===M?{light:Ut,main:Gt,dark:jt}:M,o=e.type,i=void 0===o?"light":o,E=e.contrastThreshold,L=void 0===E?3:E,u=e.tonalOffset,C=void 0===u?.2:u,S=p(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function T(e){var c=function(e,c){var t=Zt(e),h=Zt(c);return(Math.max(t,h)+.05)/(Math.min(t,h)+.05)}(e,Jt.text.primary)>=L?Jt.text.primary:_t.text.primary;return c}var g=function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=h({},e)).main&&e[c]&&(e.main=e[c]),!e.main)throw new Error(s(4,c));if("string"!=typeof e.main)throw new Error(s(5,JSON.stringify(e.main)));return Yt(e,"light",t,C),Yt(e,"dark",l,C),e.contrastText||(e.contrastText=T(e.main)),e},y={dark:Jt,light:_t};return H(h({common:gt,type:i,primary:g(t),secondary:g(a,"A400","A200","A700"),error:g(z),warning:g(n),info:g(d),success:g(V),grey:yt,contrastThreshold:L,getContrastText:T,augmentColor:g,tonalOffset:C},y[i]),S)}function Xt(e){return Math.round(1e5*e)/1e5}function eh(e){return Xt(e)}var ch={textTransform:"uppercase"},th='"Roboto", "Helvetica", "Arial", sans-serif';function hh(e,c){var t="function"==typeof c?c(e):c,l=t.fontFamily,a=void 0===l?th:l,v=t.fontSize,z=void 0===v?14:v,m=t.fontWeightLight,n=void 0===m?300:m,r=t.fontWeightRegular,d=void 0===r?400:r,M=t.fontWeightMedium,s=void 0===M?500:M,V=t.fontWeightBold,o=void 0===V?700:V,i=t.htmlFontSize,E=void 0===i?16:i,L=t.allVariants,u=t.pxToRem,C=p(t,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),S=z/14,T=u||function(e){return"".concat(e/E*S,"rem")},g=function(e,c,t,l,v){return h({fontFamily:a,fontWeight:e,fontSize:T(c),lineHeight:t},a===th?{letterSpacing:"".concat(Xt(l/c),"em")}:{},v,L)},y={h1:g(n,96,1.167,-1.5),h2:g(n,60,1.2,-.5),h3:g(d,48,1.167,0),h4:g(d,34,1.235,.25),h5:g(d,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(d,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(d,16,1.5,.15),body2:g(d,14,1.43,.15),button:g(s,14,1.75,.4,ch),caption:g(d,12,1.66,.4),overline:g(d,12,2.66,1,ch)};return H(h({htmlFontSize:E,pxToRem:T,round:eh,fontFamily:a,fontSize:z,fontWeightLight:n,fontWeightRegular:d,fontWeightMedium:s,fontWeightBold:o},y),C,{clone:!1})}function lh(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var ah=["none",lh(0,2,1,-1,0,1,1,0,0,1,3,0),lh(0,3,1,-2,0,2,2,0,0,1,5,0),lh(0,3,3,-2,0,3,4,0,0,1,8,0),lh(0,2,4,-1,0,4,5,0,0,1,10,0),lh(0,3,5,-1,0,5,8,0,0,1,14,0),lh(0,3,5,-1,0,6,10,0,0,1,18,0),lh(0,4,5,-2,0,7,10,1,0,2,16,1),lh(0,5,5,-3,0,8,10,1,0,3,14,2),lh(0,5,6,-3,0,9,12,1,0,3,16,2),lh(0,6,6,-3,0,10,14,1,0,4,18,3),lh(0,6,7,-4,0,11,15,1,0,4,20,3),lh(0,7,8,-4,0,12,17,2,0,5,22,4),lh(0,7,8,-4,0,13,19,2,0,5,24,4),lh(0,7,9,-4,0,14,21,2,0,5,26,4),lh(0,8,9,-5,0,15,22,2,0,6,28,5),lh(0,8,10,-5,0,16,24,2,0,6,30,5),lh(0,8,11,-5,0,17,26,2,0,6,32,5),lh(0,9,11,-5,0,18,28,2,0,7,34,6),lh(0,9,12,-6,0,19,29,2,0,7,36,6),lh(0,10,13,-6,0,20,31,3,0,8,38,7),lh(0,10,13,-6,0,21,33,3,0,8,40,7),lh(0,10,14,-6,0,22,35,3,0,8,42,7),lh(0,11,14,-7,0,23,36,3,0,9,44,8),lh(0,11,15,-7,0,24,38,3,0,9,46,8)],vh={borderRadius:4};function zh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var c,t="number"==typeof(c={spacing:e}.spacing||8)?function(e){return c*e}:Array.isArray(c)?function(e){return c[e]}:"function"==typeof c?c:function(){},h=function(){for(var e=arguments.length,c=new Array(e),h=0;h<e;h++)c[h]=arguments[h];return 0===c.length?t(1):1===c.length?t(c[0]):c.map((function(e){if("string"==typeof e)return e;var c=t(e);return"number"==typeof c?"".concat(c,"px"):c})).join(" ")};return Object.defineProperty(h,"unit",{get:function(){return e}}),h.mui=!0,h}var mh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-b