text: window.dash_daq=function(e){function t(t){for(var n,o,a=t[0],i=t[1],s=0,l=[];s<a.length;s++)o=a[s],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&l.push(r[o][0]),r[o]=0;for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n]);for(p&&p(t);l.length;)l.shift()()}var n={},r={2:0};function o(e){return a.p+""+({0:"async~colorpicker",1:"async~slider"}[e]||e)+".js"}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise((function(t,o){n=r[e]=[t,o]}));t.push(n[2]=i);var s,l=document.createElement("script");l.charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.src=o(e);var c=new Error;s=function(t){l.onerror=l.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,n[1](c)}r[e]=void 0}};var u=setTimeout((function(){s({type:"timeout",target:l})}),12e4);l.onerror=l.onload=s,document.head.appendChild(l)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.oe=function(e){throw console.error(e),e};var i,s=function(){var e=document.currentScript;e||(e=Array.from(document.getElementsByTagName("script")).filter((function(e){return!e.async&&!e.text&&!e.textContent})).slice(-1)[0]);return e};if(Object.defineProperty(a,"p",{get:(i=s().src.split("/").slice(0,-1).join("/")+"/",function(){return i})}),void 0!==o){var l=o;o=function(e){var t=function(e){return/\/_dash-component-suites\//.test(e.src)}(s()),n=l(e);if(!t)return n;var r=n.split("/"),o=r.slice(-1)[0].split(".");return o.splice(1,0,"v0_3_1m1576808790"),r.splice(-1,1,o.join(".")),r.join("/")}}var c=window.webpackJsonpdash_daq=window.webpackJsonpdash_daq||[],u=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var p=u;return a(a.s=32)}([function(e,t){e.exports=window.React},function(e,t){e.exports=window.PropTypes},function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return ye})),n.d(t,"a",(function(){return Ye})),n.d(t,"d",(function(){return tt}));var r=n(11),o=n.n(r),a=n(19),i=n.n(a),s=n(0),l=n.n(s),c=n(20),u=n(12),f=n(13),p=(n(1),n(23)),d=n(24),h=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},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},b=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),v=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},y=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},x=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},k=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},w=function(e){return"object"===(void 0===e?"undefined":m(e))&&e.constructor===Object},E=Object.freeze([]),O=Object.freeze({});function C(e){return"function"==typeof e}function S(e){return e.displayName||e.name||"Component"}function j(e){return e&&"string"==typeof e.styledComponentId}var _=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",A="undefined"!=typeof window&&"HTMLElement"in window,P="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==e&&(e.env.REACT_APP_SC_DISABLE_SPEEDY||e.env.SC_DISABLE_SPEEDY)||!1;var M=function(e){function t(n){b(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];var i=k(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information."+(o.length>0?" Additional arguments: "+o.join(", "):"")));return k(i)}return y(t,e),t}(Error),I=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,D=function(e){var t=""+(e||""),n=[];return t.replace(I,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var o=e.componentId,a=e.matchIndex,i=n[r+1];return{componentId:o,cssFromDOM:i?t.slice(a,i.matchIndex):t.slice(a)}}))},T=/^\s*\/\/.*$/gm,R=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),L=new o.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),N=[],z=function(e){if(-2===e){var t=N;return N=[],t}},F=i()((function(e){N.push(e)})),H=void 0,B=void 0,G=void 0,U=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(B)&&n.slice(t-B.length,t)!==B?"."+H:e};L.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(B)>0&&(n[0]=n[0].replace(G,U))},F,z]),R.use([F,z]);var V=function(e){return R("",e)};function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(T,""),a=t&&n?n+" "+t+" { "+o+" }":o;return H=r,B=t,G=new RegExp("\\"+B+"\\b","g"),L(n||!t?"":t,a)}var $=function(){return n.nc},Y=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},q=function(e,t){e[t]=Object.create(null)},X=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},K=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},J=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n<t;n+=1){var r=e.ownerDocument.styleSheets[n];if(r.ownerNode===e)return r}throw new M(10)},Z=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(e){return!1}return!0},Q=function(e){return"\n/* sc-component-id: "+e+" */\n"},ee=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},te=function(e,t){return function(n){var r=$();return"<style "+[r&&'nonce="'+r+'"',_+'="'+K(t)+'"','data-styled-version="4.4.0"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},ne=function(e,t){return function(){var n,r=((n={})[_]=K(t),n["data-styled-version"]="4.4.0",n),o=$();return o&&(r.nonce=o),l.a.createElement("style",v({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},re=function(e){return function(){return Object.keys(e)}},oe=function(e,t){return e.createTextNode(Q(t))},ae=function e(t,n){var r=void 0===t?Object.create(null):t,o=void 0===n?Object.create(null):n,a=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},i=function(){var e="";for(var t in o){var n=o[t][0];n&&(e+=Q(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=v({},e[n]);return t}(r),n=Object.create(null);for(var a in o)n[a]=[o[a][0]];return e(t,n)},css:i,getIds:re(o),hasNameForId:X(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),Y(r,e,n)},removeRules:function(e){var t=o[e];void 0!==t&&(t[0]="",q(r,e))},sealed:!1,styleTag:null,toElement:ne(i,r),toHTML:te(i,r)}},ie=function(e,t,n,r,o){if(A&&!n){var a=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var o=r.createElement("style");o.setAttribute(_,""),o.setAttribute("data-styled-version","4.4.0");var a=$();if(a&&o.setAttribute("nonce",a),o.appendChild(r.createTextNode("")),e&&!t)e.appendChild(o);else{if(!t||!e||!t.parentNode)throw new M(6);t.parentNode.insertBefore(o,n?t:t.nextSibling)}return o}(e,t,r);return P?function(e,t){var n=Object.create(null),r=Object.create(null),o=void 0!==t,a=!1,i=function(t){var o=r[t];return void 0!==o?o:(r[t]=oe(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new M(5)},css:s,getIds:re(r),hasNameForId:X(n),insertMarker:i,insertRules:function(e,r,s){for(var l=i(e),c=[],u=r.length,f=0;f<u;f+=1){var p=r[f],d=o;if(d&&-1!==p.indexOf("@import"))c.push(p);else{d=!1;var h=f===u-1?"":" ";l.appendData(""+p+h)}}Y(n,e,s),o&&c.length>0&&(a=!0,t().insertRules(e+"-import",c))},removeRules:function(i){var s=r[i];if(void 0!==s){var l=oe(e.ownerDocument,i);e.replaceChild(l,s),r[i]=l,q(n,i),o&&a&&t().removeRules(i+"-import")}},sealed:!1,styleTag:e,toElement:ne(s,n),toHTML:te(s,n)}}(a,o):function(e,t){var n=Object.create(null),r=Object.create(null),o=[],a=void 0!==t,i=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=o.length,o.push(0),q(n,e),r[e])},l=function(){var t=J(e).cssRules,n="";for(var a in r){n+=Q(a);for(var i=r[a],s=ee(o,i),l=s-o[i];l<s;l+=1){var c=t[l];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new M(5)},css:l,getIds:re(r),hasNameForId:X(n),insertMarker:s,insertRules:function(r,l,c){for(var u=s(r),f=J(e),p=ee(o,u),d=0,h=[],m=l.length,b=0;b<m;b+=1){var g=l[b],v=a;v&&-1!==g.indexOf("@import")?h.push(g):Z(f,g,p+d)&&(v=!1,d+=1)}a&&h.length>0&&(i=!0,t().insertRules(r+"-import",h)),o[u]+=d,Y(n,r,c)},removeRules:function(s){var l=r[s];if(void 0!==l&&!1!==e.isConnected){var c=o[l];!function(e,t,n){for(var r=t-n,o=t;o>r;o-=1)e.deleteRule(o)}(J(e),ee(o,l)-1,c),o[l]=0,q(n,s),a&&i&&t().removeRules(s+"-import")}},sealed:!1,styleTag:e,toElement:ne(l,n),toHTML:te(l,n)}}(a,o)}return ae()},se=/\s+/,le=void 0;le=A?P?40:1e3:-1;var ce=0,ue=void 0,fe=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];b(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=ie(t.target,n?n.styleTag:null,t.forceServer,!0)},ce+=1,this.id=ce,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!A||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+_+'][data-styled-version="4.4.0"]'),o=r.length;if(!o)return this;for(var a=0;a<o;a+=1){var i=r[a];n||(n=!!i.getAttribute("data-styled-streamed"));for(var s,l=(i.getAttribute(_)||"").trim().split(se),c=l.length,u=0;u<c;u+=1)s=l[u],this.rehydratedNames[s]=!0;t.push.apply(t,D(i.textContent)),e.push(i)}var f=t.length;if(!f)return this;var p=this.makeTag(null);!function(e,t,n){for(var r=0,o=n.length;r<o;r+=1){var a=n[r],i=a.componentId,s=a.cssFromDOM,l=V(s);e.insertRules(i,l)}for(var c=0,u=t.length;c<u;c+=1){var f=t[c];f.parentNode&&f.parentNode.removeChild(f)}}(p,e,t),this.capacity=Math.max(1,le-f),this.tags.push(p);for(var d=0;d<f;d+=1)this.tagMap[t[d].componentId]=p;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ue=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),o=0;o<n.length;o+=1)t.tagMap[n[o]]=r;return r})),t.rehydratedNames=v({},this.rehydratedNames),t.deferred=v({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return ie(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=le,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(e,t,n);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var i=this.deferred[e].concat(t);a.insertRules(e,i,n),this.deferred[e]=void 0}else a.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var r="sc-"+e+"-"+n;return Object(s.cloneElement)(t.toElement(),{key:r})}))},g(e,null,[{key:"master",get:function(){return ue||(ue=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),pe=function(){function e(t,n){var r=this;b(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new M(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),de=/([A-Z])/g,he=/^ms-/;function me(e){return e.replace(de,"-$1").toLowerCase().replace(he,"-ms-")}var be=function(e){return null==e||!1===e||""===e},ge=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!be(t[n])){if(w(t[n]))return r.push.apply(r,e(t[n],n)),r;if(C(t[n]))return r.push(me(n)+":",t[n],";"),r;r.push(me(n)+": "+(o=n,null==(a=t[n])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in c.a?String(a).trim():a+"px")+";")}var o,a;return r})),n?[n+" {"].concat(r,["}"]):r};function ve(e,t,n){if(Array.isArray(e)){for(var r,o=[],a=0,i=e.length;a<i;a+=1)null!==(r=ve(e[a],t,n))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return be(e)?null:j(e)?"."+e.styledComponentId:C(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:ve(e(t),t,n):e instanceof pe?n?(e.inject(n),e.getName()):e:w(e)?ge(e):e.toString();var s}function ye(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return C(e)||w(e)?ve(h(E,[e].concat(n))):ve(h(e,n))}function xe(e){for(var t,n=0|e.length,r=0|n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var ke=52,we=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ee(e){var t="",n=void 0;for(n=e;n>ke;n=Math.floor(n/ke))t=we(n%ke)+t;return we(n%ke)+t}function Oe(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!Oe(r,t))return!1;if(C(r)&&!j(r))return!1}return!t.some((function(e){return C(e)||function(e){for(var t in e)if(C(e[t]))return!0;return!1}(e)}))}var Ce,Se=function(e){return Ee(xe(e))},je=function(){function e(t,n,r){b(this,e),this.rules=t,this.isStatic=Oe(t,n),this.componentId=r,fe.master.hasId(r)||fe.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(A&&n&&"string"==typeof o&&t.hasNameForId(r,o))return o;var a=ve(this.rules,e,t),i=Se(this.componentId+a.join(""));return t.hasNameForId(r,i)||t.inject(this.componentId,W(a,"."+i,void 0,r),i),this.lastClassName=i,i},e.generateName=function(e){return Se(e)},e}(),_e=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O,r=!!n&&e.theme===n.theme,o=e.theme&&!r?e.theme:t||n.theme;return o},Ae=/[[\].#*$><+~=|^:(),"'`-]+/g,Pe=/(^-|-$)/g;function Me(e){return e.replace(Ae,"-").replace(Pe,"")}function Ie(e){return"string"==typeof e&&!0}var De={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Te={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Re=((Ce={})[u.ForwardRef]={$$typeof:!0,render:!0},Ce),Le=Object.defineProperty,Ne=Object.getOwnPropertyNames,ze=Object.getOwnPropertySymbols,Fe=void 0===ze?function(){return[]}:ze,He=Object.getOwnPropertyDescriptor,Be=Object.getPrototypeOf,Ge=Object.prototype,Ue=Array.prototype;function Ve(e,t,n){if("string"!=typeof t){var r=Be(t);r&&r!==Ge&&Ve(e,r,n);for(var o=Ue.concat(Ne(t),Fe(t)),a=Re[e.$$typeof]||De,i=Re[t.$$typeof]||De,s=o.length,l=void 0,c=void 0;s--;)if(c=o[s],!(Te[c]||n&&n[c]||i&&i[c]||a&&a[c])&&(l=He(t,c)))try{Le(e,c,l)}catch(e){}return e}return e}var We=Object(s.createContext)(),$e=We.Consumer,Ye=function(e){function t(n){b(this,t);var r=k(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}return y(t,e),t.prototype.render=function(){return this.props.children?l.a.createElement(We.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return l.a.createElement(We.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(C(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":m(e)))throw new M(8);return v({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)},t}(s.Component),qe=(function(){function e(){b(this,e),this.masterSheet=fe.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new M(2);return l.a.createElement(Ke,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new M(3)}}(),Object(s.createContext)()),Xe=qe.Consumer,Ke=function(e){function t(n){b(this,t);var r=k(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext),r}return y(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new fe(t);throw new M(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return l.a.createElement(qe.Provider,{value:this.getContext(n,r)},t)},t}(s.Component),Je={};var Ze=function(e){function t(){b(this,t);var n=k(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return y(t,e),t.prototype.render=function(){return l.a.createElement(Xe,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():l.a.createElement($e,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,o=(t.displayName,t.foldedComponentIds),a=t.styledComponentId,i=t.target,l=(t.usesTheme,void 0),c=void 0;n.isStatic?l=this.generateAndInjectStyles(O,this.props):(c=_e(this.props,e,r),l=this.generateAndInjectStyles(c||O,this.props));var u=this.props.as||this.attrs.as||i,f=Ie(u),d={},h=v({},this.props,this.attrs),m=void 0;for(m in h)"forwardedComponent"!==m&&"as"!==m&&("forwardedRef"===m?d.ref=h[m]:"forwardedAs"===m?d.as=h[m]:f&&!Object(p.a)(m)||(d[m]=h[m]));return this.props.style&&this.attrs.style&&(d.style=v({},this.attrs.style,this.props.style)),d.className=Array.prototype.concat(o,a,l!==a?l:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(s.createElement)(u,d)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,o=v({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t,n=e,a=!1,i=void 0,s=void 0;for(s in C(n)&&(n=n(o),a=!0),n)i=n[s],a||!C(i)||(t=i)&&t.prototype&&t.prototype.isReactComponent||j(i)||(i=i(o)),r.attrs[s]=i,o[s]=i})),o):o},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,o=n.componentStyle;n.warnTooManyClasses;return o.isStatic&&!r.length?o.generateAndInjectStyles(O,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(s.Component);function Qe(e,t,n){var r=j(e),o=!Ie(e),a=t.displayName,i=void 0===a?function(e){return Ie(e)?"styled."+e:"Styled("+S(e)+")"}(e):a,s=t.componentId,c=void 0===s?function(e,t,n){var r="string"!=typeof t?"sc":Me(t),o=(Je[r]||0)+1;Je[r]=o;var a=r+"-"+e.generateName(r+o);return n?n+"-"+a:a}(je,t.displayName,t.parentComponentId):s,u=t.ParentComponent,f=void 0===u?Ze:u,p=t.attrs,h=void 0===p?E:p,m=t.displayName&&t.componentId?Me(t.displayName)+"-"+t.componentId:t.componentId||c,b=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new je(r?e.componentStyle.rules.concat(n):n,b,m),y=void 0,k=function(e,t){return l.a.createElement(f,v({},e,{forwardedComponent:y,forwardedRef:t}))};return k.displayName=i,(y=l.a.forwardRef(k)).displayName=i,y.attrs=b,y.componentStyle=g,y.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):E,y.styledComponentId=m,y.target=r?e.target:e,y.withComponent=function(e){var r=t.componentId,o=x(t,["componentId"]),a=r&&r+"-"+(Ie(e)?e:Me(S(e)));return Qe(e,v({},o,{attrs:b,componentId:a,ParentComponent:f}),n)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(d.a)(e.defaultProps,t):t}}),y.toString=function(){return"."+y.styledComponentId},o&&Ve(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var et=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O;if(!Object(u.isValidElementType)(n))throw new M(1,String(n));var o=function(){return t(n,r,ye.apply(void 0,arguments))};return o.withConfig=function(o){return e(t,n,v({},r,o))},o.attrs=function(o){return e(t,n,v({},r,{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},o}(Qe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){et[e]=et(e)}));!function(){function e(t,n){b(this,e),this.rules=t,this.componentId=n,this.isStatic=Oe(t,E),fe.master.hasId(n)||fe.master.deferredInject(n,[])}e.prototype.createStyles=function(e,t){var n=W(ve(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}();A&&(window.scCGSHMRCache={});var tt=function(e){var t=l.a.forwardRef((function(t,n){return l.a.createElement($e,null,(function(r){var o=e.defaultProps,a=_e(t,r,o);return l.a.createElement(e,v({},t,{theme:a,ref:n}))}))}));return Ve(t,e),t.displayName="WithTheme("+S(e)+")",t};t.c=et}).call(this,n(25))},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return s}));var r={PRIMARY:"#ABE2FB",SECONDARY:"#E6E6E6",DARKER_PRIMARY:"#87ceeb",OFF_WHITE:"#15181A",GREY:"#D3D3D3",RED:"#FF5E5E",DARK_GREY:"#535D63"},o=270,a=Math.PI/180,i={primary:r.PRIMARY,secondary:r.SECONDARY,detail:r.GREY,dark:!1},s={primary:r.PRIMARY,secondary:r.DARK_GREY,detail:r.DARK_GREY,dark:!0}},function(e,t,n){"use strict";var r=n(0),o=n.n(r),a=n(2),i=n(8);function s(e){return(s="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 l(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  display: flex;\n  align-items: center;\n  justify-content: space-around;\n  flex-direction: ",";\n"]);return l=function(){return e},e}var c=a.c.div(l(),(function(e){switch(e.labelPosition){case"top":return"column-reverse";case"bottom":return"column"}}));function u(e){var t=e.label,n={};return"object"===s(e.label)&&(t=e.label.label,n=e.label.style),t&&t.length?o.a.createElement(c,{className:e.className,id:e.id,labelPosition:e.labelPosition},e.children,o.a.createElement(i.a,{style:n,css:e.labelCSS,position:e.labelPosition},t)):o.a.createElement("div",null,e.children)}u.defaultProps={labelPosition:"bottom"},t.a=u},function(e,t,n){"use strict";n.d(t,"e",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return u}));var r=n(21),o=n.n(r);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var i=function(e){var t=e.color,n=e.min,r=e.max,o=Object.values(t.ranges);if(o.sort((function(e,t){return e[0]-t[0]})),o[0][0]!==n||o[o.length-1][1]!==r)return!1;for(var a=0;a<o.length-1;a++)if(o[a][1]!==o[a+1][0])return!1;return!0},s=function(e){var t=Object.entries(e);return t.sort((function(e,t){var n=a(e,2)[1],r=a(t,2)[1];return n[0]-r[0]})),t},l=function(e){var t=e.color,n=e.min,r=e.max,i=0,l=s(t.ranges).map((function(e){var t=a(e,2),o=t[0],s=t[1],l=1*(s[1]-s[0])/(r-n),c=i;return i=i+l,{color:o,pos:c}}));return o()(l)},c=function(e){var t=e.color,n=e.min,r=e.max,o=e.vertical,i=void 0!==o&&o,l=0,c=s(t.ranges).map((function(e,o){var i=a(e,2),s=i[0],c=i[1],u=1*(c[1]-c[0])/(r-n)*100,f=l,p=l+u;return l=p,t.gradient?0===o?s:"".concat(s," ").concat(f,"%"):0===o?"".concat(s,", ").concat(s," ").concat(p,"%"):"".concat(s," ").concat(f,"%, ").concat(s," ").concat(p,"%")}));return c.unshift(i?"to top":"to right"),"linear-gradient(".concat(c.join(", "),")")},u=function(e){return e&&("string"==typeof e?e:e.default)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u}));var r=n(0),o=n.n(r),a=function(e){var t=e.className;return o.a.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"10",height:"22"},o.a.createElement("g",{fill:"none"},o.a.createElement("g",{filter:"url(#filter0_di)"},o.a.createElement("path",{className:"dark-handle-custom-fill",fill:"#101010",d:"M4.886 1H3.114a2 2 0 0 0-1.997 2.11l.778 14A2 2 0 0 0 3.892 19h.216a2 2 0 0 0 1.997-1.89l.778-14A2 2 0 0 0 4.886 1z"}),o.a.createElement("path",{style:{mixBlendMode:"overlay"},fill:"url(#paint0_linear)",d:"M3.886 0H2.114A2 2 0 0 0 .117 2.11l.778 14A2 2 0 0 0 2.892 18h.216a2 2 0 0 0 1.997-1.89l.778-14A2 2 0 0 0 3.886 0z",transform:"translate(1 1)"}),o.a.createElement("path",{style:{mixBlendMode:"overlay"},fill:"url(#paint1_radial)",d:"M3.886 0H2.114A2 2 0 0 0 .117 2.11l.778 14A2 2 0 0 0 2.892 18h.216a2 2 0 0 0 1.997-1.89l.778-14A2 2 0 0 0 3.886 0z",transform:"translate(1 1)"})),o.a.createElement("g",{fillRule:"evenodd",clipRule:"evenodd"},o.a.createElement("path",{className:"dark-handle-custom-fill",fill:"#101010",d:"M3.114 1h1.772a2 2 0 0 1 1.997 2.11l-.778 14A2 2 0 0 1 4.108 19h-.216a2 2 0 0 1-1.997-1.89l-.778-14A2 2 0 0 1 3.114 1zm.333 1h1.105A2 2 0 0 1 6.55 4.11l-.673 12.115a1.88 1.88 0 0 1-3.752 0L1.45 4.11A2 2 0 0 1 3.447 2z"}),o.a.createElement("path",{style:{mixBlendMode:"overlay"},fill:"url(#paint2_linear)",d:"M2 0h1.772a2 2 0 0 1 1.997 2.11l-.778 14A2 2 0 0 1 2.994 18h-.216A2 2 0 0 1 .78 16.11l-.778-14A2 2 0 0 1 2 0zm.333 1h1.105a2 2 0 0 1 1.997 2.11l-.673 12.115a1.88 1.88 0 0 1-3.753 0L.337 3.11A2 2 0 0 1 2.333 1z",transform:"translate(1.114 1)"}),o.a.createElement("path",{fill:"url(#paint3_radial)",fillOpacity:".4",d:"M2 0h1.772a2 2 0 0 1 1.997 2.11l-.778 14A2 2 0 0 1 2.994 18h-.216A2 2 0 0 1 .78 16.11l-.778-14A2 2 0 0 1 2 0zm.333 1h1.105a2 2 0 0 1 1.997 2.11l-.673 12.115a1.88 1.88 0 0 1-3.753 0L.337 3.11A2 2 0 0 1 2.333 1z",transform:"translate(1.114 1)"}))),o.a.createElement("defs",null,o.a.createElement("filter",{id:"filter0_di",width:"9.772",height:"22",x:".114",y:"0",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"},o.a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),o.a.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"}),o.a.createElement("feOffset",{dx:"1",dy:"1"}),o.a.createElement("feGaussianBlur",{stdDeviation:"1"}),o.a.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),o.a.createElement("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),o.a.createElement("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}),o.a.createElement("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 255 0"}),o.a.createElement("feOffset",{dx:".25",dy:".25"}),o.a.createElement("feGaussianBlur",{stdDeviation:".5"}),o.a.createElement("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),o.a.createElement("feColorMatrix",{values:"0 0 0 0 0.204294 0 0 0 0 0.204294 0 0 0 0 0.204294 0 0 0 0.395267 0"}),o.a.createElement("feBlend",{in2:"shape",result:"effect2_innerShadow"})),o.a.createElement("linearGradient",{id:"paint0_linear",x2:"1",gradientTransform:"matrix(4.19709 12.8041 -4.26804 12.5913 .947 2.739)",gradientUnits:"userSpaceOnUse"},o.a.createElement("stop",{stopColor:"#fff",stopOpacity:".55"}),o.a.createElement("stop",{offset:"1",stopOpacity:".01"})),o.a.createElement("radialGradient",{id:"paint1_radial",cx:".5",cy:".5",r:".5",gradientTransform:"matrix(8.55956 25.5096 -8.50319 25.6787 .868 -23.103)",gradientUnits:"userSpaceOnUse"},o.a.createElement("stop",{stopColor:"#fff",stopOpacity:".5"}),o.a.createElement("stop",{offset:"1",stopOpacity:".5"})),o.a.createElement("linearGradient",{id:"paint2_linear",x2:"1",gradientTransform:"matrix(0 18 -5.77167 0 2.886 0)",gradientUnits:"userSpaceOnUse"},o.a.createElement("stop",{stopColor:"#fff",stopOpacity:".5"}),o.a.createElement("stop",{offset:"1",stopOpacity:".01"})),o.a.createElement("radialGradient",{id:"paint3_radial",cx:".5",cy:".5",r:".5",gradientTransform:"matrix(0 36 -11.5433 0 8.658 -18)",gradientUnits:"userSpaceOnUse"},o.a.createElement("stop",{stopColor:"#fff",stopOpacity:".5"}),o.a.createElement("stop",{offset:"1",stopOpacity:".5"}))))},i=o.a.createElement("defs",null,o.a.createElement("linearGradient",{id:"l",x1:"15.78%",x2:"85.732%",y1:"15.214%",y2:"86.348%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".55"}),o.a.createElement("stop",{offset:"100%",stopColor:"#000000",stopOpacity:"0"})),o.a.createElement("radialGradient",{id:"m",cx:"14.944%",cy:"13.839%",r:"100.544%",fx:"14.944%",fy:"13.839%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopColor:"#000000",stopOpacity:".5"})),o.a.createElement("filter",{id:"n",width:"101.7%",height:"101.7%",x:"-.8%",y:"-.8%",filterUnits:"objectBoundingBox"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",result:"shadowBlurInner1",stdDeviation:".5"}),o.a.createElement("feOffset",{dx:".25",dy:".25",in:"shadowBlurInner1",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 0.204294218 0 0 0 0 0.204294218 0 0 0 0 0.204294218 0 0 0 0.39526721 0"})),o.a.createElement("filter",{id:"r",width:"550%",height:"218.8%",x:"-225%",y:"-56.2%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dy:".5",in:"SourceAlpha",result:"shadowOffsetOuter1"}),o.a.createElement("feColorMatrix",{in:"shadowOffsetOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.46 0"}),o.a.createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter2"}),o.a.createElement("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"1.5"}),o.a.createElement("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.529411765 0 0 0 0 0.807843137 0 0 0 0 0.921568627 0 0 0 0.4512851 0"}),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",{in:"shadowMatrixOuter1"}),o.a.createElement("feMergeNode",{in:"shadowMatrixOuter2"}))),o.a.createElement("filter",{id:"t",width:"425%",height:"187.5%",x:"-162.5%",y:"-40.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dy:".5",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0"})),o.a.createElement("linearGradient",{id:"p",x1:"0%",x2:"0%",y1:"100%",y2:"100%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopColor:"#000000",stopOpacity:"0"})),o.a.createElement("radialGradient",{id:"q",cy:"0%",r:"100%",fx:"0%",fy:"0%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopColor:"#000000",stopOpacity:".5"})),o.a.createElement("filter",{id:"a",width:"100.4%",height:"100.5%",x:"-.1%",y:"-.1%",filterUnits:"objectBoundingBox"},o.a.createElement("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:".05",result:"shadowSpreadOuter1"}),o.a.createElement("feOffset",{dx:".1",dy:".1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),o.a.createElement("feColorMatrix",{in:"shadowOffsetOuter1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.11291327 0"})),o.a.createElement("filter",{id:"d",width:"102.5%",height:"102.8%",x:"-1.1%",y:"-1.3%",filterUnits:"objectBoundingBox"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",result:"shadowBlurInner1",stdDeviation:".25"}),o.a.createElement("feOffset",{in:"shadowBlurInner1",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",result:"shadowMatrixInner1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),o.a.createElement("feGaussianBlur",{in:"SourceAlpha",result:"shadowBlurInner2",stdDeviation:"1"}),o.a.createElement("feOffset",{in:"shadowBlurInner2",result:"shadowOffsetInner2"}),o.a.createElement("feComposite",{in:"shadowOffsetInner2",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner2"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner2",result:"shadowMatrixInner2",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"}),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",{in:"shadowMatrixInner1"}),o.a.createElement("feMergeNode",{in:"shadowMatrixInner2"}))),o.a.createElement("linearGradient",{id:"c",x1:"50%",x2:"50%",y1:"0%",y2:"100%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopColor:"#323a3e",stopOpacity:".2"})),o.a.createElement("filter",{id:"e",width:"171%",height:"117.7%",x:"-35.5%",y:"-8.8%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter1"}),o.a.createElement("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"2"}),o.a.createElement("feColorMatrix",{in:"shadowBlurOuter1",values:"0 0 0 0 0.529411765 0 0 0 0 0.807843137 0 0 0 0 0.921568627 0 0 0 0.5 0"})),o.a.createElement("radialGradient",{id:"g",cx:"90.826%",cy:"1.233%",r:"154.848%",fx:"90.826%",fy:"1.233%",gradientTransform:"scale(1 .24903) rotate(72.947 .883 .03)"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFFFFF",stopOpacity:".7"}),o.a.createElement("stop",{offset:"100%",stopColor:"#000000"}))),s=o.a.createElement("defs",null,o.a.createElement("filter",{id:"darkLED-a",width:"111.8%",height:"107.8%",x:"-2.9%",y:"-2%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:"1",dy:"1",in:"SourceAlpha",result:"shadowOffsetOuter1"}),o.a.createElement("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:".5"}),o.a.createElement("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"}),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",{in:"shadowMatrixOuter1"}),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),o.a.createElement("radialGradient",{id:"darkLED-c",cx:"0%",cy:"0%",r:"141.421%",fx:"0%",fy:"0%",gradientTransform:"matrix(.22147 .22147 -.0503 .97517 0 0)"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopOpacity:".6"})),o.a.createElement("linearGradient",{id:"darkLED-d",x1:"0%",y1:"0%",y2:"100%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopOpacity:"0"})),o.a.createElement("path",{id:"darkLED-b",d:"M5.71 5.181L3.308 2.778 5.71.375h16.357l2.403 2.403-2.403 2.403z"}),o.a.createElement("filter",{id:"darkLED-e",width:"101.2%",height:"105.2%",x:"-.6%",y:"-2.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("radialGradient",{id:"darkLED-g",cx:"0%",cy:"0%",r:"141.421%",fx:"0%",fy:"0%",gradientTransform:"matrix(.22147 .22147 -.97517 .0503 0 0)"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopOpacity:".6"})),o.a.createElement("path",{id:"darkLED-f",d:"M22.597 5.71L25 3.308l2.403 2.402v16.357L25 24.47l-2.403-2.403z"}),o.a.createElement("filter",{id:"darkLED-h",width:"105.2%",height:"101.2%",x:"-2.6%",y:"-.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("radialGradient",{id:"darkLED-j",cx:"0%",cy:"0%",r:"141.421%",fx:"0%",fy:"0%",gradientTransform:"scale(1 .22711) rotate(77.204)"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopOpacity:".6"})),o.a.createElement("path",{id:"darkLED-i",d:"M22.597 27.933L25 25.53l2.403 2.403v16.356L25 46.692l-2.403-2.403z"}),o.a.createElement("filter",{id:"darkLED-k",width:"105.2%",height:"101.2%",x:"-2.6%",y:"-.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("path",{id:"darkLED-l",d:"M22.067 44.819l2.403 2.403-2.403 2.403H5.71l-2.402-2.403 2.402-2.403z"}),o.a.createElement("filter",{id:"darkLED-m",width:"101.2%",height:"105.2%",x:"-.6%",y:"-2.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("path",{id:"darkLED-n",d:"M5.181 44.289l-2.403 2.403-2.403-2.403V27.933l2.403-2.403 2.403 2.403z"}),o.a.createElement("filter",{id:"darkLED-o",width:"105.2%",height:"101.2%",x:"-2.6%",y:"-.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("path",{id:"darkLED-p",d:"M5.181 22.067L2.778 24.47.375 22.067V5.71l2.403-2.402L5.181 5.71z"}),o.a.createElement("filter",{id:"darkLED-q",width:"105.2%",height:"101.2%",x:"-2.6%",y:"-.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("path",{id:"darkLED-r",d:"M5.71 27.403L3.308 25l2.402-2.403h16.357L24.47 25l-2.403 2.403z"}),o.a.createElement("filter",{id:"darkLED-s",width:"101.2%",height:"105.2%",x:"-.6%",y:"-2.6%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("radialGradient",{id:"darkLED-u",cx:"0%",cy:"0%",r:"141.421%",fx:"0%",fy:"0%"},o.a.createElement("stop",{offset:"0%",stopColor:"#FFF",stopOpacity:".5"}),o.a.createElement("stop",{offset:"100%",stopOpacity:".6"})),o.a.createElement("path",{id:"darkLED-t",d:"M31 50.625a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25z"}),o.a.createElement("path",{id:"darkLED-y",d:"M35,40.625 C33.5502525,40.625 32.375,39.4497475 32.375,38 C32.375,36.5502525 33.5502525,35.375 35,35.375 C36.4497475,35.375 37.625,36.5502525 37.625,38 C37.625,39.4497475 36.4497475,40.625 35,40.625 Z"}),o.a.createElement("filter",{id:"darkLED-v",width:"104.8%",height:"104.8%",x:"-2.4%",y:"-2.4%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"})),o.a.createElement("path",{id:"darkLED-w",d:"M35,13.625 C33.5502525,13.625 32.375,12.4497475 32.375,11 C32.375,9.55025253 33.5502525,8.375 35,8.375 C36.4497475,8.375 37.625,9.55025253 37.625,11 C37.625,12.4497475 36.4497475,13.625 35,13.625 Z"}),o.a.createElement("filter",{id:"darkLED-x",width:"104.8%",height:"104.8%",x:"-2.4%",y:"-2.4%",filterUnits:"objectBoundingBox"},o.a.createElement("feOffset",{dx:".25",dy:".25",in:"SourceAlpha",result:"shadowOffsetInner1"}),o.a.createElement("feComposite",{in:"shadowOffsetInner1",in2:"SourceAlpha",k2:"-1",k3:"1",operator:"arithmetic",result:"shadowInnerInner1"}),o.a.createElement("feColorMatrix",{in:"shadowInnerInner1",values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.502604167 0"}))),l={A:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-b"}),o.a.createElement("use",{fill:"url(#darkLED-c)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-b"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-b"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-e)",xlinkHref:"#darkLED-b"})),B:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-f"}),o.a.createElement("use",{fill:"url(#darkLED-g)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-f"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-f"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-h)",xlinkHref:"#darkLED-f"})),C:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-i"}),o.a.createElement("use",{fill:"url(#darkLED-j)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-i"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-i"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-k)",xlinkHref:"#darkLED-i"})),D:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-l"}),o.a.createElement("use",{fill:"url(#darkLED-c)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-l"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-l"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-m)",xlinkHref:"#darkLED-l"})),E:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-n"}),o.a.createElement("use",{fill:"url(#darkLED-j)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-n"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-n"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-o)",xlinkHref:"#darkLED-n"})),F:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-p"}),o.a.createElement("use",{fill:"url(#darkLED-g)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-p"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-p"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-q)",xlinkHref:"#darkLED-p"})),G:o.a.createElement("g",null,o.a.createElement("use",{className:"darkLED-fill",xlinkHref:"#darkLED-r"}),o.a.createElement("use",{fill:"url(#darkLED-c)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-r"}),o.a.createElement("use",{fill:"url(#darkLED-d)",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-r"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-s)",xlinkHref:"#darkLED-r"}))},c=o.a.createElement("g",{fill:"none",fillRule:"evenodd",filter:"url(#darkLED-a)"},o.a.createElement("g",{fillRule:"nonzero"},o.a.createElement("use",{className:"darkLED-fill",fillRule:"evenodd",xlinkHref:"#darkLED-t"}),o.a.createElement("use",{fill:"url(#darkLED-u)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-t"}),o.a.createElement("use",{fill:"url(#darkLED-d)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-t"}),o.a.createElement("use",{fill:"#000",filter:"url(#darkLED-v)",xlinkHref:"#darkLED-t"}))),u=o.a.createElement("g",null,o.a.createElement("g",{fillRule:"nonzero"},o.a.createElement("use",{className:"darkLED-fill",fillRule:"evenodd",xlinkHref:"#darkLED-y"}),o.a.createElement("use",{fill:"url(#darkLED-u)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-y"}),o.a.createElement("use",{fill:"url(#darkLED-d)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-y"}),o.a.createElement("use",{fill:"black",filter:"url(#darkLED-v)",xlinkHref:"#darkLED-y"})),o.a.createElement("g",{fillRule:"nonzero"},o.a.createElement("use",{className:"darkLED-fill",fillRule:"evenodd",xlinkHref:"#darkLED-w"}),o.a.createElement("use",{fill:"url(#darkLED-u)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-w"}),o.a.createElement("use",{fill:"url(#darkLED-d)",fillRule:"evenodd",style:{mixBlendMode:"overlay"},xlinkHref:"#darkLED-w"}),o.a.createElement("use",{fill:"black",filter:"url(#darkLED-x)",xlinkHref:"#darkLED-w"})));t.f=i},function(e,t,n){"use strict";var r=n(27),o=n(30),a=[].slice,i=["keyword","gray","hex"],s={};Object.keys(o).forEach((function(e){s[a.call(o[e].labels).sort().join("")]=e}));var l={};function c(e,t){if(!(this instanceof c))return new c(e,t);if(t&&t in i&&(t=null),t&&!(t in o))throw new Error("Unknown model: "+t);var n,u;if(void 0===e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof c)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var f=r.get(e);if(null===f)throw new Error("Unable to parse color from string: "+e);this.model=f.model,u=o[this.model].channels,this.color=f.value.slice(0,u),this.valpha="number"==typeof f.value[u]?f.value[u]:1}else if(e.length){this.model=t||"rgb",u=o[this.model].channels;var p=a.call(e,0,u);this.color=d(p,u),this.valpha="number"==typeof e[u]?e[u]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var h=Object.keys(e);"alpha"in e&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var m=h.sort().join("");if(!(m in s))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=s[m];var b=o[this.model].labels,g=[];for(n=0;n<b.length;n++)g.push(e[b[n]]);this.color=d(g)}if(l[this.model])for(u=o[this.model].channels,n=0;n<u;n++){var v=l[this.model][n];v&&(this.color[n]=v(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function u(e,t,n){return(e=Array.isArray(e)?e:[e]).forEach((function(e){(l[e]||(l[e]=[]))[t]=n})),e=e[0],function(r){var o;return arguments.length?(n&&(r=n(r)),(o=this[e]()).color[t]=r,o):(o=this[e]().color[t],n&&(o=n(o)),o)}}function f(e){return function(t){return Math.max(0,Math.min(e,t))}}function p(e){return Array.isArray(e)?e:[e]}function d(e,t){for(var n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}c.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in r.to?this:this.rgb(),n=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return r.to[t.model](n)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return r.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var e={},t=o[this.model].channels,n=o[this.model].labels,r=0;r<t;r++)e[n[r]]=this.color[r];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new c(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new c(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:u("rgb",0,f(255)),green:u("rgb",1,f(255)),blue:u("rgb",2,f(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,(function(e){return(e%360+360)%360})),saturationl:u("hsl",1,f(100)),lightness:u("hsl",2,f(100)),saturationv:u("hsv",1,f(100)),value:u("hsv",2,f(100)),chroma:u("hcg",1,f(100)),gray:u("hcg",2,f(100)),white:u("hwb",1,f(100)),wblack:u("hwb",2,f(100)),cyan:u("cmyk",0,f(100)),magenta:u("cmyk",1,f(100)),yellow:u("cmyk",2,f(100)),black:u("cmyk",3,f(100)),x:u("xyz",0,f(100)),y:u("xyz",1,f(100)),z:u("xyz",2,f(100)),l:u("lab",0,f(100)),a:u("lab",1),b:u("lab",2),keyword:function(e){return arguments.length?new c(e):o[this.model].keyword(this.color)},hex:function(e){return arguments.length?new c(e):r.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return c.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),r=this.rgb(),o=void 0===t?.5:t,a=2*o-1,i=n.alpha()-r.alpha(),s=((a*i==-1?a:(a+i)/(1+a*i))+1)/2,l=1-s;return c.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach((function(e){if(-1===i.indexOf(e)){var t=o[e].channels;c.prototype[e]=function(){if(this.model===e)return new c(this);if(arguments.length)return new c(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new c(p(o[this.model][e].raw(this.color)).concat(n),e)},c[e]=function(n){return"number"==typeof n&&(n=d(a.call(arguments),t)),new c(n,e)}}})),e.exports=c},function(e,t,n){"use strict";var r=n(2);function o(){var e=l(["",""]);return o=function(){return e},e}function a(){var e=l(["margin-top: 8px;"]);return a=function(){return e},e}function i(){var e=l(["margin-bottom: 8px;"]);return i=function(){return e},e}function s(){var e=l(["\n  display: block;\n  font-size: 14px;\n  ","\n  ","\n"]);return s=function(){return e},e}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t.a=r.c.label(s(),(function(e){return"top"===e.position?Object(r.b)(i()):Object(r.b)(a())}),(function(e){return Object(r.b)(o(),e.css)}))},function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";var r=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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(1),i=l(a),s=l(n(2));function l(e){return e&&e.__esModule?e:{default:e}}var c="undefined"!=typeof document,u=/^[+-]?((\.\d+)|(\d+(\.\d+)?))$/,f=/^([+-]|\.0*|[+-]\.0*|[+-]?\d+\.)?$/;function p(e,t,n){var r=e[t];if("function"==typeof r){for(var o=arguments.length,a=Array(o>3?o-3:0),i=3;i<o;i++)a[i-3]=arguments[i];r=r.apply(void 0,a)}return void 0===r?n:r}var d=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o)));return i._isStrict=!!i.props.strict,i.state=r({btnDownHover:!1,btnDownActive:!1,btnUpHover:!1,btnUpActive:!1,stringValue:""},i._propsToState(i.props)),i.stop=i.stop.bind(i),i.onTouchEnd=i.onTouchEnd.bind(i),i.refsInput={},i.refsWrapper={},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"_propsToState",value:function(e){var t={};return e.hasOwnProperty("value")?(t.stringValue=String(e.value||0===e.value?e.value:"").trim(),t.value=""!==t.stringValue?this._parse(e.value):null):!this._isMounted&&e.hasOwnProperty("defaultValue")&&(t.stringValue=String(e.defaultValue||0===e.defaultValue?e.defaultValue:"").trim(),t.value=""!==e.defaultValue?this._parse(e.defaultValue):null),t}},{key:"componentWillReceiveProps",value:function(e){var t=this;this._isStrict=!!e.strict;var n=this._propsToState(e);Object.keys(n).length&&(this._ignoreValueChange=!0,this.setState(n,(function(){t._ignoreValueChange=!1})))}},{key:"componentWillUpdate",value:function(){this.saveSelection()}},{key:"componentDidUpdate",value:function(e,t){this._ignoreValueChange||t.value===this.state.value||isNaN(this.state.value)&&null!==this.state.value||this._invokeEventCallback("onChange",this.state.value,this.refsInput.value,this.refsInput),this._inputFocus&&(this.refsInput.focus(),(this.state.selectionStart||0===this.state.selectionStart)&&(this.refsInput.selectionStart=this.state.selectionStart),(this.state.selectionEnd||0===this.state.selectionEnd)&&(this.refsInput.selectionEnd=this.state.selectionEnd)),this.checkValidity()}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.stop()}},{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,this.refsInput.getValueAsNumber=function(){return e.state.value||0},this.refsInput.setValue=function(t){e.setState({value:e._parse(t),stringValue:t})},!this._inputFocus&&c&&document.activeElement===this.refsInput&&(this._inputFocus=!0,this.refsInput.focus(),this._invokeEventCallback("onFocus",{target:this.refsInput,type:"focus"})),this.checkValidity()}},{key:"saveSelection",value:function(){this.state.selectionStart=this.refsInput.selectionStart,this.state.selectionEnd=this.refsInput.selectionEnd}},{key:"checkValidity",value:function(){var e=void 0,t="",n=!!this.refsInput.checkValidity,r=!(!this.props.noValidate||"false"==this.props.noValidate);this.refsInput.noValidate=r,(e=r||!n)?t="":(""===this.refsInput.pattern&&(this.refsInput.pattern=this.props.required?".+":".*"),n&&(this.refsInput.checkValidity(),(e=this.refsInput.validity.valid)||(t=this.refsInput.validationMessage)),e&&n&&this.props.maxLength&&this.refsInput.value.length>this.props.maxLength&&(t="This value is too long")),t=t||(e?"":this.refsInput.validationMessage||"Unknown Error");var o=this._valid!==t;this._valid=t,t?(!function(e,t){if(e.classList)return e.classList.add(t);e.className.search(new RegExp("\\b"+t+"\\b"))||(e.className=" "+t)}(this.refsWrapper,"has-error"),o&&this._invokeEventCallback("onInvalid",t,this.state.value,this.refsInput.value)):(!function(e,t){if(e.className){if(e.classList)return e.classList.remove(t);e.className=e.className.replace(new RegExp("\\b"+t+"\\b","g"),"")}}(this.refsWrapper,"has-error"),o&&this._invokeEventCallback("onValid",this.state.value,this.refsInput.value))}},{key:"_toNumber",value:function(e){var n=parseFloat(e);if(!isNaN(n)&&isFinite(n)||(n=0),this._isStrict){var r=p(this.props,"precision",null,this),o=Math.pow(10,null===r?10:r),a=+p(this.props,"min",t.defaultProps.min,this),i=+p(this.props,"max",t.defaultProps.max,this);n=Math.min(Math.max(n,a),i),n=Math.round(n*o)/o}return n}},{key:"_parse",value:function(e){return e=String(e),"function"==typeof this.props.parse?parseFloat(this.props.parse(e)):parseFloat(e)}},{key:"_format",value:function(e){var t=this._toNumber(e),n=p(this.props,"precision",null,this);return null!==n&&(t=e.toFixed(n)),t+="",this.props.format?this.props.format(t):t}},{key:"_step",value:function(e,n){var r=this._isStrict;this._isStrict=!0;var o=+p(this.props,"step",t.defaultProps.step,this,e>0?t.DIRECTION_UP:t.DIRECTION_DOWN),a=this._toNumber((this.state.value||0)+o*e);return this.props.snap&&(a=Math.round(a/o)*o),this._isStrict=r,a!==this.state.value&&(this.setState({value:a,stringValue:a+""},n),!0)}},{key:"_onKeyDown",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].persist(),this._invokeEventCallback.apply(this,["onKeyDown"].concat(t));var r=t[0];if(!r.isDefaultPrevented())if(38===r.keyCode)r.preventDefault(),this._step(r.ctrlKey||r.metaKey?.1:r.shiftKey?10:1);else if(40===r.keyCode)r.preventDefault(),this._step(r.ctrlKey||r.metaKey?-.1:r.shiftKey?-10:-1);else{var o=this.refsInput.value,a=o.length;8===r.keyCode?this.refsInput.selectionStart==this.refsInput.selectionEnd&&this.refsInput.selectionEnd>0&&o.length&&"."===o.charAt(this.refsInput.selectionEnd-1)&&(r.preventDefault(),this.refsInput.selectionStart=this.refsInput.selectionEnd=this.refsInput.selectionEnd-1):46===r.keyCode&&this.refsInput.selectionStart==this.refsInput.selectionEnd&&this.refsInput.selectionEnd<a+1&&o.length&&"."===o.charAt(this.refsInput.selectionEnd)&&(r.preventDefault(),this.refsInput.selectionStart=this.refsInput.selectionEnd=this.refsInput.selectionEnd+1)}}},{key:"stop",value:function(){this._timer&&clearTimeout(this._timer)}},{key:"increase",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments[1];this.stop(),this._step(1,r);var o=+p(this.props,"max",t.defaultProps.max,this);(isNaN(this.state.value)||+this.state.value<o)&&(this._timer=setTimeout((function(){e.increase(!0)}),n?t.SPEED:t.DELAY))}},{key:"decrease",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments[1];this.stop(),this._step(-1,r);var o=+p(this.props,"min",t.defaultProps.min,this);(isNaN(this.state.value)||+this.state.value>o)&&(this._timer=setTimeout((function(){e.decrease(!0)}),n?t.SPEED:t.DELAY))}},{key:"onMouseDown",value:function(e,t){"down"==e?this.decrease(!1,t):"up"==e&&this.increase(!1,t)}},{key:"onTouchStart",value:function(e,t){t.preventDefault(),"down"==e?this.decrease():"up"==e&&this.increase()}},{key:"onTouchEnd",value:function(e){e.preventDefault(),this.stop()}},{key:"_invokeEventCallback",value:function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=this.props[e]).call.apply(t,[null].concat(r))}}},{key:"render",value:function(){var e=this,n=this.props,o=this.state,a={},s=this.props,l=(s.step,s.min,s.max,s.precision,s.parse,s.format,s.mobile),p=(s.snap,s.componentClass),d=(s.value,s.type,s.style),h=(s.defaultValue,s.onInvalid,s.onValid,s.strict,s.noStyle),m=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(s,["step","min","max","precision","parse","format","mobile","snap","componentClass","value","type","style","defaultValue","onInvalid","onValid","strict","noStyle"]);for(var b in h=h||!1===d,t.style)a[b]=r({},t.style[b],d&&d[b]||{});var g=n.className&&/\bform-control\b/.test(n.className);"auto"==l&&(l=c&&"ontouchstart"in document),"function"==typeof l&&(l=l.call(this)),l=!!l;var v={wrap:{style:h?null:a.wrap,className:"react-numeric-input",ref:function(t){null!=t&&null!=t&&(e.refsWrapper=t)},onMouseUp:void 0,onMouseLeave:void 0},input:r({ref:function(t){null!=t&&null!=t&&(e.refsInput=t)},type:"text",style:h?null:r({},a.input,g?{}:a["input:not(.form-control)"],this._inputFocus?a["input:focus"]:{})},m),btnUp:{onMouseEnter:void 0,onMouseDown:void 0,onMouseUp:void 0,onMouseLeave:void 0,onTouchStart:void 0,onTouchEnd:void 0,style:h?null:r({},a.btn,a.btnUp,n.disabled||n.readOnly?a["btn:disabled"]:o.btnUpActive?a["btn:active"]:o.btnUpHover?a["btn:hover"]:{})},btnDown:{onMouseEnter:void 0,onMouseDown:void 0,onMouseUp:void 0,onMouseLeave:void 0,onTouchStart:void 0,onTouchEnd:void 0,style:h?null:r({},a.btn,a.btnDown,n.disabled||n.readOnly?a["btn:disabled"]:o.btnDownActive?a["btn:active"]:o.btnDownHover?a["btn:hover"]:{})}},y=String(o.stringValue||(o.value||0===o.value?o.value:"")||""),x=!this._isStrict&&(this._inputFocus||!this._isMounted);x&&f.test(y)?v.input.value=y:x&&y&&!u.test(y)?v.input.value=y:o.value||0===o.value?v.input.value=this._format(o.value):v.input.value="",g&&!h&&r(v.wrap.style,a["wrap.hasFormControl"]),l&&!h&&(r(v.input.style,a["input.mobile"]),r(v.btnUp.style,a["btnUp.mobile"]),r(v.btnDown.style,a["btnDown.mobile"])),n.disabled||n.readOnly?!h&&n.disabled&&r(v.input.style,a["input:disabled"]):(r(v.wrap,{onMouseUp:this.stop,onMouseLeave:this.stop}),r(v.btnUp,{onTouchStart:this.onTouchStart.bind(this,"up"),onTouchEnd:this.onTouchEnd,onMouseEnter:function(){e.setState({btnUpHover:!0})},onMouseLeave:function(){e.stop(),e.setState({btnUpHover:!1,btnUpActive:!1})},onMouseUp:function(){e.setState({btnUpHover:!0,btnUpActive:!1})},onMouseDown:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n[0].preventDefault(),n[0].persist(),e._inputFocus=!0,e.setState({btnUpHover:!0,btnUpActive:!0},(function(){e._invokeEventCallback.apply(e,["onFocus"].concat(n)),e.onMouseDown("up")}))}}),r(v.btnDown,{onTouchStart:this.onTouchStart.bind(this,"down"),onTouchEnd:this.onTouchEnd,onMouseEnter:function(){e.setState({btnDownHover:!0})},onMouseLeave:function(){e.stop(),e.setState({btnDownHover:!1,btnDownActive:!1})},onMouseUp:function(){e.setState({btnDownHover:!0,btnDownActive:!1})},onMouseDown:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n[0].preventDefault(),n[0].persist(),e._inputFocus=!0,e.setState({btnDownHover:!0,btnDownActive:!0},(function(){e._invokeEventCallback.apply(e,["onFocus"].concat(n)),e.onMouseDown("down")}))}}),r(v.input,{onChange:function(t){var n=t.target.value,r=e._parse(n);isNaN(r)&&(r=null),e.setState({value:e._isStrict?e._toNumber(r):r,stringValue:n})},onKeyDown:this._onKeyDown.bind(this),onInput:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];e.saveSelection(),e._invokeEventCallback.apply(e,["onInput"].concat(n))},onSelect:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];e.saveSelection(),e._invokeEventCallback.apply(e,["onSelect"].concat(n))},onFocus:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n[0].persist(),e._inputFocus=!0;var o=e._parse(n[0].target.value);e.setState({value:o,stringValue:o||0===o?o+"":""},(function(){e._invokeEventCallback.apply(e,["onFocus"].concat(n))}))},onBlur:function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=e._isStrict;e._isStrict=!0,n[0].persist(),e._inputFocus=!1;var a=e._parse(n[0].target.value);e.setState({value:a},(function(){e._invokeEventCallback.apply(e,["onBlur"].concat(n)),e._isStrict=o}))}}));var k=p||"input";return l?i.default.createElement("span",v.wrap,i.default.createElement(k,v.input),i.default.createElement("b",v.btnUp,i.default.createElement("i",{style:h?null:a.minus}),i.default.createElement("i",{style:h?null:a.plus})),i.default.createElement("b",v.btnDown,i.default.createElement("i",{style:h?null:a.minus}))):i.default.createElement("span",v.wrap,i.default.createElement(k,v.input),i.default.createElement("b",v.btnUp,i.default.createElement("i",{style:h?null:a.arrowUp})),i.default.createElement("b",v.btnDown,i.default.createElement("i",{style:h?null:a.arrowDown})))}}]),t}(a.Component);d.propTypes={step:s.default.oneOfType([s.default.number,s.default.func]),min:s.default.oneOfType([s.default.number,s.default.func]),max:s.default.oneOfType([s.default.number,s.default.func]),precision:s.default.oneOfType([s.default.number,s.default.func]),maxLength:s.default.number,parse:s.default.func,format:s.default.func,className:s.default.string,disabled:s.default.bool,readOnly:s.default.bool,required:s.default.bool,snap:s.default.bool,noValidate:s.default.oneOfType([s.default.bool,s.default.string]),style:s.default.oneOfType([s.default.object,s.default.bool]),noStyle:s.default.bool,type:s.default.string,pattern:s.default.string,onFocus:s.default.func,onBlur:s.default.func,onKeyDown:s.default.func,onChange:s.default.func,onInvalid:s.default.func,onValid:s.default.func,onInput:s.default.func,onSelect:s.default.func,size:s.default.oneOfType([s.default.number,s.default.string]),value:s.default.oneOfType([s.default.number,s.default.string]),defaultValue:s.default.oneOfType([s.default.number,s.default.string]),strict:s.default.bool,componentClass:s.default.string,mobile:function(e,t){var n=e[t];if(!0!==n&&!1!==n&&"auto"!==n&&"function"!=typeof n)return new Error('The "mobile" prop must be true, false, "auto" or a function')}},d.defaultProps={step:1,min:Number.MIN_SAFE_INTEGER||-9007199254740991,max:Number.MAX_SAFE_INTEGER||9007199254740991,precision:null,parse:null,format:null,mobile:"auto",strict:!1,componentClass:"input",style:{}},d.style={wrap:{position:"relative",display:"inline-block"},"wrap.hasFormControl":{display:"block"},arrowUp:{position:"absolute",top:"50%",left:"50%",width:0,height:0,borderWidth:"0 0.6ex 0.6ex 0.6ex",borderColor:"transparent transparent rgba(0, 0, 0, 0.7)",borderStyle:"solid",margin:"-0.3ex 0 0 -0.56ex"},arrowDown:{position:"absolute",top:"50%",left:"50%",width:0,height:0,borderWidth:"0.6ex 0.6ex 0 0.6ex",borderColor:"rgba(0, 0, 0, 0.7) transparent transparent",borderStyle:"solid",margin:"-0.3ex 0 0 -0.56ex"},plus:{position:"absolute",top:"50%",left:"50%",width:2,height:10,background:"rgba(0,0,0,.7)",margin:"-5px 0 0 -1px"},minus:{position:"absolute",top:"50%",left:"50%",width:10,height:2,background:"rgba(0,0,0,.7)",margin:"-1px 0 0 -5px"},btn:{position:"absolute",right:2,width:"2.26ex",borderColor:"rgba(0,0,0,.1)",borderStyle:"solid",textAlign:"center",cursor:"default",transition:"all 0.1s",background:"rgba(0,0,0,.1)",boxShadow:"-1px -1px 3px rgba(0,0,0,.1) inset,1px 1px 3px rgba(255,255,255,.7) inset"},btnUp:{top:2,bottom:"50%",borderRadius:"2px 2px 0 0",borderWidth:"1px 1px 0 1px"},"btnUp.mobile":{width:"3.3ex",bottom:2,boxShadow:"none",borderRadius:2,borderWidth:1},btnDown:{top:"50%",bottom:2,borderRadius:"0 0 2px 2px",borderWidth:"0 1px 1px 1px"},"btnDown.mobile":{width:"3.3ex",bottom:2,left:2,top:2,right:"auto",boxShadow:"none",borderRadius:2,borderWidth:1},"btn:hover":{background:"rgba(0,0,0,.2)"},"btn:active":{background:"rgba(0,0,0,.3)",boxShadow:"0 1px 3px rgba(0,0,0,.2) inset,-1px -1px 4px rgba(255,255,255,.5) inset"},"btn:disabled":{opacity:.5,boxShadow:"none",cursor:"not-allowed"},input:{paddingRight:"3ex",boxSizing:"border-box",fontSize:"inherit"},"input:not(.form-control)":{border:"1px solid #ccc",borderRadius:2,paddingLeft:4,display:"block",WebkitAppearance:"none",lineHeight:"normal"},"input.mobile":{paddingLeft:" 3.4ex",paddingRight:"3.4ex",textAlign:"center"},"input:focus":{},"input:disabled":{color:"rgba(0, 0, 0, 0.3)",textShadow:"0 1px 0 rgba(255, 255, 255, 0.8)"}},d.SPEED=50,d.DELAY=500,d.DIRECTION_UP="up",d.DIRECTION_DOWN="down",e.exports=d},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(1)}])},function(e,t){var n;!function(){var e=Math.PI,t=2*e,n=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var t=e.stops;this.stops=(t||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var n=0;n<this.stops.length;n++)if(this.stops[n]){var r=this.stops[n]=new o.ColorStop(this,this.stops[n]);r.next&&(this.stops.splice(n+1,0,r.next),n++)}else this.stops.splice(n,1),n--;if(0==this.stops[0].color.indexOf("from")&&(this.from=360*this.stops[0].pos,this.stops.shift()),void 0===this.stops[0].pos)this.stops[0].pos=0;else if(this.stops[0].pos>0){var a=this.stops[0].clone();a.pos=0,this.stops.unshift(a)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var i=this.stops[this.stops.length-1].clone();i.pos=1,this.stops.push(i)}if(this.stops.forEach((function(e,t){if(void 0===e.pos){for(var n=t+1;this[n];n++)if(void 0!==this[n].pos){e.pos=this[t-1].pos+(this[n].pos-this[t-1].pos)/(n-t+1);break}}else t>0&&(e.pos=Math.max(e.pos,this[t-1].pos))}),this.stops),this.repeating){var s=(t=this.stops.slice())[t.length-1].pos-t[0].pos;for(n=0;this.stops[this.stops.length-1].pos<1&&n<1e4;n++)for(var l=0;l<t.length;l++){var c=t[l].clone();c.pos+=(n+1)*s,this.stops.push(c)}}this.paint()};o.all=[],o.prototype={toString:function(){return"url('"+this.dataURL+"')"},get dataURL(){return"data:image/svg+xml,"+encodeURIComponent(this.svg)},get blobURL(){return URL.createObjectURL(new Blob([this.svg],{type:"image/svg+xml"}))},get svg(){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none"><svg viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice"><image width="100" height="100%" xlink:href="'+this.png+'" /></svg></svg>'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,t,r,o=this.context,a=this.r,i=this.size/2,s=0,l=this.stops[s];o.translate(this.size/2,this.size/2),o.rotate(-90*n),o.rotate(this.from*n),o.translate(-this.size/2,-this.size/2);for(var c=0;c<360;){if(c/360+1e-5>=l.pos){do{e=l,s++,l=this.stops[s]}while(l&&l!=e&&l.pos===e.pos);if(!l)break;var u=e.color+""==l.color+""&&e!=l;t=e.color.map((function(e,t){return l.color[t]-e}))}r=(c/360-e.pos)/(l.pos-e.pos);var f=u?l.color:t.map((function(t,n){var o=t*r+e.color[n];return n<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(i,i),u)var p=360*(l.pos-e.pos);else p=.5;var d=c*n,h=(d=Math.min(360*n,d))+p*n;h=Math.min(360*n,h+.02),o.arc(i,i,a,d,h),o.closePath(),o.fill(),c+=p}}},o.ColorStop=function(e,n){if(this.gradient=e,n){var r=n.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var a=r[3];"%"==a||"0"===r[2]&&!a?this.pos=r[2]/100:"turn"==a?this.pos=+r[2]:"deg"==a?this.pos=r[2]/360:"grad"==a?this.pos=r[2]/400:"rad"==a&&(this.pos=r[2]/t)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var t=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return t&&(t.shift(),(t=t.map((function(e){return+e})))[3]=isNaN(t[3])?1:t[3]),t||[0,0,0,0]}return e}}(),self.StyleFix&&((n=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",n.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",n.style.backgroundImage||StyleFix.register((function(e,t){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,t){return new ConicGradient({stops:t,repeating:e.indexOf("repeating-")>-1})}))),e})))},function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,o=/: */g,a=/zoo|gra/,i=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,l=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,u=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,p=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,d=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,b=/:(read-only)/g,g=/\s+(?=[{\];=:>])/g,v=/([[}=:>])\s+/g,y=/(\{[^{]+?);(?=\})/g,x=/\s{2,}/g,k=/([^\(])(:+) */g,w=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,C=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,j=/stretch|:\s*\w+\-(?:conte|avail)/,_=/([^-])(image-set\()/,A="-webkit-",P="-moz-",M="-ms-",I=59,D=125,T=123,R=40,L=41,N=91,z=93,F=10,H=13,B=9,G=64,U=32,V=38,W=45,$=95,Y=42,q=44,X=58,K=39,J=34,Z=47,Q=62,ee=43,te=126,ne=0,re=12,oe=11,ae=107,ie=109,se=115,le=112,ce=111,ue=105,fe=99,pe=100,de=112,he=1,me=1,be=0,ge=1,ve=1,ye=1,xe=0,ke=0,we=0,Ee=[],Oe=[],Ce=0,Se=null,je=-2,_e=-1,Ae=0,Pe=1,Me=2,Ie=3,De=0,Te=1,Re="",Le="",Ne="";function ze(e,t,o,a,i){for(var s,l,u=0,f=0,p=0,d=0,g=0,v=0,y=0,x=0,w=0,O=0,C=0,S=0,j=0,_=0,$=0,xe=0,Oe=0,Se=0,je=0,_e=o.length,He=_e-1,$e="",Ye="",qe="",Xe="",Ke="",Je="";$<_e;){if(y=o.charCodeAt($),$===He&&f+d+p+u!==0&&(0!==f&&(y=f===Z?F:Z),d=p=u=0,_e++,He++),f+d+p+u===0){if($===He&&(xe>0&&(Ye=Ye.replace(r,"")),Ye.trim().length>0)){switch(y){case U:case B:case I:case H:case F:break;default:Ye+=o.charAt($)}y=I}if(1===Oe)switch(y){case T:case D:case I:case J:case K:case R:case L:case q:Oe=0;case B:case H:case F:case U:break;default:for(Oe=0,je=$,g=y,$--,y=I;je<_e;)switch(o.charCodeAt(je++)){case F:case H:case I:++$,y=g,je=_e;break;case X:xe>0&&(++$,y=g);case T:je=_e}}switch(y){case T:for(g=(Ye=Ye.trim()).charCodeAt(0),C=1,je=++$;$<_e;){switch(y=o.charCodeAt($)){case T:C++;break;case D:C--;break;case Z:switch(v=o.charCodeAt($+1)){case Y:case Z:$=We(v,$,He,o)}break;case N:y++;case R:y++;case J:case K:for(;$++<He&&o.charCodeAt($)!==y;);}if(0===C)break;$++}switch(qe=o.substring(je,$),g===ne&&(g=(Ye=Ye.replace(n,"").trim()).charCodeAt(0)),g){case G:switch(xe>0&&(Ye=Ye.replace(r,"")),v=Ye.charCodeAt(1)){case pe:case ie:case se:case W:s=t;break;default:s=Ee}if(je=(qe=ze(t,s,qe,v,i+1)).length,we>0&&0===je&&(je=Ye.length),Ce>0&&(s=Fe(Ee,Ye,Se),l=Ve(Ie,qe,s,t,me,he,je,v,i,a),Ye=s.join(""),void 0!==l&&0===(je=(qe=l.trim()).length)&&(v=0,qe="")),je>0)switch(v){case se:Ye=Ye.replace(E,Ue);case pe:case ie:case W:qe=Ye+"{"+qe+"}";break;case ae:qe=(Ye=Ye.replace(h,"$1 $2"+(Te>0?Re:"")))+"{"+qe+"}",qe=1===ve||2===ve&&Ge("@"+qe,3)?"@"+A+qe+"@"+qe:"@"+qe;break;default:qe=Ye+qe,a===de&&(Xe+=qe,qe="")}else qe="";break;default:qe=ze(t,Fe(t,Ye,Se),qe,a,i+1)}Ke+=qe,S=0,Oe=0,_=0,xe=0,Se=0,j=0,Ye="",qe="",y=o.charCodeAt(++$);break;case D:case I:if((je=(Ye=(xe>0?Ye.replace(r,""):Ye).trim()).length)>1)switch(0===_&&((g=Ye.charCodeAt(0))===W||g>96&&g<123)&&(je=(Ye=Ye.replace(" ",":")).length),Ce>0&&void 0!==(l=Ve(Pe,Ye,t,e,me,he,Xe.length,a,i,a))&&0===(je=(Ye=l.trim()).length)&&(Ye="\0\0"),g=Ye.charCodeAt(0),v=Ye.charCodeAt(1),g){case ne:break;case G:if(v===ue||v===fe){Je+=Ye+o.charAt($);break}default:if(Ye.charCodeAt(je-1)===X)break;Xe+=Be(Ye,g,v,Ye.charCodeAt(2))}S=0,Oe=0,_=0,xe=0,Se=0,Ye="",y=o.charCodeAt(++$)}}switch(y){case H:case F:if(f+d+p+u+ke===0)switch(O){case L:case K:case J:case G:case te:case Q:case Y:case ee:case Z:case W:case X:case q:case I:case T:case D:break;default:_>0&&(Oe=1)}f===Z?f=0:ge+S===0&&a!==ae&&Ye.length>0&&(xe=1,Ye+="\0"),Ce*De>0&&Ve(Ae,Ye,t,e,me,he,Xe.length,a,i,a),he=1,me++;break;case I:case D:if(f+d+p+u===0){he++;break}default:switch(he++,$e=o.charAt($),y){case B:case U:if(d+u+f===0)switch(x){case q:case X:case B:case U:$e="";break;default:y!==U&&($e=" ")}break;case ne:$e="\\0";break;case re:$e="\\f";break;case oe:$e="\\v";break;case V:d+f+u===0&&ge>0&&(Se=1,xe=1,$e="\f"+$e);break;case 108:if(d+f+u+be===0&&_>0)switch($-_){case 2:x===le&&o.charCodeAt($-3)===X&&(be=x);case 8:w===ce&&(be=w)}break;case X:d+f+u===0&&(_=$);break;case q:f+p+d+u===0&&(xe=1,$e+="\r");break;case J:case K:0===f&&(d=d===y?0:0===d?y:d);break;case N:d+f+p===0&&u++;break;case z:d+f+p===0&&u--;break;case L:d+f+u===0&&p--;break;case R:if(d+f+u===0){if(0===S)switch(2*x+3*w){case 533:break;default:C=0,S=1}p++}break;case G:f+p+d+u+_+j===0&&(j=1);break;case Y:case Z:if(d+u+p>0)break;switch(f){case 0:switch(2*y+3*o.charCodeAt($+1)){case 235:f=Z;break;case 220:je=$,f=Y}break;case Y:y===Z&&x===Y&&je+2!==$&&(33===o.charCodeAt(je+2)&&(Xe+=o.substring(je,$+1)),$e="",f=0)}}if(0===f){if(ge+d+u+j===0&&a!==ae&&y!==I)switch(y){case q:case te:case Q:case ee:case L:case R:if(0===S){switch(x){case B:case U:case F:case H:$e+="\0";break;default:$e="\0"+$e+(y===q?"":"\0")}xe=1}else switch(y){case R:_+7===$&&108===x&&(_=0),S=++C;break;case L:0==(S=--C)&&(xe=1,$e+="\0")}break;case B:case U:switch(x){case ne:case T:case D:case I:case q:case re:case B:case U:case F:case H:break;default:0===S&&(xe=1,$e+="\0")}}Ye+=$e,y!==U&&y!==B&&(O=y)}}w=x,x=y,$++}if(je=Xe.length,we>0&&0===je&&0===Ke.length&&0===t[0].length==0&&(a!==ie||1===t.length&&(ge>0?Le:Ne)===t[0])&&(je=t.join(",").length+2),je>0){if(s=0===ge&&a!==ae?function(e){for(var t,n,o=0,a=e.length,i=Array(a);o<a;++o){for(var s=e[o].split(c),l="",u=0,f=0,p=0,d=0,h=s.length;u<h;++u)if(!(0===(f=(n=s[u]).length)&&h>1)){if(p=l.charCodeAt(l.length-1),d=n.charCodeAt(0),t="",0!==u)switch(p){case Y:case te:case Q:case ee:case U:case R:break;default:t=" "}switch(d){case V:n=t+Le;case te:case Q:case ee:case U:case L:case R:break;case N:n=t+n+Le;break;case X:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(ye>0){n=t+n.substring(8,f-1);break}default:(u<1||s[u-1].length<1)&&(n=t+Le+n)}break;case q:t="";default:n=f>1&&n.indexOf(":")>0?t+n.replace(k,"$1"+Le+"$2"):t+n+Le}l+=n}i[o]=l.replace(r,"").trim()}return i}(t):t,Ce>0&&void 0!==(l=Ve(Me,Xe,s,e,me,he,je,a,i,a))&&0===(Xe=l).length)return Je+Xe+Ke;if(Xe=s.join(",")+"{"+Xe+"}",ve*be!=0){switch(2!==ve||Ge(Xe,2)||(be=0),be){case ce:Xe=Xe.replace(b,":"+P+"$1")+Xe;break;case le:Xe=Xe.replace(m,"::"+A+"input-$1")+Xe.replace(m,"::"+P+"$1")+Xe.replace(m,":"+M+"input-$1")+Xe}be=0}}return Je+Xe+Ke}function Fe(e,t,n){var r=t.trim().split(u),o=r,a=r.length,i=e.length;switch(i){case 0:case 1:for(var s=0,l=0===i?"":e[0]+" ";s<a;++s)o[s]=He(l,o[s],n,i).trim();break;default:s=0;var c=0;for(o=[];s<a;++s)for(var f=0;f<i;++f)o[c++]=He(e[f]+" ",r[s],n,i).trim()}return o}function He(e,t,n,r){var o=t,a=o.charCodeAt(0);switch(a<33&&(a=(o=o.trim()).charCodeAt(0)),a){case V:switch(ge+r){case 0:case 1:if(0===e.trim().length)break;default:return o.replace(f,"$1"+e.trim())}break;case X:switch(o.charCodeAt(1)){case 103:if(ye>0&&ge>0)return o.replace(p,"$1").replace(f,"$1"+Ne);break;default:return e.trim()+o.replace(f,"$1"+e.trim())}default:if(n*ge>0&&o.indexOf("\f")>0)return o.replace(f,(e.charCodeAt(0)===X?"":"$1")+e.trim())}return e+o}function Be(e,t,n,r){var c,u=0,f=e+";",p=2*t+3*n+4*r;if(944===p)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),o=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*Te){case 0:break;case W:if(110!==e.charCodeAt(10))break;default:var a=o.split((o="",s)),i=0;for(n=0,t=a.length;i<t;n=0,++i){for(var c=a[i],u=c.split(l);c=u[n];){var f=c.charCodeAt(0);if(1===Te&&(f>G&&f<90||f>96&&f<123||f===$||f===W&&c.charCodeAt(1)!==W))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=Re}}u[n++]=c}o+=(0===i?"":",")+u.join(" ")}}return o=r+o+";",1===ve||2===ve&&Ge(o,1)?A+o+o:o}(f);if(0===ve||2===ve&&!Ge(f,1))return f;switch(p){case 1015:return 97===f.charCodeAt(10)?A+f+f:f;case 951:return 116===f.charCodeAt(3)?A+f+f:f;case 963:return 110===f.charCodeAt(5)?A+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return A+f+f;case 978:return A+f+P+f+f;case 1019:case 983:return A+f+P+f+M+f+f;case 883:return f.charCodeAt(8)===W?A+f+f:f.indexOf("image-set(",11)>0?f.replace(_,"$1"+A+"$2")+f:f;case 932:if(f.charCodeAt(4)===W)switch(f.charCodeAt(5)){case 103:return A+"box-"+f.replace("-grow","")+A+f+M+f.replace("grow","positive")+f;case 115:return A+f+M+f.replace("shrink","negative")+f;case 98:return A+f+M+f.replace("basis","preferred-size")+f}return A+f+M+f+f;case 964:return A+f+M+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return c=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),A+"box-pack"+c+A+f+M+"flex-pack"+c+f;case 1005:return a.test(f)?f.replace(o,":"+A)+f.replace(o,":"+P)+f:f;case 1e3:switch(u=(c=f.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(u)){case 226:c=f.replace(w,"tb");break;case 232:c=f.replace(w,"tb-rl");break;case 220:c=f.replace(w,"lr");break;default:return f}return A+f+M+c+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(u=(f=e).length-10,p=(c=(33===f.charCodeAt(u)?f.substring(0,u):f).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:f=f.replace(c,A+c)+";"+f;break;case 207:case 102:f=f.replace(c,A+(p>102?"inline-":"")+"box")+";"+f.replace(c,A+c)+";"+f.replace(c,M+c+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===W)switch(f.charCodeAt(6)){case 105:return c=f.replace("-items",""),A+f+A+"box-"+c+M+"flex-"+c+f;case 115:return A+f+M+"flex-item-"+f.replace(C,"")+f;default:return A+f+M+"flex-line-pack"+f.replace("align-content","").replace(C,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==W||122===f.charCodeAt(4))break;case 931:case 953:if(!0===j.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?Be(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):f.replace(c,A+c)+f.replace(c,P+c.replace("fill-",""))+f;break;case 962:if(f=A+f+(102===f.charCodeAt(5)?M+f:"")+f,n+r===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(i,"$1"+A+"$2")+f}return f}function Ge(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),o=e.substring(n+1,e.length-1);return Se(2!==t?r:r.replace(S,"$1"),o,t)}function Ue(e,t){var n=Be(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function Ve(e,t,n,r,o,a,i,s,l,c){for(var u,f=0,p=t;f<Ce;++f)switch(u=Oe[f].call(Ye,e,p,n,r,o,a,i,s,l,c)){case void 0:case!1:case!0:case null:break;default:p=u}if(p!==t)return p}function We(e,t,n,r){for(var o=t+1;o<n;++o)switch(r.charCodeAt(o)){case Z:if(e===Y&&r.charCodeAt(o-1)===Y&&t+2!==o)return o+1;break;case F:if(e===Z)return o+1}return o}function $e(e){for(var t in e){var n=e[t];switch(t){case"keyframe":Te=0|n;break;case"global":ye=0|n;break;case"cascade":ge=0|n;break;case"compress":xe=0|n;break;case"semicolon":ke=0|n;break;case"preserve":we=0|n;break;case"prefix":Se=null,n?"function"!=typeof n?ve=1:(ve=2,Se=n):ve=0}}return $e}function Ye(t,n){if(void 0!==this&&this.constructor===Ye)return e(t);var o=t,a=o.charCodeAt(0);a<33&&(a=(o=o.trim()).charCodeAt(0)),Te>0&&(Re=o.replace(d,a===N?"":"-")),a=1,1===ge?Ne=o:Le=o;var i,s=[Ne];Ce>0&&void 0!==(i=Ve(_e,n,s,s,me,he,0,0,0,0))&&"string"==typeof i&&(n=i);var l=ze(Ee,s,n,0,0);return Ce>0&&void 0!==(i=Ve(je,l,s,s,me,he,l.length,0,0,0))&&"string"!=typeof(l=i)&&(a=0),Re="",Ne="",Le="",be=0,me=1,he=1,xe*a==0?l:l.replace(r,"").replace(g,"").replace(v,"$1").replace(y,"$1").replace(x," ")}return Ye.use=function e(t){switch(t){case void 0:case null:Ce=Oe.length=0;break;default:if("function"==typeof t)Oe[Ce++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else De=0|!!t}return e},Ye.set=$e,void 0!==t&&$e(t),Ye}(null)},function(e,t,n){"use strict";e.exports=n(26)},function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}t.a=function(e,t){var n;void 0===t&&(t=r);var o,a=[],i=!1;return function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return i&&n===this&&t(r,a)?o:(o=e.apply(this,r),i=!0,n=this,a=r,o)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return b}));var r=n(1),o=n.n(r),a=n(0),i=n.n(a),s=n(3);function l(e){return(l="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 c(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 u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=Object(a.lazy)((function(){return n.e(0).then(n.bind(null,35))})),h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,f(t).apply(this,arguments))}var n,r,o;return 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&&p(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return i.a.createElement(a.Suspense,{fallback:null},i.a.createElement(d,this.props))}}])&&c(n.prototype,r),o&&c(n,o),t}(a.Component);h.defaultProps={size:225,theme:s.e,labelPosition:"top"},h.propTypes={id:o.a.string,value:o.a.shape({hex:o.a.string,rbg:o.a.shape({r:o.a.number,g:o.a.number,b:o.a.number,a:o.a.number})}),disabled:o.a.bool,size:o.a.number,theme:o.a.object,label:o.a.oneOfType([o.a.string,o.a.shape({style:o.a.object,label:o.a.string})]),labelPosition:o.a.oneOf(["top","bottom"]),className:o.a.string,setProps:o.a.func,style:o.a.object};var m=h.defaultProps,b=h.propTypes},function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,f=o.random;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,l=null,f=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(P[e])e=P[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=U.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=U.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(d=e.r,h=e.g,m=e.b,t={r:255*D(d,255),g:255*D(h,255),b:255*D(m,255)},f=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(r=N(e.s),s=N(e.v),t=function(e,t,n){e=6*D(e,360),t=D(t,100),n=D(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),l=n*(1-(1-a)*t),c=r%6;return{r:255*[n,s,i,i,l,n][c],g:255*[l,n,n,s,i,i][c],b:255*[i,i,l,n,n,s][c]}}(e.h,r,s),f=!0,p="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(r=N(e.s),l=N(e.l),t=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=D(e,360),t=D(t,100),n=D(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,r,l),f=!0,p="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,m;return n=I(n),{ok:f,format:e.format||p,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=n.ok,this._tc_id=s++}function d(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var l=a-i;switch(o=s>.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=D(e,255),t=D(t,255),n=D(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function m(e,t,n,r){var o=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function b(e,t,n,r){return[L(z(r)),L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s-=t/100,n.s=T(n.s),p(n)}function v(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.s+=t/100,n.s=T(n.s),p(n)}function y(e){return p(e).desaturate(100)}function x(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l+=t/100,n.l=T(n.l),p(n)}function k(e,t){t=0===t?0:t||10;var n=p(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),p(n)}function w(e,t){t=0===t?0:t||10;var n=p(e).toHsl();return n.l-=t/100,n.l=T(n.l),p(n)}function E(e,t){var n=p(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,p(n)}function O(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function C(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+120)%360,s:t.s,l:t.l}),p({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+90)%360,s:t.s,l:t.l}),p({h:(n+180)%360,s:t.s,l:t.l}),p({h:(n+270)%360,s:t.s,l:t.l})]}function j(e){var t=p(e).toHsl(),n=t.h;return[p(e),p({h:(n+72)%360,s:t.s,l:t.l}),p({h:(n+216)%360,s:t.s,l:t.l})]}function _(e,t,n){t=t||6,n=n||30;var r=p(e).toHsl(),o=360/n,a=[p(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(p(r));return a}function A(e,t){t=t||6;for(var n=p(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(p({h:r,s:o,v:a})),a=(a+s)%1;return i}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[L(l(e).toString(16)),L(l(t).toString(16)),L(l(n).toString(16)),L(z(r))];if(o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*D(this._r,255))+"%",g:l(100*D(this._g,255))+"%",b:l(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*D(this._r,255))+"%, "+l(100*D(this._g,255))+"%, "+l(100*D(this._b,255))+"%)":"rgba("+l(100*D(this._r,255))+"%, "+l(100*D(this._g,255))+"%, "+l(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(M[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=p(e);n="#"+b(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:N(e[r]));e=n}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:f(),g:f(),b:f()})},p.mix=function(e,t,n){n=0===n?0:n||50;var r=p(e).toRgb(),o=p(t).toRgb(),a=n/100;return p({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},p.readability=function(e,t){var n=p(e),r=p(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},p.isReadable=function(e,t,n){var r,o,a=p.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},p.mostReadable=function(e,t,n){var r,o,a,i,s=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=p.readability(e,t[c]))>l&&(l=r,s=p(t[c]));return p.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],n))};var P=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},M=p.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(P);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function D(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function T(e){return c(1,u(0,e))}function R(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function N(e){return e<=1&&(e=100*e+"%"),e}function z(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var H,B,G,U=(B="[\\s|\\(]+("+(H="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",G="[\\s|\\(]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")[,|\\s]+("+H+")\\s*\\)?",{CSS_UNIT:new RegExp(H),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+G),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+G),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+G),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=p:void 0===(r=function(){return p}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"c",(function(){return b}));var r=n(1),o=n.n(r),a=n(0),i=n.n(a),s=n(3);function l(e){return(l="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 c(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 u(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=Object(a.lazy)((function(){return n.e(1).then(n.bind(null,34))})),h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,f(t).apply(this,arguments))}var n,r,o;return 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&&p(e,t)}(t,e),n=t,(r=[{key:"render",value:function(){return i.a.createElement(a.Suspense,{fallback:null},i.a.createElement(d,this.props))}}])&&c(n.prototype,r),o&&c(n,o),t}(a.Component);h.defaultProps={theme:s.e,targets:{},updatemode:"mouseup",color:s.c.DARKER_PRIMARY,min:0,size:265,labelPosition:"bottom"},h.propTypes={id:o.a.string,marks:o.a.shape({number:o.a.oneOfType([o.a.string,o.a.shape({style:o.a.object,label:o.a.string})])}),color:o.a.oneOfType([o.a.string,o.a.shape({default:o.a.string,gradient:o.a.bool,ranges:o.a.shape({color:o.a.arrayOf(o.a.number)})})]),value:o.a.number,className:o.a.string,labelPosition:o.a.oneOf(["top","bottom"]),disabled:o.a.bool,dots:o.a.bool,included:o.a.bool,min:o.a.number,max:o.a.number,step:o.a.number,vertical:o.a.bool,size:o.a.number,targets:o.a.shape({number:o.a.oneOfType([o.a.string,o.a.shape({showCurrentValue:o.a.bool,label:o.a.string,color:o.a.string,style:o.a.object})])}),theme:o.a.object,handleLabel:o.a.oneOfType([o.a.string,o.a.shape({showCurrentValue:o.a.bool,label:o.a.string,color:o.a.string,style:o.a.object})]),updatemode:o.a.oneOf(["mouseup","drag"]),setProps:o.a.func};var m=h.defaultProps,b=h.propTypes},function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){var r=n(17),o={};for(var a in r)r.hasOwnProperty(a)&&(o[r[a]]=a);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var s in i)if(i.hasOwnProperty(s)){if(!("channels"in i[s]))throw new Error("missing channels property: "+s);if(!("labels"in i[s]))throw new Error("missing channel labels property: "+s);if(i[s].labels.length!==i[s].channels)throw new Error("channel and label counts mismatch: "+s);var l=i[s].channels,c=i[s].labels;delete i[s].channels,delete i[s].labels,Object.defineProperty(i[s],"channels",{value:l}),Object.defineProperty(i[s],"labels",{value:c})}i.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,a=e[2]/255,i=Math.min(r,o,a),s=Math.max(r,o,a),l=s-i;return s===i?t=0:r===s?t=(o-a)/l:o===s?t=2+(a-r)/l:a===s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+s)/2,[t,100*(s===i?0:n<=.5?l/(s+i):l/(2-s-i)),100*n]},i.rgb.hsv=function(e){var t,n,r,o,a,i=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(i,s,l),u=c-Math.min(i,s,l),f=function(e){return(c-e)/6/u+.5};return 0===u?o=a=0:(a=u/c,t=f(i),n=f(s),r=f(l),i===c?o=r-n:s===c?o=1/3+t-r:l===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*a,100*c]},i.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[i.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},i.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var t=o[e];if(t)return t;var n,a,i,s=1/0;for(var l in r)if(r.hasOwnProperty(l)){var c=r[l],u=(a=e,i=c,Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)+Math.pow(a[2]-i[2],2));u<s&&(s=u,n=l)}return n},i.keyword.rgb=function(e){return r[e]},i.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},i.hsl.rgb=function(e){var t,n,r,o,a,i=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var c=0;c<3;c++)(r=i+1/3*-(c-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*a;return o},i.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=a<=1?a:2-a,[t,100*(0===r?2*o/(a+o):2*n/(r+n)),100*((r+n)/2)]},i.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),s=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,l,i];case 1:return[s,r,i];case 2:return[i,r,l];case 3:return[i,s,r];case 4:return[l,i,r];case 5:return[r,i,s]}},i.hsv.hsl=function(e){var t,n,r,o=e[0],a=e[1]/100,i=e[2]/100,s=Math.max(i,.01);return r=(2-a)*i,n=a*s,[o,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(r/=2)]},i.hwb.rgb=function(e){var t,n,r,o,a,i,s,l=e[0]/360,c=e[1]/100,u=e[2]/100,f=c+u;switch(f>1&&(c/=f,u/=f),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-u)-c),t){default:case 6:case 0:a=n,i=o,s=c;break;case 1:a=o,i=n,s=c;break;case 2:a=c,i=n,s=o;break;case 3:a=c,i=o,s=n;break;case 4:a=o,i=c,s=n;break;case 5:a=n,i=c,s=o}return[255*a,255*i,255*s]},i.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},i.xyz.rgb=function(e){var t,n,r,o=e[0]/100,a=e[1]/100,i=e[2]/100;return n=-.9689*o+1.8758*a+.0415*i,r=.0557*o+-.204*a+1.057*i,t=(t=3.2406*o+-1.5372*a+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),i=Math.pow(t,3),s=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},i.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},i.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.max(Math.max(n,r),o),i=Math.min(Math.min(n,r),o),s=a-i;return t=s<=0?0:a===n?(r-o)/s%6:a===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?i/(1-s):0)]},i.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},i.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o,a=[0,0,0],i=t%1*6,s=i%1,l=1-s;switch(Math.floor(i)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return o=(1-n)*r,[255*(n*a[0]+o),255*(n*a[1]+o),255*(n*a[2]+o)]},i.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,o,a,i,s,l,c,u,f){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(o[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){var r,o,a,i;
  /*!
   * TinyGradient 0.4.3
   * Copyright 2014-2018 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
   * Licensed under MIT (http://opensource.org/licenses/MIT)
   */i=function(e){"use strict";var t={r:256,g:256,b:256,a:1},n={h:360,s:1,v:1,a:1};function r(e,t,n){var r={};for(var o in e)e.hasOwnProperty(o)&&(r[o]=0===n?0:(t[o]-e[o])/n);return r}function o(e,t,n,r){var o={};for(var a in t)t.hasOwnProperty(a)&&(o[a]=e[a]*n+t[a],o[a]=o[a]<0?o[a]+r[a]:1!==r[a]?o[a]%r[a]:o[a]);return o}function a(n,a,i){for(var s,l=n.color.toRgb(),c=a.color.toRgb(),u=[n.color],f=r(l,c,i),p=1;p<i;p++)s=o(f,l,p,t),u.push(e(s));return u}function i(t,a,i,s){var l,c,u=t.color.toHsv(),f=a.color.toHsv(),p=[t.color],d=r(u,f,i);l=u.h<=f.h&&!s||u.h>=f.h&&s?f.h-u.h:s?360-f.h+u.h:360-u.h+f.h,d.h=Math.pow(-1,s?1:0)*Math.abs(l)/i;for(var h=1;h<i;h++)c=o(d,u,h,n),p.push(e(c));return p}function s(e,t){var n=e.length;if(t=parseInt(t),isNaN(t)||t<2)throw new Error("Invalid number of steps (< 2)");if(t<n)throw new Error("Number of steps cannot be inferior to number of stops");for(var r=[],o=1;o<n;o++){var a=(t-1)*(e[o].pos-e[o-1].pos);r.push(Math.max(1,Math.round(a)))}for(var i=1,s=n-1;s--;)i+=r[s];for(;i!==t;)if(i<t){var l=Math.min.apply(null,r);r[r.indexOf(l)]++,i++}else{var c=Math.max.apply(null,r);r[r.indexOf(c)]--,i--}return r}function l(t,n,a,i){if(n<0||n>1)throw new Error("Position must be between 0 and 1");for(var s,l,c=0,u=t.length;c<u-1;c++)if(n>=t[c].pos&&n<t[c+1].pos){s=t[c],l=t[c+1];break}s||(s=l=t[t.length-1]);var f=o(r(s.color[a](),l.color[a](),100*(l.pos-s.pos)),s.color[a](),Math.round(100*(n-s.pos)),i);return e(f)}var c=function(t){if(1===arguments.length){if(!(arguments[0]instanceof Array))throw new Error('"stops" is not an array');t=arguments[0]}else t=Array.prototype.slice.call(arguments);if(!(this instanceof c))return new c(t);if(t.length<2)throw new Error("Invalid number of stops (< 2)");var n=void 0!==t[0].pos,r=t.length,o=-1;this.stops=t.map((function(t,a){var i=void 0!==t.pos;if(n^i)throw new Error("Cannot mix positionned and not posionned color stops");if(i){if((t={color:e(t.color),pos:t.pos}).pos<0||t.pos>1)throw new Error("Color stops positions must be between 0 and 1");if(t.pos<=o)throw new Error("Color stops positions are not ordered");o=t.pos}else t={color:e(t),pos:a/(r-1)};return t})),0!==this.stops[0].pos&&this.stops.unshift({color:this.stops[0].color,pos:0}),1!==this.stops[this.stops.length-1].pos&&this.stops.push({color:this.stops[this.stops.length-1].color,pos:1})};c.prototype.reverse=function(){var e=[];return this.stops.forEach((function(t){e.push({color:t.color,pos:1-t.pos})})),new c(e.reverse())},c.prototype.rgb=function(e){for(var t=s(this.stops,e),n=[],r=0,o=this.stops.length;r<o-1;r++)n=n.concat(a(this.stops[r],this.stops[r+1],t[r]));return n.push(this.stops[o-1].color),n},c.prototype.hsv=function(e,t){for(var n,r,o,l=s(this.stops,e),c=!0===t,u="string"==typeof t,f=[],p=0,d=this.stops.length;p<d-1;p++)n=this.stops[p].color.toHsv(),r=this.stops[p+1].color.toHsv(),u&&(o=n.h<r.h&&r.h-n.h<180||n.h>r.h&&n.h-r.h>180),f=0===n.s||0===r.s?f.concat(a(this.stops[p],this.stops[p+1],l[p])):f.concat(i(this.stops[p],this.stops[p+1],l[p],"long"===t&&o||"short"===t&&!o||!u&&c));return f.push(this.stops[d-1].color),f},c.prototype.css=function(e,t){var n=(e=e||"linear")+"-gradient("+(t=t||("linear"===e?"to right":"ellipse at center"));return this.stops.forEach((function(e){n+=", "+e.color.toRgbString()+" "+100*e.pos+"%"})),n+=")"},c.prototype.rgbAt=function(e){return l(this.stops,e,"toRgb",t)},c.prototype.hsvAt=function(e){return l(this.stops,e,"toHsv",n)};var u={rgb:1,hsv:2,css:2,rgbAt:1,hsvAt:1};return Object.keys(u).forEach((function(e){c[e]=function(){var t=Array.prototype.slice.call(arguments),n=t.splice(-u[e]),r=new c(t);return r[e].apply(r,n)}})),c},e.exports?e.exports=i(n(15)):(o=[n(15)],void 0===(a="function"==typeof(r=i)?r.apply(t,o):r)||(e.exports=a))},function(e,t,n){e.exports=function(){var e,t=!!("ontouchstart"in window),n=!!window.PointerEvent,r=!!window.MSPointerEvent,o={start:"touchstart",move:"touchmove",end:"touchend, touchcancel"},a={start:"mousedown",move:"mousemove",end:"mouseup"},i={start:"pointerdown",move:"pointermove",end:"pointerup, pointercancel"},s={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"},l={};n?e=i:r?e=s:t?(e=o,l=a):e=a;var c={};function u(){}function f(e,t){return this.identifier=t.identifier,this.position=t.position,this.frontPosition=t.frontPosition,this.collection=e,this.defaults={size:100,threshold:.1,color:"white",fadeTime:250,dataOnly:!1,restJoystick:!0,restOpacity:.5,mode:"dynamic",zone:document.body,lockX:!1,lockY:!1},this.config(t),"dynamic"===this.options.mode&&(this.options.restOpacity=0),this.id=f.id,f.id+=1,this.buildEl().stylize(),this.instance={el:this.ui.el,on:this.on.bind(this),off:this.off.bind(this),show:this.show.bind(this),hide:this.hide.bind(this),add:this.addToDom.bind(this),remove:this.removeFromDom.bind(this),destroy:this.destroy.bind(this),resetDirection:this.resetDirection.bind(this),computeDirection:this.computeDirection.bind(this),trigger:this.trigger.bind(this),position:this.position,frontPosition:this.frontPosition,ui:this.ui,identifier:this.identifier,id:this.id,options:this.options},this.instance}function p(e,t){return this.nipples=[],this.idles=[],this.actives=[],this.ids=[],this.pressureIntervals={},this.manager=e,this.id=p.id,p.id+=1,this.defaults={zone:document.body,multitouch:!1,maxNumberOfNipples:10,mode:"dynamic",position:{top:0,left:0},catchDistance:200,size:100,threshold:.1,color:"white",fadeTime:250,dataOnly:!1,restJoystick:!0,restOpacity:.5,lockX:!1,lockY:!1},this.config(t),"static"!==this.options.mode&&"semi"!==this.options.mode||(this.options.multitouch=!1),this.options.multitouch||(this.options.maxNumberOfNipples=1),this.updateBox(),this.prepareNipples(),this.bindings(),this.begin(),this.nipples}function d(e){var t,n=this;return n.ids={},n.index=0,n.collections=[],n.config(e),n.prepareCollections(),c.bindEvt(window,"resize",(function(e){clearTimeout(t),t=setTimeout((function(){var e,t=c.getScroll();n.collections.forEach((function(n){n.forEach((function(n){e=n.el.getBoundingClientRect(),n.position={x:t.x+e.left,y:t.y+e.top}}))}))}),100)})),n.collections}c.distance=function(e,t){var n=t.x-e.x,r=t.y-e.y;return Math.sqrt(n*n+r*r)},c.angle=function(e,t){var n=t.x-e.x,r=t.y-e.y;return c.degrees(Math.atan2(r,n))},c.findCoord=function(e,t,n){var r={x:0,y:0};return n=c.radians(n),r.x=e.x-t*Math.cos(n),r.y=e.y-t*Math.sin(n),r},c.radians=function(e){return e*(Math.PI/180)},c.degrees=function(e){return e*(180/Math.PI)},c.bindEvt=function(e,t,n){for(var r,o=t.split(/[ ,]+/g),a=0;a<o.length;a+=1)r=o[a],e.addEventListener?e.addEventListener(r,n,!1):e.attachEvent&&e.attachEvent(r,n)},c.unbindEvt=function(e,t,n){for(var r,o=t.split(/[ ,]+/g),a=0;a<o.length;a+=1)r=o[a],e.removeEventListener?e.removeEventListener(r,n):e.detachEvent&&e.detachEvent(r,n)},c.trigger=function(e,t,n){var r=new CustomEvent(t,n);e.dispatchEvent(r)},c.prepareEvent=function(e){return e.preventDefault(),e.type.match(/^touch/)?e.changedTouches:e},c.getScroll=function(){return{x:void 0!==window.pageXOffset?window.pageXOffset:(document.documentElement||document.body.parentNode||document.body).scrollLeft,y:void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop}},c.applyPosition=function(e,t){t.top||t.right||t.bottom||t.left?(e.style.top=t.top,e.style.right=t.right,e.style.bottom=t.bottom,e.style.left=t.left):(e.style.left=t.x+"px",e.style.top=t.y+"px")},c.getTransitionStyle=function(e,t,n){var r=c.configStylePropertyObject(e);for(var o in r)if(r.hasOwnProperty(o))if("string"==typeof t)r[o]=t+" "+n;else{for(var a="",i=0,s=t.length;i<s;i+=1)a+=t[i]+" "+n+", ";r[o]=a.slice(0,-2)}return r},c.getVendorStyle=function(e,t){var n=c.configStylePropertyObject(e);for(var r in n)n.hasOwnProperty(r)&&(n[r]=t);return n},c.configStylePropertyObject=function(e){var t={};return t[e]="",["webkit","Moz","o"].forEach((function(n){t[n+e.charAt(0).toUpperCase()+e.slice(1)]=""})),t},c.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},c.safeExtend=function(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&t.hasOwnProperty(r)?n[r]=t[r]:e.hasOwnProperty(r)&&(n[r]=e[r]);return n},c.map=function(e,t){if(e.length)for(var n=0,r=e.length;n<r;n+=1)t(e[n]);else t(e)},u.prototype.on=function(e,t){var n,r=e.split(/[ ,]+/g);this._handlers_=this._handlers_||{};for(var o=0;o<r.length;o+=1)n=r[o],this._handlers_[n]=this._handlers_[n]||[],this._handlers_[n].push(t);return this},u.prototype.off=function(e,t){return this._handlers_=this._handlers_||{},void 0===e?this._handlers_={}:void 0===t?this._handlers_[e]=null:this._handlers_[e]&&this._handlers_[e].indexOf(t)>=0&&this._handlers_[e].splice(this._handlers_[e].indexOf(t),1),this},u.prototype.trigger=function(e,t){var n,r=this,o=e.split(/[ ,]+/g);r._handlers_=r._handlers_||{};for(var a=0;a<o.length;a+=1)n=o[a],r._handlers_[n]&&r._handlers_[n].length&&r._handlers_[n].forEach((function(e){e.call(r,{type:n,target:r},t)}))},u.prototype.config=function(e){this.options=this.defaults||{},e&&(this.options=c.safeExtend(this.options,e))},u.prototype.bindEvt=function(t,n){var r=this;return r._domHandlers_=r._domHandlers_||{},r._domHandlers_[n]=function(){"function"==typeof r["on"+n]?r["on"+n].apply(r,arguments):console.warn('[WARNING] : Missing "on'+n+'" handler.')},c.bindEvt(t,e[n],r._domHandlers_[n]),l[n]&&c.bindEvt(t,l[n],r._domHandlers_[n]),r},u.prototype.unbindEvt=function(t,n){return this._domHandlers_=this._domHandlers_||{},c.unbindEvt(t,e[n],this._domHandlers_[n]),l[n]&&c.unbindEvt(t,l[n],this._domHandlers_[n]),delete this._domHandlers_[n],this},f.prototype=new u,f.constructor=f,f.id=0,f.prototype.buildEl=function(e){return this.ui={},this.options.dataOnly?this:(this.ui.el=document.createElement("div"),this.ui.back=document.createElement("div"),this.ui.front=document.createElement("div"),this.ui.el.className="nipple collection_"+this.collection.id,this.ui.back.className="back",this.ui.front.className="front",this.ui.el.setAttribute("id","nipple_"+this.collection.id+"_"+this.id),this.ui.el.appendChild(this.ui.back),this.ui.el.appendChild(this.ui.front),this)},f.prototype.stylize=function(){if(this.options.dataOnly)return this;var e=this.options.fadeTime+"ms",t=c.getVendorStyle("borderRadius","50%"),n=c.getTransitionStyle("transition","opacity",e),r={};return r.el={position:"absolute",opacity:this.options.restOpacity,display:"block",zIndex:999},r.back={position:"absolute",display:"block",width:this.options.size+"px",height:this.options.size+"px",marginLeft:-this.options.size/2+"px",marginTop:-this.options.size/2+"px",background:this.options.color,opacity:".5"},r.front={width:this.options.size/2+"px",height:this.options.size/2+"px",position:"absolute",display:"block",marginLeft:-this.options.size/4+"px",marginTop:-this.options.size/4+"px",background:this.options.color,opacity:".5"},c.extend(r.el,n),c.extend(r.back,t),c.extend(r.front,t),this.applyStyles(r),this},f.prototype.applyStyles=function(e){for(var t in this.ui)if(this.ui.hasOwnProperty(t))for(var n in e[t])this.ui[t].style[n]=e[t][n];return this},f.prototype.addToDom=function(){return this.options.dataOnly||document.body.contains(this.ui.el)?this:(this.options.zone.appendChild(this.ui.el),this)},f.prototype.removeFromDom=function(){return this.options.dataOnly||!document.body.contains(this.ui.el)?this:(this.options.zone.removeChild(this.ui.el),this)},f.prototype.destroy=function(){clearTimeout(this.removeTimeout),clearTimeout(this.showTimeout),clearTimeout(this.restTimeout),this.trigger("destroyed",this.instance),this.removeFromDom(),this.off()},f.prototype.show=function(e){var t=this;return t.options.dataOnly?t:(clearTimeout(t.removeTimeout),clearTimeout(t.showTimeout),clearTimeout(t.restTimeout),t.addToDom(),t.restCallback(),setTimeout((function(){t.ui.el.style.opacity=1}),0),t.showTimeout=setTimeout((function(){t.trigger("shown",t.instance),"function"==typeof e&&e.call(this)}),t.options.fadeTime),t)},f.prototype.hide=function(e){var t=this;return t.options.dataOnly?t:(t.ui.el.style.opacity=t.options.restOpacity,clearTimeout(t.removeTimeout),clearTimeout(t.showTimeout),clearTimeout(t.restTimeout),t.removeTimeout=setTimeout((function(){var n="dynamic"===t.options.mode?"none":"block";t.ui.el.style.display=n,"function"==typeof e&&e.call(t),t.trigger("hidden",t.instance)}),t.options.fadeTime),t.options.restJoystick&&t.restPosition(),t)},f.prototype.restPosition=function(e){var t=this;t.frontPosition={x:0,y:0};var n=t.options.fadeTime+"ms",r={};r.front=c.getTransitionStyle("transition",["top","left"],n);var o={front:{}};o.front={left:t.frontPosition.x+"px",top:t.frontPosition.y+"px"},t.applyStyles(r),t.applyStyles(o),t.restTimeout=setTimeout((function(){"function"==typeof e&&e.call(t),t.restCallback()}),t.options.fadeTime)},f.prototype.restCallback=function(){var e={};e.front=c.getTransitionStyle("transition","none",""),this.applyStyles(e),this.trigger("rested",this.instance)},f.prototype.resetDirection=function(){this.direction={x:!1,y:!1,angle:!1}},f.prototype.computeDirection=function(e){var t,n,r,o=e.angle.radian,a=Math.PI/4,i=Math.PI/2;if(o>a&&o<3*a&&!e.lockX?t="up":o>-a&&o<=a&&!e.lockY?t="left":o>3*-a&&o<=-a&&!e.lockX?t="down":e.lockY||(t="right"),e.lockY||(n=o>-i&&o<i?"left":"right"),e.lockX||(r=o>0?"up":"down"),e.force>this.options.threshold){var s={};for(var l in this.direction)this.direction.hasOwnProperty(l)&&(s[l]=this.direction[l]);var c={};for(var l in this.direction={x:n,y:r,angle:t},e.direction=this.direction,s)s[l]===this.direction[l]&&(c[l]=!0);if(c.x&&c.y&&c.angle)return e;c.x&&c.y||this.trigger("plain",e),c.x||this.trigger("plain:"+n,e),c.y||this.trigger("plain:"+r,e),c.angle||this.trigger("dir dir:"+t,e)}return e},p.prototype=new u,p.constructor=p,p.id=0,p.prototype.prepareNipples=function(){var e=this.nipples;e.on=this.on.bind(this),e.off=this.off.bind(this),e.options=this.options,e.destroy=this.destroy.bind(this),e.ids=this.ids,e.id=this.id,e.processOnMove=this.processOnMove.bind(this),e.processOnEnd=this.processOnEnd.bind(this),e.get=function(t){if(void 0===t)return e[0];for(var n=0,r=e.length;n<r;n+=1)if(e[n].identifier===t)return e[n];return!1}},p.prototype.bindings=function(){this.bindEvt(this.options.zone,"start"),this.options.zone.style.touchAction="none",this.options.zone.style.msTouchAction="none"},p.prototype.begin=function(){var e=this.options;if("static"===e.mode){var t=this.createNipple(e.position,this.manager.getIdentifier());t.add(),this.idles.push(t)}},p.prototype.createNipple=function(e,t){var n=c.getScroll(),r={},o=this.options;if(e.x&&e.y)r={x:e.x-(n.x+this.box.left),y:e.y-(n.y+this.box.top)};else if(e.top||e.right||e.bottom||e.left){var a=document.createElement("DIV");a.style.display="hidden",a.style.top=e.top,a.style.right=e.right,a.style.bottom=e.bottom,a.style.left=e.left,a.style.position="absolute",o.zone.appendChild(a);var i=a.getBoundingClientRect();o.zone.removeChild(a),r=e,e={x:i.left+n.x,y:i.top+n.y}}var s=new f(this,{color:o.color,size:o.size,threshold:o.threshold,fadeTime:o.fadeTime,dataOnly:o.dataOnly,restJoystick:o.restJoystick,restOpacity:o.restOpacity,mode:o.mode,identifier:t,position:e,zone:o.zone,frontPosition:{x:0,y:0}});return o.dataOnly||(c.applyPosition(s.ui.el,r),c.applyPosition(s.ui.front,s.frontPosition)),this.nipples.push(s),this.trigger("added "+s.identifier+":added",s),this.manager.trigger("added "+s.identifier+":added",s),this.bindNipple(s),s},p.prototype.updateBox=function(){this.box=this.options.zone.getBoundingClientRect()},p.prototype.bindNipple=function(e){var t,n=this,r=function(e,r){t=e.type+" "+r.id+":"+e.type,n.trigger(t,r)};e.on("destroyed",n.onDestroyed.bind(n)),e.on("shown hidden rested dir plain",r),e.on("dir:up dir:right dir:down dir:left",r),e.on("plain:up plain:right plain:down plain:left",r)},p.prototype.pressureFn=function(e,t,n){var r=this,o=0;clearInterval(r.pressureIntervals[n]),r.pressureIntervals[n]=setInterval(function(){var n=e.force||e.pressure||e.webkitForce||0;n!==o&&(t.trigger("pressure",n),r.trigger("pressure "+t.identifier+":pressure",n),o=n)}.bind(r),100)},p.prototype.onstart=function(e){var t=this,n=t.options;return e=c.prepareEvent(e),t.updateBox(),c.map(e,(function(e){t.actives.length<n.maxNumberOfNipples&&t.processOnStart(e)})),t.manager.bindDocument(),!1},p.prototype.processOnStart=function(e){var t,n=this,r=n.options,o=n.manager.getIdentifier(e),a=e.force||e.pressure||e.webkitForce||0,i={x:e.pageX,y:e.pageY},s=n.getOrCreate(o,i);s.identifier!==o&&n.manager.removeIdentifier(s.identifier),s.identifier=o;var l=function(t){t.trigger("start",t),n.trigger("start "+t.id+":start",t),t.show(),a>0&&n.pressureFn(e,t,t.identifier),n.processOnMove(e)};if((t=n.idles.indexOf(s))>=0&&n.idles.splice(t,1),n.actives.push(s),n.ids.push(s.identifier),"semi"!==r.mode)l(s);else{if(!(c.distance(i,s.position)<=r.catchDistance))return s.destroy(),void n.processOnStart(e);l(s)}return s},p.prototype.getOrCreate=function(e,t){var n,r=this.options;return/(semi|static)/.test(r.mode)?(n=this.idles[0])?(this.idles.splice(0,1),n):"semi"===r.mode?this.createNipple(t,e):(console.warn("Coudln't find the needed nipple."),!1):n=this.createNipple(t,e)},p.prototype.processOnMove=function(e){var t=this.options,n=this.manager.getIdentifier(e),r=this.nipples.get(n);if(!r)return console.error("Found zombie joystick with ID "+n),void this.manager.removeIdentifier(n);r.identifier=n;var o=r.options.size/2,a={x:e.pageX,y:e.pageY},i=c.distance(a,r.position),s=c.angle(a,r.position),l=c.radians(s),u=i/o;i>o&&(i=o,a=c.findCoord(r.position,i,s));var f=a.x-r.position.x,p=a.y-r.position.y;t.lockX&&(p=0),t.lockY&&(f=0),r.frontPosition={x:f,y:p},t.dataOnly||c.applyPosition(r.ui.front,r.frontPosition);var d={identifier:r.identifier,position:a,force:u,pressure:e.force||e.pressure||e.webkitForce||0,distance:i,angle:{radian:l,degree:s},instance:r,lockX:t.lockX,lockY:t.lockY};(d=r.computeDirection(d)).angle={radian:c.radians(180-s),degree:180-s},r.trigger("move",d),this.trigger("move "+r.id+":move",d)},p.prototype.processOnEnd=function(e){var t=this,n=t.options,r=t.manager.getIdentifier(e),o=t.nipples.get(r),a=t.manager.removeIdentifier(o.identifier);o&&(n.dataOnly||o.hide((function(){"dynamic"===n.mode&&(o.trigger("removed",o),t.trigger("removed "+o.id+":removed",o),t.manager.trigger("removed "+o.id+":removed",o),o.destroy())})),clearInterval(t.pressureIntervals[o.identifier]),o.resetDirection(),o.trigger("end",o),t.trigger("end "+o.id+":end",o),t.ids.indexOf(o.identifier)>=0&&t.ids.splice(t.ids.indexOf(o.identifier),1),t.actives.indexOf(o)>=0&&t.actives.splice(t.actives.indexOf(o),1),/(semi|static)/.test(n.mode)?t.idles.push(o):t.nipples.indexOf(o)>=0&&t.nipples.splice(t.nipples.indexOf(o),1),t.manager.unbindDocument(),/(semi|static)/.test(n.mode)&&(t.manager.ids[a.id]=a.identifier))},p.prototype.onDestroyed=function(e,t){this.nipples.indexOf(t)>=0&&this.nipples.splice(this.nipples.indexOf(t),1),this.actives.indexOf(t)>=0&&this.actives.splice(this.actives.indexOf(t),1),this.idles.indexOf(t)>=0&&this.idles.splice(this.idles.indexOf(t),1),this.ids.indexOf(t.identifier)>=0&&this.ids.splice(this.ids.indexOf(t.identifier),1),this.manager.removeIdentifier(t.identifier),this.manager.unbindDocument()},p.prototype.destroy=function(){for(var e in this.unbindEvt(this.options.zone,"start"),this.nipples.forEach((function(e){e.destroy()})),this.pressureIntervals)this.pressureIntervals.hasOwnProperty(e)&&clearInterval(this.pressureIntervals[e]);this.trigger("destroyed",this.nipples),this.manager.unbindDocument(),this.off()},d.prototype=new u,d.constructor=d,d.prototype.prepareCollections=function(){var e=this;e.collections.create=e.create.bind(e),e.collections.on=e.on.bind(e),e.collections.off=e.off.bind(e),e.collections.destroy=e.destroy.bind(e),e.collections.get=function(t){var n;return e.collections.every((function(e){return!(n=e.get(t))})),n}},d.prototype.create=function(e){return this.createCollection(e)},d.prototype.createCollection=function(e){var t=new p(this,e);return this.bindCollection(t),this.collections.push(t),t},d.prototype.bindCollection=function(e){var t,n=this,r=function(e,r){t=e.type+" "+r.id+":"+e.type,n.trigger(t,r)};e.on("destroyed",n.onDestroyed.bind(n)),e.on("shown hidden rested dir plain",r),e.on("dir:up dir:right dir:down dir:left",r),e.on("plain:up plain:right plain:down plain:left",r)},d.prototype.bindDocument=function(){this.binded||(this.bindEvt(document,"move").bindEvt(document,"end"),this.binded=!0)},d.prototype.unbindDocument=function(e){Object.keys(this.ids).length&&!0!==e||(this.unbindEvt(document,"move").unbindEvt(document,"end"),this.binded=!1)},d.prototype.getIdentifier=function(e){var t;return e?void 0===(t=void 0===e.identifier?e.pointerId:e.identifier)&&(t=this.latest||0):t=this.index,void 0===this.ids[t]&&(this.ids[t]=this.index,this.index+=1),this.latest=t,this.ids[t]},d.prototype.removeIdentifier=function(e){var t={};for(var n in this.ids)if(this.ids[n]===e){t.id=n,t.identifier=this.ids[n],delete this.ids[n];break}return t},d.prototype.onmove=function(e){return this.onAny("move",e),!1},d.prototype.onend=function(e){return this.onAny("end",e),!1},d.prototype.oncancel=function(e){return this.onAny("end",e),!1},d.prototype.onAny=function(e,t){var n,r=this,o="processOn"+e.charAt(0).toUpperCase()+e.slice(1);t=c.prepareEvent(t);var a=function(e,t,n){n.ids.indexOf(t)>=0&&(n[o](e),e._found_=!0)};return c.map(t,(function(e){n=r.getIdentifier(e),c.map(r.collections,a.bind(null,e,n)),e._found_||r.removeIdentifier(n)})),!1},d.prototype.destroy=function(){this.unbindDocument(!0),this.ids={},this.index=0,this.collections.forEach((function(e){e.destroy()})),this.off()},d.prototype.onDestroyed=function(e,t){if(this.collections.indexOf(t)<0)return!1;this.collections.splice(this.collections.indexOf(t),1)};var h=new d;return{create:function(e){return h.create(e)},factory:h}}()},function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));t.a=o},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1)}function o(e){return"Object"===r(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function a(e){return"Array"===r(e)}function i(e){return"Symbol"===r(e)}function s(e,t,n,r){var o=r.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=n),"nonenumerable"===o&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,l=e;return o(e)&&e.extensions&&1===Object.keys(e).length&&(l={},r=e.extensions),t.reduce((function(e,t){return function e(t,n,r){if(!o(n))return r&&a(r)&&r.forEach((function(e){n=e(t,n)})),n;var l={};if(o(t)){var c=Object.getOwnPropertyNames(t),u=Object.getOwnPropertySymbols(t);l=c.concat(u).reduce((function(e,r){var o=t[r];return(!i(r)&&!Object.getOwnPropertyNames(n).includes(r)||i(r)&&!Object.getOwnPropertySymbols(n).includes(r))&&s(e,r,o,t),e}),{})}var f=Object.getOwnPropertyNames(n),p=Object.getOwnPropertySymbols(n);return f.concat(p).reduce((function(i,l){var c=n[l],u=o(t)?t[l]:void 0;return r&&a(r)&&r.forEach((function(e){c=e(u,c)})),void 0!==u&&o(c)&&(c=e(u,c,r)),s(i,l,c,n),i}),l)}(e,t,r)}),l)}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var l,c=[],u=!1,f=-1;function p(){u&&l&&(u=!1,l.length?c=l.concat(c):f=-1,c.length&&d())}function d(){if(!u){var e=s(p);u=!0;for(var t=c.length;t;){for(l=c,c=[];++f<t;)l&&l[f].run();f=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";
  /** @license React v16.8.6
   * react-is.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116;function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case i:case l:case s:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case c:return e;default:return t}}case b:case m:case a:return t}}}function v(e){return g(e)===p}t.typeOf=g,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=c,t.Element=o,t.ForwardRef=d,t.Fragment=i,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=l,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===l||e===s||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===d)},t.isAsyncMode=function(e){return v(e)||g(e)===f},t.isConcurrentMode=v,t.isContextConsumer=function(e){return g(e)===u},t.isContextProvider=function(e){return g(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return g(e)===d},t.isFragment=function(e){return g(e)===i},t.isLazy=function(e){return g(e)===b},t.isMemo=function(e){return g(e)===m},t.isPortal=function(e){return g(e)===a},t.isProfiler=function(e){return g(e)===l},t.isStrictMode=function(e){return g(e)===s},t.isSuspense=function(e){return g(e)===h}},function(e,t,n){var r=n(17),o=n(28),a={};for(var i in r)r.hasOwnProperty(i)&&(a[r[i]]=i);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,o,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],n=0;n<3;n++){var i=2*n;a[n]=parseInt(t.slice(i,i+2),16)}o&&(a[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);o&&(a[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=e.match(/(\D+)/))?"transparent"===t[1]?[0,0,0,0]:(a=r[t[1]])?(a[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=o(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},s.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},function(e,t,n){"use strict";var r=n(29),o=Array.prototype.concat,a=Array.prototype.slice,i=e.exports=function(e){for(var t=[],n=0,i=e.length;n<i;n++){var s=e[n];r(s)?t=o.call(t,a.call(s)):t.push(s)}return t};i.wrap=function(e){return function(){return e(i(arguments))}}},function(e,t){e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},function(e,t,n){var r=n(18),o=n(31),a={};Object.keys(r).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:r[e].channels}),Object.defineProperty(a[e],"labels",{value:r[e].labels});var t=o(e);Object.keys(t).forEach((function(n){var r=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=a},function(e,t,n){var r=n(18);function o(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,o=0;o<n;o++)e[t[o]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var o=n.pop(),a=Object.keys(r[o]),i=a.length,s=0;s<i;s++){var l=a[s],c=t[l];-1===c.distance&&(c.distance=t[o].distance+1,c.parent=o,n.unshift(l))}return t}function a(e,t){return function(n){return t(e(n))}}function i(e,t){for(var n=[t[e].parent,e],o=r[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),o=a(r[t[i].parent][i],o),i=t[i].parent;return o.conversion=n,o}e.exports=function(e){for(var t=o(e),n={},r=Object.keys(t),a=r.length,s=0;s<a;s++){var l=r[s];null!==t[l].parent&&(n[l]=i(l,t))}return n}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),a=n(1),i=n.n(a),s=n(2),l=n(3);function c(){var e=d(["\n        background-image: linear-gradient(145deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.50) 100%);\n        background-blend-mode: overlay;\n        box-shadow: inset 0 0 8px -1px rgba(0,0,0,0.5),\n                    inset 0 0 4px 0 rgba(0,0,0,0.6),\n                    -1px -1px 0px 0px rgba(0,0,0,0.9),\n                    1px 1px 0px 0px rgba(255,255,255,0.1);\n        "]);return c=function(){return e},e}function u(){var e=d(["\n          box-shadow: 0 0 8px 2px ",", 1px 1px 0px 0px rgba(0,0,0,0.9), -1px -1px 0px 0px rgba(255,255,255,0.1);\n        "]);return u=function(){return e},e}function f(){var e=d(["\n      width: ","px;\n      height: ","px;\n      background-color: ",";\n      ","\n      ","\n    "]);return f=function(){return e},e}function p(){var e=d(["\n  border-radius: ",";\n  transition: all 100ms ease-in-out;\n  ","\n\n"]);return p=function(){return e},e}function d(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var h=Object(s.c)("div")(p(),(function(e){return e.rectangular?"0":"50%"}),(function(e){var t=e.main?e.on?e.primary||e.theme.primary:e.secondary||e.theme.secondary:e.on?e.theme.secondary:e.primary||e.theme.primary;return Object(s.b)(f(),e.width||e.height||e.size,e.height||e.width||e.size,t,e.border?"border: 1px solid ".concat(e.on?t:"#F8F4F4",";"):"",e.theme.dark?e.on&&e.main||!e.on&&!e.main?Object(s.b)(u(),t):Object(s.b)(c()):"")}));h.defaultProps={theme:l.e},h.propTypes={size:i.a.number,theme:i.a.object,border:i.a.bool,primary:i.a.string,secondary:i.a.string};var m=h,b=n(8);function g(){var e=L(["\n  margin: 0;\n  ","\n  ","\n  ","\n  ","\n"]);return g=function(){return e},e}function v(){var e=L(["\n  display: flex;\n  align-items: center;\n  justify-content: space-around;\n  flex-direction: ",";\n"]);return v=function(){return e},e}function y(){var e=L(["linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(255,255,255,1) 100%),\n          linear-gradient(90deg, rgba(0,0,0,0.6) 40%, rgba(255,255,255,0) 100%)"]);return y=function(){return e},e}function x(){var e=L(["linear-gradient(135deg, rgba(255,255,255,0.7) 20%, rgba(0,0,0,0) 100%),\n          linear-gradient(90deg, rgba(255,255,255,0) 40%, rgba(0,0,0,0.8) 100%)"]);return x=function(){return e},e}function k(){var e=L(["\n            margin-right: ","px;\n          "]);return k=function(){return e},e}function w(){var e=L(["\n            margin-left: ","px;\n          "]);return w=function(){return e},e}function E(){var e=L(["radial-gradient(farthest-corner at 0px 0px, rgba(256,255,255,1) 5%, rgba(0,0,0,0.6) 90%)"]);return E=function(){return e},e}function O(){var e=L(["radial-gradient(farthest-corner at 0px 0px, rgba(256,255,255,1) 5%, rgba(0,0,0,0.6) 90%)"]);return O=function(){return e},e}function C(){var e=L(["\n  display: block;\n  position: relative;\n  margin: 0;\n  transition: all 100ms ease-in-out;\n  outline: none;\n  background: #161616;\n  height: ",";\n  width: ",";\n  background-blend-mode: overlay;\n  background-color: #111;\n  background-image: ;\n  background-image: ",";\n  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.9);\n  border-radius: 2px;\n\n  &:disabled {\n    cursor: not-allowed;\n  }\n\n  &:hover::after,\n  &:active::after,\n  &:focus::after {\n    box-shadow: none;\n  }\n\n  &::before {\n    content: none;\n  }\n\n  &::after {\n    transition: all 100ms ease-in-out;\n    content: '';\n    position: absolute;\n    left: 0;\n    right: 0;\n    top: 4%;\n    height: 92%;\n    width: 92%;\n    margin: 0 auto;\n    "," background-color: #161616;\n    background-blend-mode: overlay;\n    background-image: ",";\n    border-radius: 2px;\n  }\n\n  &:hover::after {\n    background-color: #181818;\n  }\n"]);return C=function(){return e},e}function S(){var e=L(["\n  display: flex;\n  padding: 2px 4px;\n  cursor: pointer;\n  border-radius: 1px;\n  margin: 0 8px;\n\n  background: #22272a;\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);\n  box-shadow: inset 0 0 8px -1px #000000, inset 0 0 8px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.9), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return S=function(){return e},e}function j(){var e=L(["\n  background-color: #141414;\n  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.5) -20%, rgba(0, 0, 0, 0.7) 100%);\n  box-shadow: inset 0 0 1px 0 rgba(52, 52, 52, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.2),\n    1px 1px 2px 0px rgba(0, 0, 0, 0.7);\n\n  &:hover {\n    background-color: rgba(0, 0, 0, 0.7);\n  }\n\n  &::before,\n  &::after {\n    content: none;\n  }\n"]);return j=function(){return e},e}function _(){var e=L(["\n    border: none;\n    border: 1px solid ",";\n    width: ","px;\n    height: ","px;\n    transform: translateX(","px);\n  "]);return _=function(){return e},e}function A(){var e=L(["\n  background: white;\n  border-radius: 50%;\n  display: block;\n  padding: 0;\n  margin: 0;\n  transition: all 100ms ease-in-out;\n  outline: none;\n  "," &:focus, &:active, &:hover {\n    border: none;\n    border: ",";\n  }\n\n  &:disabled {\n    opacity: ",";\n    cursor: not-allowed;\n  }\n\n  ",";\n"]);return A=function(){return e},e}function P(){var e=L(["\n  background: ",";\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);\n  box-shadow: inset 0 0 8px -1px #000000, inset 0 0 8px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.9), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return P=function(){return e},e}function M(){var e=L(["\n  background: ",";\n"]);return M=function(){return e},e}function I(){var e=L(["\n    width: ","px;\n    cursor: pointer;\n    padding: ","px;\n    border-radius: ","px;\n    margin-left: ","px;\n    margin-right: ","px;\n  "]);return I=function(){return e},e}function D(){var e=L(["\n  height: auto;\n  display: flex;\n  transition: all 0.1s ease-in;\n\n  "," ",";\n"]);return D=function(){return e},e}function T(){var e=L(["\n    transform: rotate(","deg);\n  "]);return T=function(){return e},e}function R(){var e=L(["\n  display: flex;\n  justify-content: space-around;\n  align-items: center;\n  ",";\n"]);return R=function(){return e},e}function L(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var N=Object(s.c)("div")(R(),(function(e){var t=e.rotate;return Object(s.b)(T(),parseInt(t,10))})),z=Object(s.c)("div")(D(),(function(e){var t=e.size;return Object(s.b)(I(),t,.05*t,t,.05*t,.05*t)}),(function(e){return e.theme.dark?H:F}));z.defaultProps={theme:l.e};var F=Object(s.b)(M(),(function(e){var t=e.on,n=e.theme,r=e.color;return t&&r||n.secondary})),H=Object(s.b)(P(),(function(e){var t=e.on,n=e.theme,r=e.color;return t?r||n.secondary:"#22272a"})),B=s.c.button(A(),(function(e){var t=e.size,n=e.on,r=e.theme;return Object(s.b)(_(),r.dark?"none":r.detail,t/2,t/2,n?t-t/2:0)}),(function(e){var t=e.theme;return t.dark?"none":"1px solid ".concat(t.detail)}),(function(e){return e.theme.dark?1:.65}),(function(e){return e.theme.dark?G:null}));B.defaultProps={theme:l.e};var G=Object(s.b)(j()),U=s.c.div(S()),V=s.c.button(C(),(function(e){var t=e.size;return"".concat(.72*t,"px")}),(function(e){var t=e.size;return"".concat(1.44*t,"px")}),(function(e){return e.on?Object(s.b)(O()):Object(s.b)(E())}),(function(e){var t=.08*e.size;return e.on?Object(s.b)(w(),t):Object(s.b)(k(),t)}),(function(e){return e.on?Object(s.b)(x()):Object(s.b)(y())})),W=s.c.div(v(),(function(e){return e.vertical?"column-reverse":"row"})),$=Object(s.c)(b.a)(g(),(function(e){var t=e.position,n=e.theme;return"right"===t?"margin-left: ".concat(n.dark?12:8,"px;"):""}),(function(e){var t=e.position,n=e.theme;return"left"===t?"margin-right: ".concat(n.dark?12:8,"px;"):""}),(function(e){var t=e.position,n=e.theme;return"top"===t?"margin-bottom: ".concat(n.dark?34:20,"px;"):""}),(function(e){var t=e.position,n=e.theme;return"bottom"===t?"margin-top: ".concat(n.dark?34:20,"px;"):""}));$.defaultProps={theme:l.e};var Y=n(4);function q(){return(q=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 X(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 K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Q(e){return(Q="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 ee(e){return"object"===Q(e)?{children:e.label,style:e.style}:{children:e,style:{}}}var te=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==Q(t)&&"function"!=typeof t?J(e):t}(this,K(t).call(this,e))).state={value:e.value},n.click=n.click.bind(J(n)),n}var n,r,a;return 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&&Z(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.state.value&&this.setState({value:e.value})}},{key:"click",value:function(){if(!this.props.disabled){var e=!this.state.value;this.setState({value:e}),this.props.setProps&&this.props.setProps({value:e})}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.style,a=e.label,i=e.labelPosition,s=e.booleanSwitch,l=e.theme,c=e.color,u=this.props.size||45,f=z,p=B;l.dark&&!s&&(f=U,p=V);var d=u/10*1.25,h=Array.isArray(a),b=o.a.createElement(N,{rotate:this.props.vertical?-90:0,size:u},!s&&o.a.createElement(m,{on:this.state.value,size:d,primary:c}),o.a.createElement(f,{onClick:this.click,size:u,color:c,on:this.state.value,booleanSwitch:s},o.a.createElement(p,{disabled:this.props.disabled,on:this.state.value,size:u,booleanSwitch:s})),!s&&o.a.createElement(m,{main:!0,on:this.state.value,size:d,primary:c}));return o.a.createElement("div",{id:t,className:n,style:r},h?o.a.createElement(W,this.props,o.a.createElement($,q({position:this.props.vertical?"bottom":"left"},ee(a[0]))),b,o.a.createElement($,q({position:this.props.vertical?"top":"right"},ee(a[1])))):o.a.createElement(Y.a,{label:a,labelPosition:i},b))}}])&&X(n.prototype,r),a&&X(n,a),t}(r.Component);te.defaultProps={value:!1,vertical:!1,theme:l.e,labelPosition:"top"},te.propTypes={id:i.a.string,value:i.a.bool,size:i.a.number,color:i.a.string,vertical:i.a.bool,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string}),i.a.arrayOf(i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]))]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var ne=Object(s.d)(te);function re(e){return(re="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 oe(){return(oe=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 ae(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 ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function se(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ce=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?se(e):t}(this,ie(t).call(this,e))).state={on:e.on},n.setPropsOverride=n.setPropsOverride.bind(se(n)),n}var n,r,a;return 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&&le(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.on!==this.state.on&&this.setState({on:e.on})}},{key:"setPropsOverride",value:function(e){var t=e.value;this.setState({on:t}),this.props.setProps&&this.props.setProps({on:t})}},{key:"render",value:function(){return o.a.createElement(ne,oe({},this.props,{value:this.state.on,setProps:this.setPropsOverride,booleanSwitch:!0,color:this.props.color||this.props.theme.primary}))}}])&&ae(n.prototype,r),a&&ae(n,a),t}(r.Component);ce.defaultProps={on:!1,vertical:!1,theme:l.e,labelPosition:"top"},ce.propTypes={id:i.a.string,on:i.a.bool,color:i.a.string,vertical:i.a.bool,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var ue=Object(s.d)(ce),fe=n(14),pe=n(6);function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var he=function(e){return e.sort((function(e,t){return t.length-e.length}))[0]},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;if(isNaN(e))return e;var n=t.toString().split("."),r=de(n,2),o=(r[0],r[1]),a=o?o.length:0;return e.toFixed(a)},be=function(e){var t=e.min,n=e.max,r=e.value;return null==r?t:r<t?t:r>n?n:r},ge=function(e){var t=e.min,n=e.max,r=e.value,o=e.progressionTarget,a=void 0===o?100:o;return r=Number(r),1*Math.abs(r-t)/Math.abs(n-t)*a},ve=function(e,t){return Number(Math.round(e+"e"+t)+"e-"+t)},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9999;return Math.floor(Math.random()*(t-e+1))+e},xe=n(5);function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var we=function(e,t){var r=e.color,a=e.max,i=t.CX,s=t.CY,l=t.GAUGE_RAD,c=t.CIRCLE_CIR,u=t.GAP_ARC_LENGTH;if(!Object(xe.e)(e))return null;var f=Object(xe.d)(r.ranges).map((function(e,t){var n=ke(e,2),o=n[0],i=n[1],s=1*i[0]/a*270+90,l=1*i[1]/a*270+90;return r.gradient?0===t?"".concat(o," 0"):"".concat(o," ").concat(s+25,"deg, ").concat(o," ").concat(l-25,"deg"):"".concat(o," ").concat(s,"deg, ").concat(o," ").concat(l,"deg")}));if(f.unshift(["black ".concat(90,"deg")]),"undefined"==typeof window)return null;window.ConicGradient||n(10);var p=new(0,window.ConicGradient)({stops:f.join(", "),size:400}),d="colorRangesImage-".concat(ye());return o.a.createElement("g",null,o.a.createElement("defs",null,o.a.createElement("pattern",{id:d,patternUnits:"userSpaceOnUse",width:"100%",height:"100%"},o.a.createElement("image",{xlinkHref:p.dataURL,width:"100%",height:"100%"}))),o.a.createElement("circle",{className:"color-ranges",cx:i,cy:s,r:l,fill:"none",stroke:"url(#".concat(d,")"),strokeWidth:"6px",strokeDasharray:c,strokeDashoffset:u,transform:"rotate(-225 ".concat(i," ").concat(s,")")}))},Ee=function(e,t){var n=e.color,r=e.progress,a=t.CX,i=t.CY,s=t.GAUGE_RAD,l=t.CIRCLE_CIR,c=t.GAP_ARC_LENGTH,u=t.TRACK_ARC_LENGTH;return o.a.createElement("g",null,o.a.createElement("circle",{className:"track",cx:a,cy:i,r:s,fill:"none",strokeDasharray:l,strokeDashoffset:c,strokeWidth:"6",transform:"rotate(-225 ".concat(a," ").concat(i,")")}),o.a.createElement("circle",{className:"track progress",cx:a,cy:i,r:s,fill:"none",strokeDasharray:l,strokeDashoffset:c+(1-r)*u,strokeWidth:"6",transform:"rotate(-225 ".concat(a," ").concat(i,")")}),n&&n.ranges&&we(e,t))},Oe=function(e){return e?e.props?e.props.children[0]+" ":e&&e.label||e:""},Ce=function(e,t){var n=e.min,r=e.max,a=(e.step,e.scale),i=t.CX,s=t.CY,c=t.SCALE_TICK_OUTER_RAD,u=t.SCALE_TICK_INNER_RAD,f=t.SCALE_TEXT_RAD,p=t.IS_GAUGE,d=[],h=0,m=2*Math.max(he(Object.values(a).map(Oe)).length,3),b=c,g=u,v=p?f-m:f+m;return Object.keys(a).forEach((function(e){var t=a[e],c=-225+ge({min:n,max:r,value:e,progressionTarget:l.b});if(null!==t){var u=i+b*Math.cos(c*l.a),f=s+b*Math.sin(c*l.a),p=i+g*Math.cos(c*l.a),m=s+g*Math.sin(c*l.a),y=i+v*Math.cos(c*l.a),x=s+v*Math.sin(c*l.a)+4;d.push(o.a.createElement("line",{key:"line".concat(h),className:"tick",x1:u,y1:f,x2:p,y2:m,strokeLinecap:"round"}),o.a.createElement("text",{key:"text".concat(h),x:y,y:x,textAnchor:"middle",style:t&&t.style?t.style:null},t&&t.label||t))}else{var k=i+b*Math.cos(c*l.a),w=s+b*Math.sin(c*l.a),E=i+(g+3)*Math.cos(c*l.a),O=s+(g+3)*Math.sin(c*l.a);d.push(o.a.createElement("line",{key:"line".concat(h),className:"tick",x1:k,y1:w,x2:E,y2:O,strokeLinecap:"round"}))}h++})),d},Se=o.a.createElement("defs",null,pe.f),je=function(e){var t,n,r,a,i,s,l=e.progress,c=e.min,u=e.max,f=e.step,p=e.scale,d=(t=e.size,(n={}).SVG_WIDTH=t+32,n.CY=~~(n.SVG_WIDTH/2),n.CX=~~(n.SVG_WIDTH/2),n.GAUGE_RAD=t/2,n.SCALE_RAD=n.GAUGE_RAD-8,n.CIRCLE_CIR=2*Math.PI*n.GAUGE_RAD,n.GAP_ARC_LENGTH=2*Math.PI*n.GAUGE_RAD*.25,n.TRACK_ARC_LENGTH=n.CIRCLE_CIR-n.GAP_ARC_LENGTH,n.SCALE_TICK_OUTER_RAD=n.SCALE_RAD,n.SCALE_TICK_INNER_RAD=n.SCALE_TICK_OUTER_RAD-6,n.SCALE_TEXT_RAD=n.SCALE_TICK_INNER_RAD-8,n.IS_GAUGE=!0,n),h=Ce({min:c,max:u,step:f,scale:p},d),m=e.theme.dark?(a=(r=d).CX,i=r.CY,s=ye(),o.a.createElement("g",null,o.a.createElement("defs",null,o.a.createElement("circle",{id:"needle-knob-edge-".concat(s),strokeWidth:"2px",fill:"none",cx:a,cy:i,r:"14"}),o.a.createElement("circle",{id:"needle-knob-".concat(s),className:"needle-knob",cx:a,cy:i,r:"14"})),o.a.createElement("use",{fill:"#141414",xlinkHref:"#needle-knob-".concat(s)}),o.a.createElement("use",{fill:"url(#l)",style:{mixBlendMode:"overlay"},xlinkHref:"#needle-knob-".concat(s)}),o.a.createElement("use",{fill:"url(#m)",style:{mixBlendMode:"overlay"},xlinkHref:"#needle-knob-".concat(s)}),o.a.createElement("use",{fill:"#141414",filter:"url(#n)",xlinkHref:"#needle-knob-".concat(s)}),o.a.createElement("use",{stroke:"#000000",xlinkHref:"#needle-knob-edge-".concat(s)}),o.a.createElement("use",{stroke:"url(#p)",style:{mixBlendMode:"overlay"},xlinkHref:"#needle-knob-edge-".concat(s)}),o.a.createElement("use",{stroke:"url(#q)",strokeOpacity:".4",xlinkHref:"#needle-knob-edge-".concat(s)}))):function(e){var t=e.CX,n=e.CY;return o.a.createElement("circle",{className:"needle-knob",cx:t,cy:n,r:"14",fill:"#fff"})}(d),b=e.theme.dark?function(e,t){var n=e.progress,r=t.CX,a=t.CY,i=t.GAUGE_RAD,s=t.CIRCLE_CIR,l=t.GAP_ARC_LENGTH,c=t.TRACK_ARC_LENGTH,u=ye(),f=e.color&&("string"==typeof e.color?e.color:e.color.default);return o.a.createElement("g",null,o.a.createElement("defs",null,o.a.createElement("circle",{id:"gauge-track-".concat(u),className:"track",cx:r,cy:a,r:i,fill:"none",strokeDasharray:s,strokeDashoffset:l,strokeWidth:"6",transform:"rotate(-225 ".concat(r," ").concat(a,")")}),o.a.createElement("circle",{id:"gauge-track-progress-".concat(u),className:"track progress",cx:r,cy:a,r:i,fill:"none",strokeDasharray:s,strokeDashoffset:l+(1-n)*c,strokeWidth:"6",transform:"rotate(-225 ".concat(r," ").concat(a,")")})),o.a.createElement("use",{stroke:"black",filter:"url(#a)",xlinkHref:"#gauge-track-".concat(u)}),e.color&&e.color.ranges&&o.a.createElement("use",{stroke:"#15181A",xlinkHref:"#gauge-track-".concat(u)}),o.a.createElement("use",{stroke:"url(#c)",style:{mixBlendMode:"overlay"},xlinkHref:"#gauge-track-".concat(u)}),o.a.createElement("use",{stroke:"black",filter:"url(#d)",xlinkHref:"#gauge-track-".concat(u)}),o.a.createElement("use",{stroke:"black",filter:"url(#e)",xlinkHref:"#gauge-track-progress-".concat(u)}),o.a.createElement("use",{stroke:f||"#ABE2FB",xlinkHref:"#gauge-track-progress-".concat(u)}),o.a.createElement("use",{stroke:"url(#g)",style:{mixBlendMode:"overlay"},xlinkHref:"#gauge-track-progress-".concat(u)}),e.color&&e.color.ranges&&we(e,t))}(e,d):Ee(e,d),g=270*l-225;return o.a.createElement("svg",{width:d.SVG_WIDTH,height:d.SVG_WIDTH,viewBox:"0 0 ".concat(d.SVG_WIDTH," ").concat(d.SVG_WIDTH)},e.theme.dark&&Se,o.a.createElement("g",{className:"scale"},h),function(e,t){var n=t.CX,r=t.CY,a=t.SCALE_RAD;return o.a.createElement("line",{className:"needle",x1:n,y1:r,x2:n+a,y2:r,transform:"rotate(".concat(e||0," ").concat(n," ").concat(r,")"),strokeLinecap:"round"})}(g,d),m,b)};je.defaultProps={theme:l.e,size:208};var _e=je;function Ae(){var e=Me(["\n  & .needle-knob {\n    stroke: ",";\n    stroke-width: 2;\n  }\n\n  & .track {\n    stroke: ",";\n  }\n\n  & .track.progress {\n    stroke: ",";\n  }\n"]);return Ae=function(){return e},e}function Pe(){var e=Me(["\n  & svg {\n    text-align: center;\n  }\n\n  & circle {\n    user-select: none;\n  }\n\n  & .scale {\n    font-size: 12px;\n\n    fill: ",";\n    user-select: none;\n  }\n\n  & .tick {\n    stroke: ",";\n    stroke-width: 2;\n  }\n\n  & .tick.small {\n    stroke: #2b2f32;\n  }\n\n  & .needle {\n    stroke: ",";\n    stroke-width: 3;\n  }\n\n  ",";\n"]);return Pe=function(){return e},e}function Me(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ie=s.c.div(Pe(),(function(e){return e.theme.dark?"#fff":"#5b6268"}),(function(e){return e.theme.detail}),(function(e){return e.theme.dark?"#fff":"#5b6268"}),(function(e){return!e.theme.dark&&De})),De=Object(s.b)(Ae(),(function(e){return e.theme.secondary}),(function(e){return e.theme.secondary}),(function(e){var t=e.color,n=e.theme;return t||n.primary}));Ie.defaultProps={theme:l.e};var Te=Ie;function Re(){var e=He(["\n  margin-top: -4px;\n  text-transform: uppercase;\n  font-size: 8px;\n  color: #535d63;\n"]);return Re=function(){return e},e}function Le(){var e=He(["\n          text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.4);\n        "]);return Le=function(){return e},e}function Ne(){var e=He(["\n  color: ",";\n  ",";\n"]);return Ne=function(){return e},e}function ze(){var e=He(["\n          ",";\n        "]);return ze=function(){return e},e}function Fe(){var e=He(["\n  position: relative;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-around;\n  align-items: center;\n\n  top: 50%;\n  transform: translateY(-50%);\n  text-align: center;\n  font-size: 32px;\n  ",";\n"]);return Fe=function(){return e},e}function He(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Be=s.c.div(Fe(),(function(e){return e.css?Object(s.b)(ze(),e.css):""})),Ge=s.c.div(Ne(),(function(e){var t=e.theme,n=e.color;return t.dark?"#fff":n||t.primary}),(function(e){return e.theme.dark?Object(s.b)(Le()):""}));Ge.defaultProps={theme:l.e};var Ue=s.c.label(Re()),Ve=function(e){return o.a.createElement(Be,{css:e.css},o.a.createElement(Ge,{color:e.valueColor},e.children),e.units?o.a.createElement(Ue,null,e.units):null)};function We(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  font-size: 0.9em;\n  margin-left: -10px;\n\n  & sup {\n    font-size: 0.6em;\n  }\n"]);return We=function(){return e},e}var $e=s.c.div(We()),Ye={compute:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return"e"===t&&(t=Math.exp(1)),Math.log(e)/Math.log(t)},generateLogFormatter:function(e){var t=e.base,n=void 0===t?10:t,r=e.isSVG,a=void 0!==r&&r;return function(e){return a?o.a.createElement("tspan",null,n,o.a.createElement("tspan",{dy:"-6px"},e)):o.a.createElement("span",null,n,o.a.createElement("sup",null,e))}},formatValue:function(e,t){return o.a.createElement($e,null,"~",t,o.a.createElement("sup",null,ve(e,2)))},genLogMarks:function(e,t){var n=e.min,r=e.max,a=e.step,i=void 0===a?1:a,s=e.base,l=void 0===s?10:s,c=e.marks;if(!c){var u=n;for(c={};u<=r;)c[u]=!0,u+=i}return Object.keys(c).forEach((function(e){"boolean"==typeof c[e]&&(c[e]=t?o.a.createElement("tspan",null,l,o.a.createElement("tspan",{dy:"-6px"},e)):o.a.createElement("span",null,l,o.a.createElement("sup",null,e)))})),c}};function qe(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 Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ke=10,Je=2;function Ze(e){var t=function(e){var t=e.min,n=e.max,r=e.scale,o=void 0===r?{}:r,a=e.formatter,i={},s=null!=o.start,l=null!=o.interval,c=null!=o.labelInterval;i.min=t,i.max=n,i.start=s?o.start:t,i.interval=l?o.interval:function(e,t){var n=Math.ceil,r=1*Math.abs(t-e)/Ke;return r>1?n(r):(o=r,Number(o.toFixed(2)));var o}(i.start,n),i.labelInterval=c?o.labelInterval:Je,i.custom=o.custom||{},i.formatter=a||Qe;var u=!s&&!l&&!c,f=Object.keys(i.custom).length;return i.onlyRenderCustom=f&&u,i}(e),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qe(n,!0).forEach((function(t){Xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qe(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t.custom);if(t.onlyRenderCustom)return n;n[t.min]=t.formatter(t.min),n[t.max]=t.formatter(t.max);for(var r=t.start,o=0;r<=t.max;){var a=o%t.labelInterval==0,i=Number(me(r,t.interval)),s=void 0!==n[i];if(r+=t.interval,o++,!s){var l=a?t.formatter(i):null;n[i]=l}}return n}function Qe(e){return e}function et(e){return(et="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 tt(){return(tt=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 nt(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 rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nt(n,!0).forEach((function(t){ot(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function at(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 it(e,t){return!t||"object"!==et(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e,t){return(lt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ct=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),it(this,st(t).apply(this,arguments))}var r,a,i;return 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&&lt(e,t)}(t,e),r=t,(a=[{key:"componentDidMount",value:function(){n(10)}},{key:"render",value:function(){var e=this.props,t=e.color,n=e.max,r=e.min,a=e.showCurrentValue,i=e.units,s=e.logarithmic,l=e.base,c=e.id,u=e.className,f=e.style,p=Object(xe.a)(t),d=null!=this.props.value?this.props.value:r,h=s?Ye.compute(d):d,m=be({min:r,max:n,value:h}),b=s?Ye.generateLogFormatter({base:l,isSVG:!0}):null,g=Ze(rt({},this.props,{formatter:b})),v=ge({min:r,max:n,value:m,progressionTarget:1}),y=o.a.createElement(Ve,{valueColor:p,units:i,css:"transform: translateY(-150%); top: 0;"},s?Ye.formatValue(m,l):m.toFixed(1));return o.a.createElement("div",{id:c,className:u,style:f},o.a.createElement(Y.a,tt({},this.props,{labelCSS:"top"===this.props.labelPosition?null:"transform: translateY(-80px);"}),o.a.createElement(Te,{color:p},o.a.createElement(_e,tt({},rt({},this.props,{scale:g}),{progress:v})),a&&y)))}}])&&at(r.prototype,a),i&&at(r,i),t}(o.a.Component);ct.defaultProps={min:0,max:10,base:10,theme:l.e,labelPosition:"top"},ct.propTypes={id:i.a.string,value:i.a.number,size:i.a.number,min:i.a.number,max:i.a.number,base:i.a.number,logarithmic:i.a.bool,showCurrentValue:i.a.bool,units:i.a.string,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),scale:i.a.shape({start:i.a.number,interval:i.a.number,labelInterval:i.a.number,custom:i.a.oneOfType([i.a.number,i.a.shape({style:i.a.string,label:i.a.string})])}),color:i.a.oneOfType([i.a.string,i.a.shape({default:i.a.string,gradient:i.a.bool,ranges:i.a.shape({color:i.a.arrayOf(i.a.number)})})]),className:i.a.string,style:i.a.object};var ut=Object(s.d)(ct);function ft(){var e=Ot(["\n          font-size: 11px;\n          right: auto;\n        "]);return ft=function(){return e},e}function pt(){var e=Ot(["\n  position: absolute;\n  right: 4%;\n  top: 50%;\n  transform: translateY(-50%);\n\n  ",";\n"]);return pt=function(){return e},e}function dt(){var e=Ot(["\n      background-color: ",";\n      background-image: linear-gradient(\n        145deg,\n        rgba(255, 255, 255, 0.5) 0%,\n        rgba(0, 0, 0, 0.4) 100%\n      );\n      background-blend-mode: overlay;\n    "]);return dt=function(){return e},e}function ht(){var e=Ot(["\n  "," box-shadow: ",";\n"]);return ht=function(){return e},e}function mt(){var e=Ot(["\n      height: ",";\n      width: ",";\n      margin: ",";\n    "]);return mt=function(){return e},e}function bt(){var e=Ot(["\n      background-color: ",";\n    "]);return bt=function(){return e},e}function gt(){var e=Ot(["\n        background-image: linear-gradient(",", ",", ",");\n      "]);return gt=function(){return e},e}function vt(){var e=Ot(["\n  display: block;\n  box-sizing: border-box;\n\n  ","\n\n  ","\n\n  ",";\n"]);return vt=function(){return e},e}function yt(){var e=Ot(["\n  background-color: ",";\n"]);return yt=function(){return e},e}function xt(){var e=Ot(["\n  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);\n  padding: 3px;\n  color: #fff;\n  border: none;\n  border-radius: 0px;\n  background-color: #22272a;\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);\n  box-shadow: inset 0 0 8px -1px rgba(0, 0, 0, 0.7), inset 0 0 4px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.8), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return xt=function(){return e},e}function kt(){var e=Ot(["\n  flex-direction: row;\n  width: ",";\n  height: 30px;\n"]);return kt=function(){return e},e}function wt(){var e=Ot(["\n  flex-direction: column-reverse;\n  width: 30px;\n  height: ",";\n"]);return wt=function(){return e},e}function Et(){var e=Ot(["\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n\n  ",";\n  ",";\n"]);return Et=function(){return e},e}function Ot(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ct=s.c.div(Et(),(function(e){return e.vertical?St:jt}),(function(e){return e.theme.dark?_t:At}));Ct.defaultProps={theme:l.e};var St=Object(s.b)(wt(),(function(e){var t=e.size;return"".concat(t,"px")})),jt=Object(s.b)(kt(),(function(e){var t=e.size;return"".concat(t,"px")})),_t=Object(s.b)(xt()),At=Object(s.b)(yt(),(function(e){return e.theme.secondary})),Pt=s.c.div(vt(),(function(e){var t=e.gradient,n=e.progress,r=e.color,o=e.theme,a=e.max,i=e.min,l=e.step,c=e.size,u=e.vertical;if(t){var f=c/((a-i)/l)/c,p=t.rgbAt(n).toString(),d=t.rgbAt(n+f).toString();return Object(s.b)(gt(),u?"to top":"to right",p,d)}return Object(s.b)(bt(),r||o.primary)}),(function(e){var t=(e.max-e.min)/e.step,n=e.size/t,r=n>=10?.05*n:.5,o=n-2*r;return Object(s.b)(mt(),e.vertical?"".concat(o,"px"):"100%",e.vertical?"100%":"".concat(o,"px"),e.vertical?"".concat(r,"px 0"):"0 ".concat(r,"px"))}),(function(e){return e.theme.dark&&Mt}));Pt.defaultProps={theme:l.e};var Mt=Object(s.b)(ht(),(function(e){var t=e.color,n=e.theme;if(!e.gradient)return Object(s.b)(dt(),t||n.primary)}),(function(e){var t=e.color,n=e.theme;return"2px 2px 6px 1px rgba(0, 0, 0, 0.45), inset 1px 1px 2px 0 rgba(255, 255, 255, 0.3),\n      1px 1px 1px 0px rgba(0, 0, 0, 0.6), 0 0 3px 0px ".concat(t||n.primary)})),It=s.c.div(pt(),(function(e){return e.vertical?Object(s.b)(ft()):""}));function Dt(){return(Dt=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 Tt(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 Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(n,!0).forEach((function(t){Lt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zt=function(e,t){var n=Object.entries(t.ranges).filter((function(t){var n=Nt(t,2)[1];return e>=n[0]&&e<=n[1]}))[0];return n&&n[0]},Ft=function(e){var t=e.step,n=e.min,r=e.max,a=e.label,i=e.labelPosition,s=e.id,l=e.className,c=e.color,u=e.size,f=e.style,p=e.showCurrentValue,d=e.vertical,h=e.value||n,m=null,b=[],g=Math.max(Math.min(r,h),n);c.gradient&&Object(xe.e)({color:c,min:n,max:r})&&(m=Object(xe.b)({color:c,min:n,max:r}));for(var v=n;v<g;v+=t){var y=Rt({},e,{color:Object(xe.a)(c)});c.ranges&&zt(v,c)&&(y=Rt({},e,{color:zt(v,c)})),b.push(o.a.createElement(Pt,Dt({key:v,progress:v/(r-n),gradient:m},y)))}var x=g/(r-n)*100;return isFinite(x)||(x=0),o.a.createElement("div",{id:s,className:l,style:f},o.a.createElement(Y.a,{label:a,labelPosition:i},o.a.createElement(Ct,{vertical:d,size:u},b,p&&o.a.createElement(It,{vertical:d},x.toFixed(0),"%"))))};Ft.defaultProps={min:0,max:10,size:250,step:.5,labelPosition:"top",color:l.e.primary},Ft.propTypes={id:i.a.string,value:i.a.number,color:i.a.oneOfType([i.a.string,i.a.shape({default:i.a.string,gradient:i.a.bool,ranges:i.a.shape({color:i.a.arrayOf(i.a.number)})})]),size:i.a.number,vertical:i.a.bool,min:i.a.number,max:i.a.number,step:i.a.number,showCurrentValue:i.a.bool,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object};var Ht=Ft,Bt=n(7),Gt=n.n(Bt),Ut=function(e){var t=Gt()(e.color).desaturate(.2).lighten(.2).rgb().toString();return o.a.createElement("div",{id:e.id,className:e.className,style:e.style},o.a.createElement(Y.a,e,o.a.createElement(m,{size:e.size,width:e.width,height:e.height,rectangular:e.width&&e.height,main:!0,on:e.value,primary:e.color,secondary:e.theme.dark?null:t})))};Ut.defaultProps={color:l.c.DARKER_PRIMARY,size:15,theme:l.e,labelPosition:"top"},Ut.propTypes={id:i.a.string,value:i.a.bool,color:i.a.string,size:i.a.number,width:i.a.number,height:i.a.number,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom","right","left"]),className:i.a.string,style:i.a.object};var Vt=Object(s.d)(Ut),Wt=function(e){var t,n,r=e.theme,a=e.currentDeg,i=e.disabled,s=e.color,l=a+-225,c=(t=e.size,(n={}).SVG_WIDTH=t+80,n.CY=~~(n.SVG_WIDTH/2),n.CX=~~(n.SVG_WIDTH/2),n.GAUGE_RAD=t/2,n.SCALE_RAD=n.GAUGE_RAD+36,n.KNOB_RAD=n.GAUGE_RAD-12,n.CIRCLE_CIR=2*Math.PI*n.GAUGE_RAD,n.GAP_ARC_LENGTH=2*Math.PI*n.GAUGE_RAD*.25,n.TRACK_ARC_LENGTH=n.CIRCLE_CIR-n.GAP_ARC_LENGTH,n.SCALE_TICK_OUTER_RAD=n.SCALE_RAD-27,n.SCALE_TICK_INNER_RAD=n.SCALE_TICK_OUTER_RAD-.5,n.SCALE_TEXT_RAD=n.SCALE_RAD-20,n),u=r.dark?function(e,t,n){var r=n.CX,a=n.CY,i=n.KNOB_RAD,s=ye();return o.a.createElement("g",{transform:"translate(".concat(r," ").concat(a,")")},o.a.createElement("defs",null,o.a.createElement("path",{id:"base-edge-".concat(s),strokeWidth:"2px",fill:"none",d:"M-".concat(i,",0a").concat(i,",").concat(i," 0 1,0 ").concat(2*i,",0a").concat(i,",").concat(i," 0 1,0 -").concat(2*i,",0")}),o.a.createElement("circle",{id:"base-".concat(s),className:"base",cx:"0",cy:"0",r:i}),o.a.createElement("rect",{id:"indent-".concat(s),width:"8",height:"2",x:i-16,y:"0",rx:"1"})),o.a.createElement("use",{fill:"#141414",xlinkHref:"#base-".concat(s)}),o.a.createElement("use",{fill:"url(#l)",style:{mixBlendMode:"overlay"},xlinkHref:"#base-".concat(s)}),o.a.createElement("use",{fill:"url(#m)",style:{mixBlendMode:"overlay"},xlinkHref:"#base-".concat(s)}),o.a.createElement("use",{fill:"#141414",filter:"url(#n)",xlinkHref:"#base-".concat(s)}),o.a.createElement("use",{stroke:"#000000",xlinkHref:"#base-edge-".concat(s)}),o.a.createElement("use",{stroke:"url(#p)",style:{mixBlendMode:"overlay"},xlinkHref:"#base-edge-".concat(s)}),o.a.createElement("use",{stroke:"url(#q)",strokeOpacity:".4",xlinkHref:"#base-edge-".concat(s)}),o.a.createElement("g",{transform:"rotate(".concat(t,")")},o.a.createElement("use",{fill:"black",filter:"url(#r)",xlinkHref:"#indent-".concat(s)}),o.a.createElement("use",{fill:Object(xe.a)(e)||"#ABE2FB",xlinkHref:"#indent-".concat(s)}),o.a.createElement("use",{fill:"black",filter:"url(#t)",xlinkHref:"#indent-".concat(s)})))}(s,l,c):function(e,t){var n=t.CX,r=t.CY,a=t.KNOB_RAD;return o.a.createElement("g",{transform:"translate(".concat(n," ").concat(r,") rotate(").concat(e,")")},o.a.createElement("circle",{className:"base",cx:"0",cy:"0",r:a,fill:"#fff"}),o.a.createElement("circle",{className:"indent",cx:a*(2/3),cy:"0",r:a/6,fill:"#fff"}))}(l,c),f=r.dark?function(e,t){var n=e.progress,r=t.CX,a=t.CY,i=t.GAUGE_RAD,s=t.CIRCLE_CIR,l=t.GAP_ARC_LENGTH,c=t.TRACK_ARC_LENGTH,u=ye(),f=e.color&&e.color.ranges;return o.a.createElement("g",null,o.a.createElement("defs",null,o.a.createElement("circle",{id:"knob-track-".concat(u),className:"track",cx:r,cy:a,r:i,fill:"none",strokeDasharray:s,strokeDashoffset:l,strokeWidth:"6",transform:"rotate(-225 ".concat(r," ").concat(a,")")}),o.a.createElement("circle",{id:"knob-track-progress-".concat(u),className:"track progress",cx:r,cy:a,r:i,fill:"none",strokeDasharray:s,strokeDashoffset:l+(1-n)*c,strokeWidth:"6",transform:"rotate(-225 ".concat(r," ").concat(a,")")})),o.a.createElement("use",{stroke:"#15181A",filter:"url(#a)",xlinkHref:"#knob-track-".concat(u)}),f&&o.a.createElement("use",{stroke:"#15181A",xlinkHref:"#knob-track-".concat(u)}),o.a.createElement("use",{stroke:"url(#c)",style:{mixBlendMode:"overlay"},xlinkHref:"#knob-track-".concat(u)}),o.a.createElement("use",{stroke:"#15181A",filter:"url(#d)",xlinkHref:"#knob-track-".concat(u)}),!f&&o.a.createElement("use",{stroke:"black",filter:"url(#e)",xlinkHref:"#knob-track-progress-".concat(u)}),o.a.createElement("use",{stroke:"url(#g)",style:{mixBlendMode:"overlay"},xlinkHref:"#knob-track-progress-".concat(u)}),o.a.createElement("use",{stroke:Object(xe.a)(e.color)||"#ABE2FB",xlinkHref:"#knob-track-progress-".concat(u)}),e.color&&e.color.ranges&&we(e,t))}(e,c):Ee(e,c);return o.a.createElement("svg",{width:c.SVG_WIDTH,height:c.SVG_WIDTH,viewBox:"0 0 ".concat(c.SVG_WIDTH," ").concat(c.SVG_WIDTH)},r.dark&&pe.f,o.a.createElement("g",{className:"scale"},Ce(e,c)),o.a.createElement("g",{ref:e.refFunc,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onMouseMove:e.onMouseMove,className:"knob ".concat(i?"disabled":"")},u),f)};Wt.defaultProps={theme:l.e,size:144};var $t=Wt;function Yt(){var e=Kt(["\n  & .scale {\n    fill: #fff;\n  }\n"]);return Yt=function(){return e},e}function qt(){var e=Kt(["\n  & .scale {\n    fill: #5b6268;\n  }\n\n  & .track {\n    stroke: #e6e6e6;\n  }\n\n  & .knob .base,\n  .knob .indent {\n    stroke: #e6e6e6;\n    stroke-width: 2;\n  }\n"]);return qt=function(){return e},e}function Xt(){var e=Kt(["\n  & svg {\n    text-align: center;\n  }\n\n  & circle {\n    user-select: none;\n  }\n\n  & .scale {\n    font-size: 12px;\n    user-select: none;\n  }\n\n  & .tick {\n    stroke: ",";\n    stroke-width: 2;\n  }\n\n  & .knob {\n    cursor: pointer;\n  }\n\n  & .disabled {\n    opacity: ",";\n    cursor: not-allowed;\n  }\n\n  & .track.progress {\n    stroke: ",";\n  }\n\n  ",";\n"]);return Xt=function(){return e},e}function Kt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Jt=s.c.div(Xt(),(function(e){return e.theme.detail}),(function(e){return e.theme.dark?1:.65}),(function(e){var t=e.color,n=e.theme;return t||n.primary}),(function(e){return e.theme.dark?Qt:Zt})),Zt=Object(s.b)(qt()),Qt=Object(s.b)(Yt());Jt.defaultProps={theme:l.e};var en=Jt;function tn(e){return(tn="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 nn(){return(nn=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 rn(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 on(e){return(on=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function an(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sn(e,t){return(sn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ln=-1,cn=function(e){var t=e.min,n=e.max,r=e.value;return ge({min:t,max:n,value:r,progressionTarget:l.b})},un=function(e){function t(e){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=function(e,t){return!t||"object"!==tn(t)&&"function"!=typeof t?an(e):t}(this,on(t).call(this,e));var r=cn({min:e.min,max:e.max,value:null!=e.value?e.value:e.min});return n.state={min:e.min,max:e.max,value:e.value||e.min,scale:Ze(e),isDragging:!1,startAngle:ln,rotation:r,currentDeg:r},n.onMouseDown=n.onMouseDown.bind(an(n)),n.onMouseUp=n.onMouseUp.bind(an(n)),n.onMouseMove=n.onMouseMove.bind(an(n)),n.setValue=n.setValue.bind(an(n)),n}var r,a,i;return 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&&sn(e,t)}(t,e),r=t,(a=[{key:"noop",value:function(){}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){void 0!==e.value&&this.setState({value:e.value})}},{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.onMouseUp,!1),n(10)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.onMouseUp,!1)}},{key:"onMouseDown",value:function(){this.setState({isDragging:!0})}},{key:"onMouseUp",value:function(){this.state.isDragging&&this.setState((function(e){return{rotation:e.currentDeg,isDragging:!1,startAngle:ln}}))}},{key:"onMouseMove",value:function(e){if(this.state.isDragging){var t=this.props,n=t.min,r=t.max,o=this.state.rotation,a=this.state.startAngle;e.touches&&(e=e.touches[0]);var i=this.knobElement.getBoundingClientRect(),s=i.width/2+i.left,c=i.height/2+i.top,u=Math.atan2(e.clientX-s,e.clientY-c)*(180/Math.PI);e.clientX-s>=0?u=Math.abs(360-u)+180:u-=180,u=Math.abs(u),a===ln&&(a=u,this.setState({startAngle:a}));var f=Math.floor(u-a+o);f=Math.min(f,l.b),f=Math.max(f,0),this.setState({currentDeg:f}),this.setValue(ve(function(e){var t=e.min,n=e.max,r=e.deg;return ge({min:0,max:l.b,value:r,progressionTarget:n-t})+t}({min:n,max:r,deg:f}),2))}}},{key:"setValue",value:function(e){this.setState({value:e}),this.props.setProps&&this.props.setProps({value:e})}},{key:"render",value:function(){var e=this,t=this.state,n=t.min,r=t.max,a=t.value,i=ge({min:n,max:r,value:a,progressionTarget:1});return o.a.createElement("div",{id:this.props.id,className:this.props.className,style:this.props.style},o.a.createElement(Y.a,nn({},this.props,{labelCSS:"top"===this.props.labelPosition?null:"transform: translateY(-40px);"}),o.a.createElement(en,{color:Object(xe.a)(this.props.color)},o.a.createElement($t,nn({progress:i},this.props,this.state,{refFunc:function(t){return e.knobElement=t},onMouseDown:this.props.disabled?this.noop:this.onMouseDown,onMouseUp:this.props.disabled?this.noop:this.onMouseUp,onMouseMove:this.props.disabled?this.noop:this.onMouseMove})))))}}])&&rn(r.prototype,a),i&&rn(r,i),t}(r.Component);un.defaultProps={min:0,max:10,theme:l.e,labelPosition:"top"},un.propTypes={id:i.a.string,value:i.a.number,color:i.a.oneOfType([i.a.string,i.a.shape({default:i.a.string,gradient:i.a.bool,ranges:i.a.shape({color:i.a.arrayOf(i.a.number)})})]),size:i.a.number,min:i.a.number,max:i.a.number,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),scale:i.a.shape({start:i.a.number,interval:i.a.number,labelInterval:i.a.number,custom:i.a.oneOfType([i.a.number,i.a.shape({style:i.a.string,label:i.a.string})])}),className:i.a.string,style:i.a.object,setProps:i.a.func};var fn=Object(s.d)(un);function pn(){var e=bn(["\n  & .darkLED-fill {\n    fill: ",";\n  }\n"]);return pn=function(){return e},e}function dn(){var e=bn(["\n  border-radius: 3px;\n  padding: 12px 8px 12px 14px;\n  border: 1px solid ",";\n  background: ",";\n"]);return dn=function(){return e},e}function hn(){var e=bn(["\n  padding: 12px 8px 4px 16px;\n  background-color: #22272a;\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);\n  box-shadow: inset 0 0 8px -1px rgba(0, 0, 0, 0.7), inset 0 0 4px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.8), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return hn=function(){return e},e}function mn(){var e=bn(["\n  display: inline-flex;\n\n  ",";\n"]);return mn=function(){return e},e}function bn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gn=s.c.div(mn(),(function(e){return e.theme.dark?vn:yn})),vn=Object(s.b)(hn()),yn=Object(s.b)(dn(),(function(e){return e.theme.detail}),(function(e){return e.backgroundColor}));gn.defaultProps={theme:l.e};var xn=s.c.div(pn(),(function(e){return e.color})),kn={0:["A","B","C","D","E","F"],1:["B","C"],2:["A","B","G","E","D"],3:["A","B","G","C","D"],4:["F","G","B","C"],5:["A","F","G","C","D"],6:["A","F","G","C","D","E"],7:["A","B","C"],8:["A","B","C","D","E","F","G"],9:["A","B","C","D","F","G"],"-":["G"]},wn={A:{base:"M3.778 3.778L6.555 1h16.667L26 3.778l-2.778 2.778H6.555L3.778 3.778z",stroke:"M3.778 3.778L6.555 1h16.667L26 3.778l-2.778 2.778H6.555L3.778 3.778z"},B:{base:"M26 3.778l2.778 2.777v16.667L26 26l-2.778-2.778V6.555L26 3.778z",stroke:"M26 3.778l2.778 2.777v16.667L26 26l-2.778-2.778V6.555L26 3.778z"},C:{base:"M26 26l2.778 2.778v16.666L26 48.222l-2.778-2.778V28.778L26 26z",stroke:"M26 26l2.778 2.778v16.666L26 48.222l-2.778-2.778V28.778L26 26z"},D:{base:"M26 48.222L23.222 51H6.555l-2.777-2.778 2.777-2.778h16.667L26 48.222z",stroke:"M26 48.222L23.222 51H6.555l-2.777-2.778 2.777-2.778h16.667L26 48.222z"},E:{base:"M3.778 48.222L1 45.444V28.778L3.778 26l2.778 2.778v16.666l-2.778 2.778z",stroke:"M3.778 48.222L1 45.444V28.778L3.778 26l2.778 2.778v16.666l-2.778 2.778z"},F:{base:"M3.778 26L1 23.222V6.555l2.778-2.777 2.778 2.777v16.667L3.778 26z",stroke:"M3.778 26L1 23.222V6.555l2.778-2.777 2.778 2.777v16.667L3.778 26z"},G:{base:"M3.778 26l2.777-2.778h16.667L26 26l-2.778 2.778H6.555L3.778 26z",stroke:"M3.778 26l2.777-2.778h16.667L26 26l-2.778 2.778H6.555L3.778 26z"}},En=function(e){var t=e.paths,n=t.base,r=t.stroke,a=e.fillColor,i=e.strokeColor;return o.a.createElement("g",null,o.a.createElement("path",{fill:a,fillRule:"evenodd",d:n,clipRule:"evenodd"}),o.a.createElement("path",{stroke:i,strokeWidth:".75",d:r}))},On=function(e){var t=e.fillColor,n=e.strokeColor;return o.a.createElement("g",{transform:"translate(29 46)"},o.a.createElement("circle",{cx:"3",cy:"3",r:"3",fill:t}),o.a.createElement("circle",{cx:"3",cy:"3",r:"3",stroke:n,strokeWidth:".75"}))},Cn=function(e){var t=e.fillColor,n=e.strokeColor;return o.a.createElement("g",null,o.a.createElement("g",{transform:"translate(32 36)"},o.a.createElement("circle",{cx:"3",cy:"3",r:"3",fill:t}),o.a.createElement("circle",{cx:"3",cy:"3",r:"3",stroke:n,strokeWidth:".75"})),o.a.createElement("g",{transform:"translate(32 9)"},o.a.createElement("circle",{cx:"3",cy:"3",r:"3",fill:t}),o.a.createElement("circle",{cx:"3",cy:"3",r:"3",stroke:n,strokeWidth:".75"})))},Sn=function(e){var t=e.value,n=e.hasColon,r=e.hasDecimal,a=e.color,i=e.backgroundColor,s=e.size,l=Gt()(i).darken(.2).fade(.85),c=kn[t].map((function(e){return o.a.createElement(En,{key:e,fillColor:a,strokeColor:i,paths:wn[e]})})),u=["A","B","C","D","E","F","G"].map((function(e){return o.a.createElement(En,{key:e,fillColor:l,strokeColor:i,paths:wn[e]})})),f=n?s:s*(6/7),p=s*(9/7);return o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:f,height:p},o.a.createElement("g",{fill:"none",style:{transform:"scale(".concat(Number(s)/42,")")}},u,c,n&&o.a.createElement(Cn,{fillColor:a,strokeColor:i}),r&&o.a.createElement(On,{fillColor:a,strokeColor:i})))},jn=function(e){var t=e.value,n=e.hasColon,r=e.hasDecimal,a=e.color,i=e.size,s=kn[t].map((function(e){return pe.a[e]})),l=n?i:i*(6/7),c=i*(9/7);return o.a.createElement(xn,{color:a},o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:l,height:c},pe.e,o.a.createElement("g",{fill:"none",fillRule:"evenodd",filter:"url(#darkLED-a)",style:{transform:"scale(".concat(Number(i)/42,")")}},s,n&&pe.c,r&&pe.d)))},_n=function(e){return e.theme.dark?o.a.createElement(jn,e):o.a.createElement(Sn,e)},An=/^(\-)?((\.|:)?[0-9])*$/,Pn=An.test.bind(An),Mn=function(e){var t=Pn(e.value)?function(e){var t=e.value,n=e.color,r=e.backgroundColor,a=e.theme,i=e.size,s=t.toString().split("").reverse(),l=[];!function(e){var t=!1;"-"===e[e.length-1]&&(t=!0,e.pop());var n=e[e.length-1];[".",":"].includes(n)&&e.push("0");t&&e.push("-")}(s);var c=0;for(;s.length;){var u=s.pop(),f=s.pop();l.push(o.a.createElement(_n,{theme:a,key:c++,value:u,hasColon:":"===f,hasDecimal:"."===f,color:n,backgroundColor:r,size:i})),f&&"."!==f&&":"!==f&&s.push(f)}return l}(e):null,n=o.a.createElement(gn,{backgroundColor:e.backgroundColor},t);return o.a.createElement("div",{id:e.id,className:e.className,style:e.style},o.a.createElement(Y.a,e,t?n:"Invalid Input"))};Mn.defaultProps={color:l.c.PRIMARY,backgroundColor:"#fff",size:42,theme:l.e,labelPosition:"top"},Mn.propTypes={id:i.a.string,value:i.a.oneOfType([i.a.number,i.a.string]),color:i.a.string,backgroundColor:i.a.string,size:i.a.number,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object};var In=Object(s.d)(Mn),Dn=n(9),Tn=n.n(Dn);function Rn(e){return(Rn="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 Ln(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){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fn(e,t){return(Fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Hn=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==Rn(t)&&"function"!=typeof t?zn(e):t}(this,Nn(t).call(this,e))).state={value:e.value||e.min},n.setValue=n.setValue.bind(zn(n)),n}var n,r,a;return 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&&Fn(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.value!==this.state.value&&this.setState({value:e.value})}},{key:"setValue",value:function(e){null!=e&&e>=this.props.min&&e<=this.props.max&&(this.setState({value:e}),this.props.setProps&&this.props.setProps({value:e}))}},{key:"render",value:function(){var e=this.props,t=e.size,n=e.theme,r={background:"none",boxShadow:"none",border:"none",color:n.secondary,cursor:"pointer"},a=Math.max(this.state.value?16-2*this.state.value.toString().length:16,10),i={borderRadius:3,border:n.dark?"none":"1px solid ".concat(l.c.GREY),outline:"none",paddingRight:a,paddingLeft:a,paddingTop:8,paddingBottom:8,width:t||56,color:n.dark?"#fff":l.c.OFF_WHITE,fontSize:14,boxSizing:"border-box"};return o.a.createElement("div",{id:this.props.id,className:this.props.className,style:this.props.style},o.a.createElement(Y.a,this.props,o.a.createElement(Tn.a,{disabled:this.props.disabled,style:{input:i,"input:not(.form-control)":i,btn:r,"btn:hover":r,"btn:active":r,"input:disabled":{opacity:.65,cursor:"not-allowed"}},min:this.props.min,max:this.props.max,value:this.state.value,onChange:this.setValue,mobile:!1})))}}])&&Ln(n.prototype,r),a&&Ln(n,a),t}(r.Component);Hn.defaultProps={min:0,max:10,theme:l.e,labelPosition:"top"},Hn.propTypes={id:i.a.string,value:i.a.number,size:i.a.number,min:i.a.number,max:i.a.number,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var Bn=Object(s.d)(Hn);function Gn(){var e=Xn(["\n            box-shadow: 0 0 8px 2px ",";\n          "]);return Gn=function(){return e},e}function Un(){var e=Xn(["\n      width: ","px;\n      height: ","px;\n    "]);return Un=function(){return e},e}function Vn(){var e=Xn(["\n  "," border-radius: 100%;\n  padding: 0;\n  margin-bottom: 8px;\n\n  &::before,\n  &::after {\n    left: 4%;\n    border-radius: 100%;\n    transition: all 0.1s ease-in;\n  }\n\n  &::before {\n    top: 8%;\n    width: 86%;\n    height: 86%;\n  }\n\n  &::after {\n    top: 4%;\n    width: 92%;\n    height: 92%;\n\n    ",";\n  }\n\n  &:hover::before {\n    background-color: rgba(0, 0, 0, 0.8);\n  }\n\n  &:hover::after {\n    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.66);\n  }\n\n  &:focus::after,\n  &:active::after {\n    box-shadow: ",";\n  }\n"]);return Vn=function(){return e},e}function Wn(){var e=Xn(["\n      width: ","px;\n      height: ","px;\n    "]);return Wn=function(){return e},e}function $n(){var e=Xn(["\n  border-radius: 50%;\n  box-sizing: border-box;\n  background: #fff;\n  border: 1px solid ",";\n  "," margin-bottom: ",";\n  padding: 0;\n\n  &:focus,\n  &:hover {\n    border-color: ",";\n  }\n"]);return $n=function(){return e},e}function Yn(){var e=Xn(["\n  cursor: pointer;\n  outline: none;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n\n  &:disabled {\n    opacity: ",";\n    cursor: not-allowed;\n  }\n\n  ",";\n"]);return Yn=function(){return e},e}function qn(){var e=Xn(["\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  align-items: center;\n\n  & svg {\n    margin: 0 auto;\n  }\n"]);return qn=function(){return e},e}function Xn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Kn=Object(s.c)("div")(qn()),Jn=s.c.button(Yn(),(function(e){return e.theme.dark?1:.65}),(function(e){return e.theme.dark?Qn:Zn})),Zn=Object(s.b)($n(),(function(e){return e.theme.secondary}),(function(e){var t=e.size;return Object(s.b)(Wn(),t,t)}),(function(e){var t=e.size;return"".concat(.0625*t,"px")}),(function(e){return e.theme.secondary})),Qn=Object(s.b)(Vn(),(function(e){var t=e.size;return Object(s.b)(Un(),t,t)}),(function(e){var t=e.on,n=e.color,r=e.theme;return t?Object(s.b)(Gn(),n||r.primary):""}),(function(e){var t=e.on,n=e.color,r=e.theme;return t?"0 0 8px 2px ".concat(n||r.primary):"0 0 3px 0 rgba(0,0,0,0.66)"}));Jn.defaultProps={theme:l.e};var er=function(e){var t=e.color,n=e.theme,r=e.on,a=e.size;return o.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 14 14"},o.a.createElement("path",{fill:r?t||n.primary:n.secondary,fillRule:"evenodd",d:"M24.5173333,14.68 C25.2764482,15.3271143 25.8799978,16.1111065 26.328,17.032 C26.7760022,17.9777825 27,18.9671059 27,20 C27,21.2693397 26.6826698,22.4453279 26.048,23.528 C25.4257747,24.5857831 24.5857831,25.4257747 23.528,26.048 C22.4453279,26.6826698 21.2693397,27 20,27 C18.7306603,27 17.5546721,26.6826698 16.472,26.048 C15.4142169,25.4257747 14.5742253,24.5857831 13.952,23.528 C13.3173302,22.4453279 13,21.2693397 13,20 C13,18.9671059 13.2302199,17.9777825 13.6906667,17.032 C14.1262244,16.1111065 14.7235518,15.3271143 15.4826667,14.68 L16.5653333,15.7626667 C15.9555525,16.2728914 15.4764462,16.8888853 15.128,17.6106667 C14.7546648,18.3697816 14.568,19.1662181 14.568,20 C14.568,20.9955605 14.8106642,21.9102181 15.296,22.744 C15.7813358,23.5653374 16.4346626,24.2186642 17.256,24.704 C18.0897819,25.1893358 19.0044395,25.432 20,25.432 C20.9955605,25.432 21.9102181,25.1893358 22.744,24.704 C23.5653374,24.2186642 24.2186642,23.5653374 24.704,22.744 C25.1893358,21.9102181 25.432,20.9955605 25.432,20 C25.432,19.1537735 25.2546684,18.3666703 24.9,17.6386667 C24.5453316,16.910663 24.056892,16.2977803 23.4346667,15.8 L24.5173333,14.68 Z M20.7653333,13 L20.7653333,20.7653333 L19.2346667,20.7653333 L19.2346667,13 L20.7653333,13 Z",transform:"translate(-13 -13)"}))};er.defaultProps={theme:l.e};var tr=er;function nr(e){return(nr="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 rr(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 or(e){return(or=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ar(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ir(e,t){return(ir=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var sr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==nr(t)&&"function"!=typeof t?ar(e):t}(this,or(t).call(this,e))).state={on:n.props.on},n.onClick=n.onClick.bind(ar(n)),n}var n,r,a;return 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&&ir(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.on!==this.state.on&&this.setState({on:e.on})}},{key:"onClick",value:function(){var e=!this.state.on;this.setState({on:e}),this.props.setProps&&this.props.setProps({on:e})}},{key:"render",value:function(){var e=this.props.size/10*1.25;return o.a.createElement("div",{id:this.props.id,className:this.props.className,style:this.props.style},o.a.createElement(Y.a,this.props,o.a.createElement(Kn,null,o.a.createElement(Jn,{on:this.state.on,color:this.props.color,size:this.props.size,disabled:this.props.disabled,onClick:this.onClick},o.a.createElement(tr,{on:this.state.on,color:this.props.color,size:.3*this.props.size})),o.a.createElement(m,{on:this.state.on,primary:this.props.color,main:!0,size:e}))))}}])&&rr(n.prototype,r),a&&rr(n,a),t}(r.Component);sr.defaultProps={on:!1,theme:l.e,size:48,labelPosition:"top"},sr.propTypes={id:i.a.string,on:i.a.bool,color:i.a.string,size:i.a.number,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var lr=Object(s.d)(sr);function cr(){var e=vr(["\n          background: #f2f2f2;\n        "]);return cr=function(){return e},e}function ur(){var e=vr(["\n          color: ",";\n          text-shadow: 0 0 2px rgba(0, 0, 0, 0.9),\n            0 0 9px ",";\n        "]);return ur=function(){return e},e}function fr(){var e=vr(["\n  border: none;\n  ",";\n"]);return fr=function(){return e},e}function pr(){var e=vr(["\n  color: #15181a;\n  border-right: 1px solid #f2f2f2;\n"]);return pr=function(){return e},e}function dr(){var e=vr(["\n  border-right: 1px solid rgba(0, 0, 0, 0.4);\n"]);return dr=function(){return e},e}function hr(){var e=vr(["\n  padding: 8px 6px;\n  box-sizing: border-box;\n  display: inline-block;\n  font-size: 14px;\n  line-height: 16px;\n  text-align: center;\n\n  ",";\n"]);return hr=function(){return e},e}function mr(){var e=vr(["\n  background: #ffffff;\n  border-radius: 2px;\n  border: 1px solid #d3d3d3;\n"]);return mr=function(){return e},e}function br(){var e=vr(["\n  background-color: #22272a;\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);\n  box-shadow: inset 0 0 8px -1px rgba(0, 0, 0, 0.7), inset 0 0 4px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.8), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return br=function(){return e},e}function gr(){var e=vr(["\n  margin: 0 auto;\n  display: flex;\n  justify-content: flex-end;\n  width: ",";\n  cursor: text;\n\n  ",";\n"]);return gr=function(){return e},e}function vr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var yr=s.c.div(gr(),(function(e){var t=e.size;return"".concat(t,"px")||!1}),(function(e){return e.theme.dark?xr:kr})),xr=Object(s.b)(br()),kr=Object(s.b)(mr()),wr=s.c.div(hr(),(function(e){return e.theme.dark?Er:Or})),Er=Object(s.b)(dr()),Or=Object(s.b)(pr()),Cr=Object(s.c)(wr)(fr(),(function(e){return e.theme.dark?Object(s.b)(ur(),(function(e){var t=e.color,n=e.theme;return t||n.primary}),(function(e){var t=e.color,n=e.theme;return t||n.primary})):Object(s.b)(cr())}));function Sr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function jr(e){return(jr="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 _r(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 Ar(e){return(Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Pr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mr(e,t){return(Mr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ir={display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"flex-start"},Dr=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t){return!t||"object"!==jr(t)&&"function"!=typeof t?Pr(e):t}(this,Ar(t).call(this,e))).formatPrecision=n.formatPrecision.bind(Pr(n)),n.setTempValue=n.setTempValue.bind(Pr(n)),n.blur=n.blur.bind(Pr(n)),n.setValue=n.setValue.bind(Pr(n)),n.toggleInput=n.toggleInput.bind(Pr(n)),n.state={value:null!=e.value?n.formatPrecision(e.value):n.formatPrecision(e.min),isInput:!1,tempValue:null},n}var n,r,a;return 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&&Mr(e,t)}(t,e),n=t,(r=[{key:"UNSAFE_componentWillReceiveProps",value:function(e){null!=e.value&&e.value!==this.state.value&&this.setState({value:this.formatPrecision(e.value)})}},{key:"formatPrecision",value:function(e){return Number(Number(e.toPrecision(this.props.precision)))}},{key:"setValue",value:function(e){if(null!=e&&e>=this.props.min&&e<=this.props.max){var t=this.formatPrecision(e);this.setState({value:t}),this.props.setProps&&this.props.setProps({value:t})}}},{key:"toggleInput",value:function(){if(!this.props.disabled){var e=!this.state.isInput;this.setState({isInput:e}),e&&this.setState({tempValue:this.state.value})}}},{key:"setTempValue",value:function(e){this.setState({tempValue:e})}},{key:"blur",value:function(){null!=this.state.tempValue&&this.setValue(this.state.tempValue),this.setState({tempValue:null}),this.toggleInput()}},{key:"render",value:function(){var e=this.props,t=e.size,n=e.theme,r={background:"none",boxShadow:"none",border:"none",color:n.secondary,cursor:"pointer"},a=this.state.value?16-2*this.state.value.toString().length:16,i=Math.max(a,10),s={borderRadius:3,border:n.dark?"none":"1px solid ".concat(l.c.GREY),outline:"none",paddingRight:i,paddingLeft:i,paddingTop:4,paddingBottom:4,width:t||56+20*this.props.precision,height:36,color:n.dark?"#fff":l.c.OFF_WHITE,fontSize:14,lineHeight:14,boxSizing:"border-box"},c=o.a.createElement(Tn.a,{autoFocus:!0,disabled:this.props.disabled,style:{input:s,"input:not(.form-control)":s,btn:r,"btn:hover":r,"btn:active":r,"input:disabled":{opacity:.65,cursor:"not-allowed"}},min:this.props.min,max:this.props.max,value:this.state.tempValue,onChange:this.setTempValue,onBlur:this.blur}),u=o.a.createElement(Rr,{value:this.state.value,size:this.props.size,onClick:this.toggleInput});return o.a.createElement("div",{id:this.props.id,className:this.props.className,style:Object.assign({},Ir,this.props.style)},o.a.createElement(Y.a,this.props,this.state.isInput?c:u))}}])&&_r(n.prototype,r),a&&_r(n,a),t}(r.Component),Tr=function(e){if("-"===e[0]){e.shift();var t=e.shift();e.unshift("-".concat(t))}return e},Rr=function(e){var t=e.value,n=e.onClick,r=e.size,a=Sr(function(e){return Number(e).toExponential().replace("+","")}(t).split("e"),2),i=a[0],s=a[1],l=Tr(i.split("")),c=Tr(s.split(""));return o.a.createElement(yr,{size:r,onClick:n},l.map((function(e,t){return o.a.createElement(wr,{key:"d".concat(t)},e)})),o.a.createElement(Cr,null,"E"),c.map((function(e,t){return o.a.createElement(Cr,{key:"e".concat(t)},e)})))};Dr.defaultProps={min:0,max:Number.MAX_SAFE_INTEGER,theme:l.e,labelPosition:"top",precision:2},Dr.propTypes={id:i.a.string,value:i.a.number,size:i.a.number,min:i.a.number,max:i.a.number,precision:i.a.number.isRequired,disabled:i.a.bool,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var Lr=Object(s.d)(Dr);function Nr(){var e=Hr(["\n  display: inline-flex;\n  justify-content: center;\n  width: ",";\n  height: ",";\n  line-height: ",";\n\n  &::before,\n  &::after {\n    transition: all 0.1s ease-in;\n    background-color: #e03a3a;\n  }\n\n  &:hover::before,\n  &:hover::after {\n    background-color: #e64545;\n  }\n\n  &:active::before,\n  &:active::after {\n    background-color: #c72121;\n  }\n\n  &:hover::after,\n  &:active::after,\n  &:focus::after {\n    box-shadow: none;\n  }\n"]);return Nr=function(){return e},e}function zr(){var e=Hr(["\n  display: block;\n  box-sizing: border-box;\n  color: white;\n  border: none;\n  border-radius: 2px;\n  font-weight: bold;\n  font-size: 12px;\n  text-transform: uppercase;\n  padding: 0;\n  width: ",";\n  height: ",";\n  text-align: center;\n  cursor: pointer;\n  background-color: #ff5e5e;\n  letter-spacing: 0.1;\n  line-height: 1;\n\n  &:hover,\n  &:focus,\n  &:active {\n    color: #fff;\n  }\n\n  &:hover {\n    background-color: #ff8585;\n  }\n\n  &:active {\n    background-color: #e64545;\n  }\n"]);return zr=function(){return e},e}function Fr(){var e=Hr(["\n  outline: none;\n  transition: all 0.1s ease-in;\n  ",";\n\n  &:disabled {\n    opacity: ",";\n    cursor: not-allowed;\n  }\n"]);return Fr=function(){return e},e}function Hr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Br=s.c.button(Fr(),(function(e){return e.theme.dark?Ur:Gr}),(function(e){return e.theme.dark?1:.65}));Br.defaultProps={theme:l.e};var Gr=Object(s.b)(zr(),(function(e){var t=e.size;return"".concat(t,"px")}),(function(e){var t=e.size;return"".concat(.42*t,"px")})),Ur=Object(s.b)(Nr(),(function(e){var t=e.size;return"".concat(t,"px")}),(function(e){var t=e.size;return"".concat(.42*t,"px")}),(function(e){var t=e.size;return"".concat(.42*t,"px")})),Vr=function(e){return o.a.createElement("div",{id:e.id,className:e.className,style:e.style},o.a.createElement(Y.a,e,o.a.createElement(Br,{size:e.size,disabled:e.disabled,onClick:function(){e.setProps&&e.setProps({n_clicks:e.n_clicks+1})}},e.children||e.buttonText)))};Vr.defaultProps={buttonText:"Stop",n_clicks:0,size:92,labelPosition:"top"},Vr.propTypes={id:i.a.string,size:i.a.number,buttonText:i.a.string,n_clicks:i.a.number,disabled:i.a.bool,children:i.a.node,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,style:i.a.object,setProps:i.a.func};var Wr=Vr,$r=n(16);function Yr(){var e=ao(["\n          margin-top: 8px;\n          margin-left: ",";\n        "]);return Yr=function(){return e},e}function qr(){var e=ao(["\n  display: flex;\n  flex-direction: row;\n\n  ",";\n"]);return qr=function(){return e},e}function Xr(){var e=ao(["\n          position: absolute;\n          bottom: ",";\n        "]);return Xr=function(){return e},e}function Kr(){var e=ao(["\n  "," display: flex;\n  align-items: center;\n  justify-content: flex-end;\n  height: 18px;\n\n  & .label {\n    font-size: 12px;\n    text-align: right;\n    margin-right: 4px;\n    white-space: nowrap;\n  }\n\n  & .tick {\n    height: 1px;\n    width: ","px;\n    background: ",";\n  }\n"]);return Kr=function(){return e},e}function Jr(){var e=ao(["\n      direction: rtl;\n    "]);return Jr=function(){return e},e}function Zr(){var e=ao(["\n  position: relative;\n  "," display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  margin-right: 4px;\n  margin-top: -6px;\n  margin-bottom: -6px;\n"]);return Zr=function(){return e},e}function Qr(){var e=ao(["\n  background: ",";\n"]);return Qr=function(){return e},e}function eo(){var e=ao(["\n  background: ",";\n  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 30%, rgba(255, 255, 255, 0.7) 100%);\n  background-blend-mode: overlay;\n  box-shadow: 0 0 6px 1px\n    ",";\n"]);return eo=function(){return e},e}function to(){var e=ao(["\n  position: absolute;\n  bottom: 0;\n  width: 100%;\n  height: ",";\n\n  border-radius: ",";\n\n  ",";\n"]);return to=function(){return e},e}function no(){var e=ao(["\n  background: ",";\n"]);return no=function(){return e},e}function ro(){var e=ao(["\n  background-color: #22272a;\n  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);\n  box-shadow: inset 0 0 8px -1px rgba(0, 0, 0, 0.7), inset 0 0 4px 0 rgba(0, 0, 0, 0.8),\n    -1px -1px 0px 0px rgba(0, 0, 0, 0.8), 1px 1px 0px 0px rgba(255, 255, 255, 0.1);\n"]);return ro=function(){return e},e}function oo(){var e=ao(["\n  position: relative;\n  width: ",";\n  height: ",";\n  z-index: 2;\n  border-radius: ",";\n\n  ",";\n"]);return oo=function(){return e},e}function ao(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var io=s.c.div(oo(),(function(e){var t=e.width;return"".concat(t,"px")}),(function(e){var t=e.height;return"".concat(t,"px")}),(function(e){return e.thermometer?"40px":"0"}),(function(e){return e.theme.dark?so:lo}));io.defaultProps={theme:l.e};var so=Object(s.b)(ro()),lo=Object(s.b)(no(),(function(e){return e.theme.secondary})),co=s.c.div(to(),(function(e){return e.height||0}),(function(e){return e.thermometer?"40px":"0"}),(function(e){return e.theme.dark?uo:fo}));co.defaultProps={theme:l.e};var uo=Object(s.b)(eo(),(function(e){var t=e.color,n=e.theme;return t||n.primary}),(function(e){var t=e.color,n=e.theme;return Gt()(t||n.primary).alpha(.7).string()})),fo=Object(s.b)(Qr(),(function(e){var t=e.color,n=e.theme;return t||n.primary})),po=s.c.div(Zr(),(function(e){return e.xPositioned&&Object(s.b)(Jr())})),ho=s.c.div(Kr(),(function(e){var t=e.xPosition;return t||0===t?Object(s.b)(Xr(),"calc(".concat(t,"% - ").concat(t/100*18,"px)")):""}),(function(e){return e.width||4}),(function(e){return e.theme.detail}));ho.defaultProps={theme:l.e};var mo=s.c.div(qr(),(function(e){return e.thermometer?Object(s.b)(Yr(),(function(e){return e.xPositioned?"-4px":"-24px"})):""}));function bo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function go(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 vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yo=function(e){var t=e.min,n=e.max,r=e.showCurrentValue,a=e.units,i=e.className,s=e.id,l=e.style,c=e.color,u=e.logarithmic,f=e.base,p=e.height,d=e.width,h=u?Ye.compute(e.value,f):e.value,m=be({min:t,max:n,value:h}),b=ge({min:t,max:n,value:m}),g=Ze(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(n,!0).forEach((function(t){vo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{formatter:u?Ye.generateLogFormatter({base:f}):null})),v=o.a.createElement(po,{xPositioned:g},Object.entries(g).map((function(e){var r=bo(e,2),a=r[0],i=r[1];return o.a.createElement(ho,{key:a,xPosition:ge({min:t,max:n,value:a})},o.a.createElement("div",{className:"tick"}),o.a.createElement("div",{className:"label"},o.a.createElement("div",{style:i&&i.style?i.style:null},i&&i.label||i)))}))),y=o.a.createElement(Ve,{units:a,valueColor:"#535D63"},u?Ye.formatValue(m,f):m);return o.a.createElement("div",{className:i,id:s,style:l},o.a.createElement(Y.a,e,o.a.createElement(mo,null,v,o.a.createElement(io,{height:p,width:d},o.a.createElement(co,{color:c,height:"".concat(b,"%")}),r&&y))))};yo.defaultProps={min:0,max:10,height:192,width:112,base:10,labelPosition:"top"},yo.propTypes={id:i.a.string,value:i.a.number,height:i.a.number,width:i.a.number,color:i.a.string,min:i.a.number,max:i.a.number,base:i.a.number,logarithmic:i.a.bool,showCurrentValue:i.a.bool,units:i.a.string,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),scale:i.a.shape({start:i.a.number,interval:i.a.number,labelInterval:i.a.number,custom:i.a.oneOfType([i.a.number,i.a.shape({style:i.a.string,label:i.a.string})])}),className:i.a.string,style:i.a.object};var xo=yo;function ko(){var e=Oo(["\n  display: flex;\n  width: 100%;\n  flex-direction: column;\n  align-items: center;\n  text-align: center;\n\n  & > div {\n    margin-top: 56px;\n    line-height: 28px;\n  }\n"]);return ko=function(){return e},e}function wo(){var e=Oo(["\n  width: ","px;\n  height: ","px;\n  border-radius: 50%;\n  background-color: ",";\n  position: absolute;\n  left: 50%;\n  transform: translateX(-50%);\n  bottom: -","px;\n  z-index: -1;\n"]);return wo=function(){return e},e}function Eo(){var e=Oo(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n"]);return Eo=function(){return e},e}function Oo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Co=s.c.div(Eo()),So=s.c.div(wo(),30,30,(function(e){return e.on?e.color||e.theme.primary:e.theme.secondary}),20);So.defaultProps={theme:l.e};var jo=s.c.div(ko());function _o(){return(_o=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 Ao(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Po(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 Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}jo.defaultProps={theme:l.e};var Io=function(e){var t=e.min,n=e.max,r=e.id,a=e.className,i=e.style,s=e.logarithmic,l=e.base,c=e.showCurrentValue,u=e.units,f=e.theme,p=e.color,d=e.height,h=e.width,m=s?Ye.compute(e.value,l):e.value,b=be({min:t,max:n,value:m}),g=Ze(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Po(n,!0).forEach((function(t){Mo(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Po(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{formatter:s?Ye.generateLogFormatter({base:l}):null})),v=o.a.createElement(po,{xPositioned:g},Object.entries(g).map((function(e){var r=Ao(e,2),a=r[0],i=r[1];return o.a.createElement(ho,{key:a,xPosition:ge({min:t,max:n,value:a})},o.a.createElement("div",{className:"tick"}),o.a.createElement("div",{className:"label",style:i&&i.style?i.style:null},i&&i.label||i))}))),y=o.a.createElement(jo,null,o.a.createElement(Ve,{valueColor:p,units:u,css:"top: 0;"},s?Ye.formatValue(b,l):b.toFixed(1)));return o.a.createElement("div",{id:r,className:a,style:i},o.a.createElement(Y.a,_o({},e,{labelCSS:"top"===e.labelPosition?null:"transform: translateY(-30px);"}),o.a.createElement(Co,null,o.a.createElement(mo,{thermometer:!0,xPositioned:g},v,o.a.createElement(io,{thermometer:!0,height:d,width:h},o.a.createElement(co,{thermometer:!0,color:p,height:"".concat(ge({min:t,max:n,value:b}),"%")}),f.dark?null:o.a.createElement(So,{on:b!==t,color:p}))),c&&y)))};Io.defaultProps={min:0,max:10,height:192,width:20,base:10,labelPosition:"top",theme:l.e},Io.propTypes={id:i.a.string,value:i.a.number,height:i.a.number,width:i.a.number,color:i.a.string,min:i.a.number,max:i.a.number,base:i.a.number,logarithmic:i.a.bool,showCurrentValue:i.a.bool,units:i.a.string,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),scale:i.a.shape({start:i.a.number,interval:i.a.number,labelInterval:i.a.number,custom:i.a.oneOfType([i.a.number,i.a.shape({style:i.a.string,label:i.a.string})])}),className:i.a.string,style:i.a.object};var Do=Object(s.d)(Io);function To(e){return o.a.createElement(s.a,{theme:e.theme||l.d},o.a.createElement("div",null,e.children))}To.propTypes={children:i.a.oneOfType([i.a.arrayOf(i.a.node),i.a.node]),theme:i.a.shape({primary:i.a.string,secondary:i.a.string,detail:i.a.string,dark:i.a.bool})};var Ro=To,Lo=n(22),No=n.n(Lo);function zo(e){return(zo="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 Fo(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 Ho(e,t){return!t||"object"!==zo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Bo(e){return(Bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Go(e,t){return(Go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Uo=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=Ho(this,Bo(t).call(this,e))).lastAngle=0,n}var n,r,a;return 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&&Go(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.size,r=t.setProps;this.manager=No.a.create({mode:"static",color:"grey",size:n,position:{left:"50%",top:"50%"},zone:this.zoneRef}),this.manager.on("move",(function(t,n){var o=n.angle.degree,a=n.force;e.lastAngle=o,r&&r({angle:o,force:a})})),this.manager.on("end",(function(){r&&r({angle:e.lastAngle,force:0})}))}},{key:"componentWillUnmount",value:function(){this.manager.destroy()}},{key:"render",value:function(){var e=this,t=this.props,n=t.id,r=t.className,a=t.style,i=t.size;return o.a.createElement("div",{id:n,className:r,style:a},o.a.createElement(Y.a,this.props,o.a.createElement("div",{ref:function(t){return e.zoneRef=t},style:{position:"relative",width:i+"px",height:i+"px"}})))}}])&&Fo(n.prototype,r),a&&Fo(n,a),t}(r.Component);Uo.defaultProps={size:100,theme:l.e,labelPosition:"top"},Uo.propTypes={id:i.a.string,disabled:i.a.bool,angle:i.a.number,force:i.a.number,size:i.a.number,theme:i.a.object,label:i.a.oneOfType([i.a.string,i.a.shape({style:i.a.object,label:i.a.string})]),labelPosition:i.a.oneOf(["top","bottom"]),className:i.a.string,setProps:i.a.func,style:i.a.object};var Vo=Object(s.d)(Uo);n.d(t,"BooleanSwitch",(function(){return ue})),n.d(t,"ColorPicker",(function(){return fe.a})),n.d(t,"Gauge",(function(){return ut})),n.d(t,"GraduatedBar",(function(){return Ht})),n.d(t,"Indicator",(function(){return Vt})),n.d(t,"Knob",(function(){return fn})),n.d(t,"LEDDisplay",(function(){return In})),n.d(t,"NumericInput",(function(){return Bn})),n.d(t,"PowerButton",(function(){return lr})),n.d(t,"PrecisionInput",(function(){return Lr})),n.d(t,"StopButton",(function(){return Wr})),n.d(t,"Slider",(function(){return $r.a})),n.d(t,"Tank",(function(){return xo})),n.d(t,"Thermometer",(function(){return Do})),n.d(t,"ToggleSwitch",(function(){return ne})),n.d(t,"DarkThemeProvider",(function(){return Ro})),n.d(t,"Joystick",(function(){return Vo}))},function(e,t){e.exports=window.ReactDOM}]);
  //# sourceMappingURL=dash_daq.min.js.map