mirror of
https://github.com/atisawd/boxicons.git
synced 2024-11-13 19:04:52 +01:00
10 lines
No EOL
221 KiB
JavaScript
10 lines
No EOL
221 KiB
JavaScript
webpackJsonp([3],Array(492).concat([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var a=n(593),o=r(a),i=n(666),l=r(i),s=n(691),u=r(s),c=n(692),f=r(c),d=n(693),p=r(d),h=n(694),b=r(h);t.hover=f.default,t.handleHover=f.default,t.handleActive=p.default,t.loop=b.default;var g=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=(0,o.default)(n),i=(0,l.default)(e,a);return(0,u.default)(i)};t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(695);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(a).default}});var o=n(563);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(o).default}});var i=n(698);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(i).default}});var l=n(699);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(l).default}});var s=n(701);Object.defineProperty(t,"Raised",{enumerable:!0,get:function(){return r(s).default}});var u=n(702);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(u).default}});var c=n(565);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(c).default}});var f=n(710);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(f).default}})},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){var r=n(534),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var a=n(707),o=r(a),i=n(709),l=r(i);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","l","v"],n=0,r=0;return(0,o.default)(t,function(t){if(e[t]&&(n+=1,isNaN(e[t])||(r+=1),"s"===t||"l"===t)){/^\d+%$/.test(e[t])&&(r+=1)}}),n===r&&e},toState:function(e,t){var n=e.hex?(0,l.default)(e.hex):(0,l.default)(e),r=n.toHsl(),a=n.toHsv(),o=n.toRgb(),i=n.toHex();return 0===r.s&&(r.h=t||0,a.h=t||0),{hsl:r,hex:"000000"===i&&0===o.a?"transparent":"#"+i,rgb:o,hsv:a,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&(0,l.default)(e).isValid()},getContrastingColor:function(e){if(!e)return"#fff";var t=this.toState(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){function r(e,t){return(l(e)?a:i)(e,o(t,3))}var a=n(544),o=n(606),i=n(664),l=n(494);e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?s:l:u&&u in Object(e)?o(e):i(e)}var a=n(503),o=n(595),i=n(596),l="[object Null]",s="[object Undefined]",u=a?a.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=o(e,t);return a(n)?n:void 0}var a=n(619),o=n(622);e.exports=r},,function(e,t,n){var r=n(495),a=r.Symbol;e.exports=a},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(536),o=n(603),i=n(505);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(541),o=n(522);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(609),o=n(610),i=n(611),l=n(612),s=n(613);r.prototype.clear=a,r.prototype.delete=o,r.prototype.get=i,r.prototype.has=l,r.prototype.set=s,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(528);e.exports=r},function(e,t,n){var r=n(501),a=r(Object,"create");e.exports=a},function(e,t,n){function r(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}var a=n(631);e.exports=r},function(e,t,n){var r=n(646),a=n(529),o=n(647),i=n(648),l=n(649),s=n(500),u=n(545),c=u(r),f=u(a),d=u(o),p=u(i),h=u(l),b=s;(r&&"[object DataView]"!=b(new r(new ArrayBuffer(1)))||a&&"[object Map]"!=b(new a)||o&&"[object Promise]"!=b(o.resolve())||i&&"[object Set]"!=b(new i)||l&&"[object WeakMap]"!=b(new l))&&(b=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case d:return"[object Promise]";case p:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=b},function(e,t,n){function r(e){return"symbol"==typeof e||o(e)&&a(e)==i}var a=n(500),o=n(497),i="[object Symbol]";e.exports=r},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(511),o=1/0;e.exports=r},function(e,t,n){function r(e,t,n,r){var i=!n;n||(n={});for(var l=-1,s=t.length;++l<s;){var u=t[l],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),i?o(n,u,c):a(n,u,c)}return n}var a=n(559),o=n(560);e.exports=r},function(e,t,n){!function(e){"object"==typeof window&&window||"object"==typeof self&&self;e(t)}(function(e){function t(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function n(e){return e.nodeName.toLowerCase()}function r(e,t){var n=e&&e.exec(t);return n&&0===n.index}function a(e){return S.test(e)}function o(e){var t,n,r,o,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",n=O.exec(i))return w(n[1])?n[1]:"no-highlight";for(i=i.split(/\s+/),t=0,r=i.length;t<r;t++)if(o=i[t],a(o)||w(o))return o}function i(e){var t,n={},r=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return r.forEach(function(e){for(t in e)n[t]=e[t]}),n}function l(e){var t=[];return function e(r,a){for(var o=r.firstChild;o;o=o.nextSibling)3===o.nodeType?a+=o.nodeValue.length:1===o.nodeType&&(t.push({event:"start",offset:a,node:o}),a=e(o,a),n(o).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:o}));return a}(e,0),t}function s(e,r,a){function o(){return e.length&&r.length?e[0].offset!==r[0].offset?e[0].offset<r[0].offset?e:r:"start"===r[0].event?e:r:e.length?e:r}function i(e){function r(e){return" "+e.nodeName+'="'+t(e.value).replace('"',""")+'"'}c+="<"+n(e)+_.map.call(e.attributes,r).join("")+">"}function l(e){c+="</"+n(e)+">"}function s(e){("start"===e.event?i:l)(e.node)}for(var u=0,c="",f=[];e.length||r.length;){var d=o();if(c+=t(a.substring(u,d[0].offset)),u=d[0].offset,d===e){f.reverse().forEach(l);do{s(d.splice(0,1)[0]),d=o()}while(d===e&&d.length&&d[0].offset===u);f.reverse().forEach(i)}else"start"===d[0].event?f.push(d[0].node):f.pop(),s(d.splice(0,1)[0])}return c+t(a.substr(u))}function u(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(t){return i(e,{variants:null},t)})),e.cached_variants||e.endsWithParent&&[i(e)]||[e]}function c(e){function t(e){return e&&e.source||e}function n(n,r){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(r?"g":""))}function r(a,o){if(!a.compiled){if(a.compiled=!0,a.keywords=a.keywords||a.beginKeywords,a.keywords){var i={},l=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach(function(e){var n=e.split("|");i[n[0]]=[t,n[1]?Number(n[1]):1]})};"string"==typeof a.keywords?l("keyword",a.keywords):E(a.keywords).forEach(function(e){l(e,a.keywords[e])}),a.keywords=i}a.lexemesRe=n(a.lexemes||/\w+/,!0),o&&(a.beginKeywords&&(a.begin="\\b("+a.beginKeywords.split(" ").join("|")+")\\b"),a.begin||(a.begin=/\B|\b/),a.beginRe=n(a.begin),a.end||a.endsWithParent||(a.end=/\B|\b/),a.end&&(a.endRe=n(a.end)),a.terminator_end=t(a.end)||"",a.endsWithParent&&o.terminator_end&&(a.terminator_end+=(a.end?"|":"")+o.terminator_end)),a.illegal&&(a.illegalRe=n(a.illegal)),null==a.relevance&&(a.relevance=1),a.contains||(a.contains=[]),a.contains=Array.prototype.concat.apply([],a.contains.map(function(e){return u("self"===e?a:e)})),a.contains.forEach(function(e){r(e,a)}),a.starts&&r(a.starts,o);var s=a.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([a.terminator_end,a.illegal]).map(t).filter(Boolean);a.terminators=s.length?n(s.join("|"),!0):{exec:function(){return null}}}}r(e)}function f(e,n,a,o){function i(e,t){var n,a;for(n=0,a=t.contains.length;n<a;n++)if(r(t.contains[n].beginRe,e))return t.contains[n]}function l(e,t){if(r(e.endRe,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.endsWithParent)return l(e.parent,t)}function s(e,t){return!a&&r(t.illegalRe,e)}function u(e,t){var n=m.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function p(e,t,n,r){var a=r?"":P.classPrefix,o='<span class="'+a,i=n?"":A;return(o+=e+'">')+t+i}function h(){var e,n,r,a;if(!_.keywords)return t(S);for(a="",n=0,_.lexemesRe.lastIndex=0,r=_.lexemesRe.exec(S);r;)a+=t(S.substring(n,r.index)),e=u(_,r),e?(O+=e[1],a+=p(e[0],t(r[0]))):a+=t(r[0]),n=_.lexemesRe.lastIndex,r=_.lexemesRe.exec(S);return a+t(S.substr(n))}function b(){var e="string"==typeof _.subLanguage;if(e&&!k[_.subLanguage])return t(S);var n=e?f(_.subLanguage,S,!0,E[_.subLanguage]):d(S,_.subLanguage.length?_.subLanguage:void 0);return _.relevance>0&&(O+=n.relevance),e&&(E[_.subLanguage]=n.top),p(n.language,n.value,!1,!0)}function g(){C+=null!=_.subLanguage?b():h(),S=""}function v(e){C+=e.className?p(e.className,"",!0):"",_=Object.create(e,{parent:{value:_}})}function x(e,t){if(S+=e,null==t)return g(),0;var n=i(t,_);if(n)return n.skip?S+=t:(n.excludeBegin&&(S+=t),g(),n.returnBegin||n.excludeBegin||(S=t)),v(n,t),n.returnBegin?0:t.length;var r=l(_,t);if(r){var a=_;a.skip?S+=t:(a.returnEnd||a.excludeEnd||(S+=t),g(),a.excludeEnd&&(S=t));do{_.className&&(C+=A),_.skip||(O+=_.relevance),_=_.parent}while(_!==r.parent);return r.starts&&v(r.starts,""),a.returnEnd?0:t.length}if(s(t,_))throw new Error('Illegal lexeme "'+t+'" for mode "'+(_.className||"<unnamed>")+'"');return S+=t,t.length||1}var m=w(e);if(!m)throw new Error('Unknown language: "'+e+'"');c(m);var y,_=o||m,E={},C="";for(y=_;y!==m;y=y.parent)y.className&&(C=p(y.className,"",!0)+C);var S="",O=0;try{for(var j,M,R=0;;){if(_.terminators.lastIndex=R,!(j=_.terminators.exec(n)))break;M=x(n.substring(R,j.index),j[0]),R=j.index+M}for(x(n.substr(R)),y=_;y.parent;y=y.parent)y.className&&(C+=A);return{relevance:O,value:C,language:e,top:_}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:t(n)};throw e}}function d(e,n){n=n||P.languages||E(k);var r={relevance:0,value:t(e)},a=r;return n.filter(w).forEach(function(t){var n=f(t,e,!1);n.language=t,n.relevance>a.relevance&&(a=n),n.relevance>r.relevance&&(a=r,r=n)}),a.language&&(r.second_best=a),r}function p(e){return P.tabReplace||P.useBR?e.replace(j,function(e,t){return P.useBR&&"\n"===e?"<br>":P.tabReplace?t.replace(/\t/g,P.tabReplace):""}):e}function h(e,t,n){var r=t?C[t]:n,a=[e.trim()];return e.match(/\bhljs\b/)||a.push("hljs"),-1===e.indexOf(r)&&a.push(r),a.join(" ").trim()}function b(e){var t,n,r,i,u,c=o(e);a(c)||(P.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,u=t.textContent,r=c?f(c,u,!0):d(u),n=l(t),n.length&&(i=document.createElementNS("http://www.w3.org/1999/xhtml","div"),i.innerHTML=r.value,r.value=s(n,l(i),u)),r.value=p(r.value),e.innerHTML=r.value,e.className=h(e.className,c,r.language),e.result={language:r.language,re:r.relevance},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.relevance}))}function g(e){P=i(P,e)}function v(){if(!v.called){v.called=!0;var e=document.querySelectorAll("pre code");_.forEach.call(e,b)}}function x(){addEventListener("DOMContentLoaded",v,!1),addEventListener("load",v,!1)}function m(t,n){var r=k[t]=n(e);r.aliases&&r.aliases.forEach(function(e){C[e]=t})}function y(){return E(k)}function w(e){return e=(e||"").toLowerCase(),k[e]||k[C[e]]}var _=[],E=Object.keys,k={},C={},S=/^(no-?highlight|plain|text)$/i,O=/\blang(?:uage)?-([\w-]+)\b/i,j=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,A="</span>",P={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=f,e.highlightAuto=d,e.fixMarkup=p,e.highlightBlock=b,e.configure=g,e.initHighlighting=v,e.initHighlightingOnLoad=x,e.registerLanguage=m,e.listLanguages=y,e.getLanguage=w,e.inherit=i,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,r){var a=e.inherit({className:"comment",begin:t,end:n,contains:[]},r||{});return a.contains.push(e.PHRASAL_WORDS_MODE),a.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),a},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0},e})},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n.hljs {\n display: block;\n overflow-x: auto;\n color: #313133;\n background: ",";\n padding: 0.7em;\n font-size: 14px;\n border-radius: 0px; \n }\n\n.hljs-doctag, .hljs-keyword, .hljs-formula {\n color: #a626a4;\n}\n\n.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {\n color: #2f6f9f;\n}\n\n.hljs-literal {\n color: #0184bb;\n}\n\n.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {\n color: #d44950;\n}\n\n.hljs-built_in, .hljs-class .hljs-title {\n color: #c18401;\n}\n\n.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {\n color: #4f9fcf;\n}\n\n.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {\n color: #099;\n}\n\n\n\n.hljs-comment, .hljs-quote {\n color: #a0a1a7;\n font-style: italic;\n}\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n\n.hljs-link {\n text-decoration: underline;\n}\n "],["\n.hljs {\n display: block;\n overflow-x: auto;\n color: #313133;\n background: ",";\n padding: 0.7em;\n font-size: 14px;\n border-radius: 0px; \n }\n\n.hljs-doctag, .hljs-keyword, .hljs-formula {\n color: #a626a4;\n}\n\n.hljs-section, .hljs-name, .hljs-selector-tag, .hljs-deletion, .hljs-subst {\n color: #2f6f9f;\n}\n\n.hljs-literal {\n color: #0184bb;\n}\n\n.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string {\n color: #d44950;\n}\n\n.hljs-built_in, .hljs-class .hljs-title {\n color: #c18401;\n}\n\n.hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number {\n color: #4f9fcf;\n}\n\n.hljs-symbol, .hljs-bullet, .hljs-link, .hljs-meta, .hljs-selector-id, .hljs-title {\n color: #099;\n}\n\n\n\n.hljs-comment, .hljs-quote {\n color: #a0a1a7;\n font-style: italic;\n}\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n\n.hljs-link {\n text-decoration: underline;\n}\n "]),a=n(48),o=function(e){return e&&e.__esModule?e:{default:e}}(a),i=n(47),l=o.default.pre(r,i.LIGHT_BACKGROUND);t.default=l},function(e,t){e.exports=function(e){var t={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"<!DOCTYPE",end:">",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0}]},{className:"tag",begin:"<style(?=\\s|>|$)",end:">",keywords:{name:"style"},contains:[t],starts:{end:"</style>",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>|$)",end:">",keywords:{name:"script"},contains:[t],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"meta",variants:[{begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?\w+/,end:/\?>/}]},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},t]}]}}},function(e,t,n){function r(e,t){return e&&a(e,o(t))}var a=n(535),o=n(542);e.exports=r},function(e,t,n){(function(e){var r=n(495),a=n(601),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===o,s=l?r.Buffer:void 0,u=s?s.isBuffer:void 0,c=u||a;e.exports=c}).call(t,n(521)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(534),a="object"==typeof t&&t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,l=i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=s}).call(t,n(521)(e))},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){var r=n(540),a=r(Object.getPrototypeOf,Object);e.exports=a},function(e,t,n){function r(e){var t=this.__data__=new a(e);this.size=t.size}var a=n(506),o=n(614),i=n(615),l=n(616),s=n(617),u=n(618);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=l,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var r=n(501),a=n(495),o=r(a,"Map");e.exports=o},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(623),o=n(630),i=n(632),l=n(633),s=n(634);r.prototype.clear=a,r.prototype.delete=o,r.prototype.get=i,r.prototype.has=l,r.prototype.set=s,e.exports=r},function(e,t,n){var r=n(645),a=n(552),o=Object.prototype,i=o.propertyIsEnumerable,l=Object.getOwnPropertySymbols,s=l?function(e){return null==e?[]:(e=Object(e),r(l(e),function(t){return i.call(e,t)}))}:a;e.exports=s},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(l.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(494),o=n(511),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=r},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new a(t).set(new a(e)),t}var a=n(548);e.exports=r},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(59))},function(e,t,n){function r(e,t){return e&&a(e,t,o)}var a=n(597),o=n(504);e.exports=r},function(e,t,n){function r(e,t){var n=i(e),r=!n&&o(e),c=!n&&!r&&l(e),d=!n&&!r&&!c&&u(e),p=n||r||c||d,h=p?a(e.length,String):[],b=h.length;for(var g in e)!t&&!f.call(e,g)||p&&("length"==g||c&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,b))||h.push(g);return h}var a=n(599),o=n(537),i=n(494),l=n(520),s=n(538),u=n(539),c=Object.prototype,f=c.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(600),a=n(497),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){var r=n(602),a=n(523),o=n(524),i=o&&o.isTypedArray,l=i?a(i):r;e.exports=l},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function r(e){if(!o(e))return!1;var t=a(e);return t==l||t==s||t==i||t==u}var a=n(500),o=n(498),i="[object AsyncFunction]",l="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:a}var a=n(543);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){function n(e){if(null!=e){try{return a.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,a=r.toString;e.exports=n},function(e,t,n){function r(e,t,n,i,l){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:a(e,t,n,i,r,l))}var a=n(635),o=n(497);e.exports=r},function(e,t,n){function r(e,t,n,r,u,c){var f=n&l,d=e.length,p=t.length;if(d!=p&&!(f&&p>d))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var b=-1,g=!0,v=n&s?new a:void 0;for(c.set(e,t),c.set(t,e);++b<d;){var x=e[b],m=t[b];if(r)var y=f?r(m,x,b,t,e,c):r(x,m,b,e,t,c);if(void 0!==y){if(y)continue;g=!1;break}if(v){if(!o(t,function(e,t){if(!i(v,t)&&(x===e||u(x,e,n,r,c)))return v.push(t)})){g=!1;break}}else if(x!==m&&!u(x,m,n,r,c)){g=!1;break}}return c.delete(e),c.delete(t),g}var a=n(636),o=n(639),i=n(640),l=1,s=2;e.exports=r},function(e,t,n){var r=n(495),a=r.Uint8Array;e.exports=a},function(e,t,n){function r(e){return a(e,i,o)}var a=n(550),o=n(531),i=n(504);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(551),o=n(494);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){return e===e&&!a(e)}var a=n(498);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e,t){t=a(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}var a=n(556),o=n(512);e.exports=r},function(e,t,n){function r(e,t){return a(e)?e:o(e,t)?[e]:i(l(e))}var a=n(494),o=n(532),i=n(653),l=n(656);e.exports=r},function(e,t,n){var r=n(535),a=n(665),o=a(r);e.exports=o},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){function r(e,t,n){var r=e[t];l.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}var a=n(560),o=n(528),i=Object.prototype,l=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n){"__proto__"==t&&a?a(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var a=n(669);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(536),o=n(672),i=n(505);e.exports=r},function(e,t,n){var r=n(551),a=n(526),o=n(531),i=n(552),l=Object.getOwnPropertySymbols,s=l?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(697),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),c=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,a=e.renderers,i=e.borderRadius,s=e.boxShadow,c=(0,l.default)({default:{grid:{borderRadius:i,boxShadow:s,absolute:"0px 0px 0px 0px",background:"url("+u.get(t,n,r,a.canvas)+") center left"}}});return o.default.createElement("div",{style:c.grid})};c.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=c},function(e,t,n){function r(e,t,n){function r(t){var n=x,r=m;return x=m=void 0,k=t,w=e.apply(r,n)}function c(e){return k=e,_=setTimeout(p,t),C?r(e):w}function f(e){var n=e-E,r=e-k,a=t-n;return S?u(a,y-r):a}function d(e){var n=e-E,r=e-k;return void 0===E||n>=t||n<0||S&&r>=y}function p(){var e=o();if(d(e))return h(e);_=setTimeout(p,f(e))}function h(e){return _=void 0,O&&x?r(e):(x=m=void 0,w)}function b(){void 0!==_&&clearTimeout(_),k=0,x=E=m=_=void 0}function g(){return void 0===_?w:h(o())}function v(){var e=o(),n=d(e);if(x=arguments,m=this,E=e,n){if(void 0===_)return c(E);if(S)return _=setTimeout(p,t),r(E)}return void 0===_&&(_=setTimeout(p,t)),w}var x,m,y,w,_,E,k=0,C=!1,S=!1,O=!0;if("function"!=typeof e)throw new TypeError(l);return t=i(t)||0,a(n)&&(C=!!n.leading,S="maxWait"in n,y=S?s(i(n.maxWait)||0,t):y,O="trailing"in n?!!n.trailing:O),v.cancel=b,v.flush=g,v}var a=n(498),o=n(704),i=n(705),l="Expected a function",s=Math.max,u=Math.min;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var l=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},s=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}}(),u=n(5),c=r(u),f=n(564),d=r(f),p=n(496),h=r(p),b=t.ColorWrap=function(e){var t=function(t){function n(e){a(this,n);var t=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.handleChange=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,r,n),t.props.onChange&&t.props.onChange(r,n)}},t.handleSwatchHover=function(e,n){if(h.default.simpleCheckForValidColor(e)){var r=h.default.toState(e,e.h||t.state.oldHue);t.setState(r),t.props.onSwatchHover&&t.props.onSwatchHover(r,n)}},t.state=l({},h.default.toState(e.color,0)),t.debounce=(0,d.default)(function(e,t,n){e(t,n)},100),t}return i(n,t),s(n,[{key:"componentWillReceiveProps",value:function(e){this.setState(l({},h.default.toState(e.color,this.state.oldHue)))}},{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),c.default.createElement(e,l({},this.props,this.state,{onChange:this.handleChange},t))}}]),n}(u.PureComponent||u.Component);return t.propTypes=l({},e.propTypes),t.defaultProps=l({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),t};t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return a}),n.d(t,"purple",function(){return o}),n.d(t,"deepPurple",function(){return i}),n.d(t,"indigo",function(){return l}),n.d(t,"blue",function(){return s}),n.d(t,"lightBlue",function(){return u}),n.d(t,"cyan",function(){return c}),n.d(t,"teal",function(){return f}),n.d(t,"green",function(){return d}),n.d(t,"lightGreen",function(){return p}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return b}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return v}),n.d(t,"deepOrange",function(){return x}),n.d(t,"brown",function(){return m}),n.d(t,"grey",function(){return y}),n.d(t,"blueGrey",function(){return w}),n.d(t,"darkText",function(){return _}),n.d(t,"lightText",function(){return E}),n.d(t,"darkIcons",function(){return k}),n.d(t,"lightIcons",function(){return C}),n.d(t,"white",function(){return S}),n.d(t,"black",function(){return O});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},a={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},l={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},s={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},u={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},c={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},d={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},p={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},b={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},x={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},m={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},y={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},_={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},E={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},k={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},C={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},S="#ffffff",O="#000000";t.default={red:r,pink:a,purple:o,deepPurple:i,indigo:l,blue:s,lightBlue:u,cyan:c,teal:f,green:d,lightGreen:p,lime:h,yellow:b,amber:g,orange:v,deepOrange:x,brown:m,grey:y,blueGrey:w,darkText:_,lightText:E,darkIcons:k,lightIcons:C,white:S,black:O}},function(e,t,n){"use strict";var r=function(e){return e.cloneNode(!0)};t.a=r},function(e,t,n){"use strict";var r={};t.a=r},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}function l(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function s(e){return{opposite:e.opposite}}function u(e){return(0,w.bindActionCreators)({changeSideIcon:_.changeSideIcon,setSelectedIcon:_.setSelectedIcon,fetchIcon:_.fetchIcon},e)}Object.defineProperty(t,"__esModule",{value:!0});var c=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}}(),f=l(["\n background: #fff;\n color: ",";\n width: 24px;\n align-self: flex-start;\n padding-top: 3px;\n padding-left: 0px;\n pointer-events: auto;\n cursor: pointer;\n height: 21px;\n text-align: center;\n line-height: 18px;\n border-radius: 30px;\n position: absolute;\n right: 10px;\n top: 10px;\n i{\n font-size: 18px;\n }\n &:hover {\n background: ",";\n }\n &:active {\n background: #edefed;\n }\n @media screen and (max-width: ",") {\n top: 27px;\n right: 6px;}\n"],["\n background: #fff;\n color: ",";\n width: 24px;\n align-self: flex-start;\n padding-top: 3px;\n padding-left: 0px;\n pointer-events: auto;\n cursor: pointer;\n height: 21px;\n text-align: center;\n line-height: 18px;\n border-radius: 30px;\n position: absolute;\n right: 10px;\n top: 10px;\n i{\n font-size: 18px;\n }\n &:hover {\n background: ",";\n }\n &:active {\n background: #edefed;\n }\n @media screen and (max-width: ",") {\n top: 27px;\n right: 6px;}\n"]),d=l(["\n padding-top: 14px;\n pointer-events: auto;\n cursor: pointer; \n margin-bottom: 2px;\n display:flex;\n align-self: flex-end;\n .download-size {\n height: 36px;\n line-height: 36px;\n font-size: 13px;\n width: 100%;\n font-weight: 400;\n text-align: right;\n color: ",";\n .download-sizes{\n font-size: 13px;\n \n transition:0.15s;\n display: flex;\n background: #fff;\n padding: 5px 6px;\n right: 20px;\n position: absolute;\n bottom: 57px;\n \n z-index: 121212;\n overflow: hidden;\n \n border-radius: 5px;\n box-shadow: ",";\n .size {\n line-height: 30px;\n font-weight: 400;\n margin: 0px 10px;\n &.active {\n font-weight: 700;\n}\n}\n }\n .size-button {\n width: 65px;\n text-align: center;\n float: right;\n border-radius: 3px;\n &:hover {\n background: #f5f8fa;\n}\n&:active {\n background: #eee;\n}\n i{\ncolor: ",";\n }\n\n}\n }\n @media screen and (max-width: ",") {\n display: block;\n float: right;\n margin-top: 0px;\n margin-right: 25px;\n }\n a{\n \n margin:0px;\n margin-right:10px;\n \n }\n .button.icon-download {\n \n \n \n }\n\n"],["\n padding-top: 14px;\n pointer-events: auto;\n cursor: pointer; \n margin-bottom: 2px;\n display:flex;\n align-self: flex-end;\n .download-size {\n height: 36px;\n line-height: 36px;\n font-size: 13px;\n width: 100%;\n font-weight: 400;\n text-align: right;\n color: ",";\n .download-sizes{\n font-size: 13px;\n \n transition:0.15s;\n display: flex;\n background: #fff;\n padding: 5px 6px;\n right: 20px;\n position: absolute;\n bottom: 57px;\n \n z-index: 121212;\n overflow: hidden;\n \n border-radius: 5px;\n box-shadow: ",";\n .size {\n line-height: 30px;\n font-weight: 400;\n margin: 0px 10px;\n &.active {\n font-weight: 700;\n}\n}\n }\n .size-button {\n width: 65px;\n text-align: center;\n float: right;\n border-radius: 3px;\n &:hover {\n background: #f5f8fa;\n}\n&:active {\n background: #eee;\n}\n i{\ncolor: ",";\n }\n\n}\n }\n @media screen and (max-width: ",") {\n display: block;\n float: right;\n margin-top: 0px;\n margin-right: 25px;\n }\n a{\n \n margin:0px;\n margin-right:10px;\n \n }\n .button.icon-download {\n \n \n \n }\n\n"]),p=l(["\n flex: 1;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n width: 270px;\n .icon-code-in {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 121212;\n}\n .code-hover{\n padding:.5em;\n background:",";\n z-index: 0;\n display: flex;\n width:100%;\n }\n .hljs {\n line-height: 20px!important;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n transition: .1s;\n overflow: hidden;\n background:transparent;\n vertical-align: top;\n width: 100%;\n border-radius:0px!important;\n padding: 0px;\n }\n pre {\n margin: 0!important;\n z-index: 1212;\n position: relative;\n overflow: hidden;\n padding-left: 0px;\n height: 36px;\n display: flex;\n align-items: flex-start;\n }\n &:hover code {\n background: rgba(60, 180, 110, 0.07);\n }\n .code-options {\n line-height: 12px;\n margin: 0px;\n .usage-link {\n display: inline-block;\n text-align: right;\n float: right;\n font-size: 11px;\n color: ",";\n padding-bottom: 2px;\n}\n .code-option {\n display: inline-block;\n font-size: 12px;\n padding: 5px 10px;\n line-height: 11px;\n transition: 0.15s;\n height: 12px;\n font-weight: 400;\n \n \n color: ",";\n &.active {\n background: #f4f3ef;\n border-bottom:0px solid!important;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n }\n }\n\n\n }\n\n \n\n "],["\n flex: 1;\n position: relative;\n cursor: pointer;\n overflow: hidden;\n width: 270px;\n .icon-code-in {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 121212;\n}\n .code-hover{\n padding:.5em;\n background:",";\n z-index: 0;\n display: flex;\n width:100%;\n }\n .hljs {\n line-height: 20px!important;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n transition: .1s;\n overflow: hidden;\n background:transparent;\n vertical-align: top;\n width: 100%;\n border-radius:0px!important;\n padding: 0px;\n }\n pre {\n margin: 0!important;\n z-index: 1212;\n position: relative;\n overflow: hidden;\n padding-left: 0px;\n height: 36px;\n display: flex;\n align-items: flex-start;\n }\n &:hover code {\n background: rgba(60, 180, 110, 0.07);\n }\n .code-options {\n line-height: 12px;\n margin: 0px;\n .usage-link {\n display: inline-block;\n text-align: right;\n float: right;\n font-size: 11px;\n color: ",";\n padding-bottom: 2px;\n}\n .code-option {\n display: inline-block;\n font-size: 12px;\n padding: 5px 10px;\n line-height: 11px;\n transition: 0.15s;\n height: 12px;\n font-weight: 400;\n \n \n color: ",";\n &.active {\n background: #f4f3ef;\n border-bottom:0px solid!important;\n border-top-left-radius: 5px;\n border-top-right-radius: 5px;\n }\n }\n\n\n }\n\n \n\n "]),h=l(["\n display: flex;\n position: absolute;\n background: #fff;\n height: 27px;\n top: -5px;\n .function-button{\n flex:1;\n }\n left: -50px;\n flex-direction: column;\n text-align: center;\n padding: 4px 0px;\n height: 175px;\n border-radius: 30px;\n @media screen and (max-width: ",") {\n display: none;\n }\n .color-picker {\n position: absolute;\n\n transition:0.15s;\n bottom: 10px;\n left: 40px;\n z-index: 999999;\n box-shadow: ","; background: #fff;\n padding: 10px;\n border-radius: 5px;\n .chrome-picker{\n box-shadow:none!important;\n font-family: ","!important;\n }\n}\n\n"],["\n display: flex;\n position: absolute;\n background: #fff;\n height: 27px;\n top: -5px;\n .function-button{\n flex:1;\n }\n left: -50px;\n flex-direction: column;\n text-align: center;\n padding: 4px 0px;\n height: 175px;\n border-radius: 30px;\n @media screen and (max-width: ",") {\n display: none;\n }\n .color-picker {\n position: absolute;\n\n transition:0.15s;\n bottom: 10px;\n left: 40px;\n z-index: 999999;\n box-shadow: ","; background: #fff;\n padding: 10px;\n border-radius: 5px;\n .chrome-picker{\n box-shadow:none!important;\n font-family: ","!important;\n }\n}\n\n"]),b=l(["\n height: 20px;\n width: 30px;\n margin: 1px 0px;\n cursor: pointer;\n border-radius: 5px;\n padding: 5px;\n flex: 1;\n justify-content:center;\n display:flex;\n \n\n i {\n font-size: 21px!important;\n display: block;\n color: ","!important;\n align-self:center;\n }\n div{\n display:flex;\n }\n &:hover {\n background: ",";\n }\n &:active {\n background: #eee;\n i{\n color: ","!important;\n }\n }\n .animate-choices {\n display: flex;\n transition:0.15s;\n background: #fff;\n padding: 5px 6px;\n position: absolute;\n margin-top: -45px;\n left: 0;\n height: 30px;\n line-height: 30px;\n z-index: 121212;\n overflow: hidden;\n -webkit-border-radius: 5px;\n border-radius: 5px;\n box-shadow: ","; \n div {\n line-height: 20px;\n margin: 3px!important;\n font-size: 12px;\n cursor: pointer;\n max-width: 30px;\n overflow: hidden;\n padding: 2px 5px;\n \n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n i{\n color: ","!important;\n }\n &:hover {\n\n color: ",";\n }\n }\n\n\n }\n "],["\n height: 20px;\n width: 30px;\n margin: 1px 0px;\n cursor: pointer;\n border-radius: 5px;\n padding: 5px;\n flex: 1;\n justify-content:center;\n display:flex;\n \n\n i {\n font-size: 21px!important;\n display: block;\n color: ","!important;\n align-self:center;\n }\n div{\n display:flex;\n }\n &:hover {\n background: ",";\n }\n &:active {\n background: #eee;\n i{\n color: ","!important;\n }\n }\n .animate-choices {\n display: flex;\n transition:0.15s;\n background: #fff;\n padding: 5px 6px;\n position: absolute;\n margin-top: -45px;\n left: 0;\n height: 30px;\n line-height: 30px;\n z-index: 121212;\n overflow: hidden;\n -webkit-border-radius: 5px;\n border-radius: 5px;\n box-shadow: ","; \n div {\n line-height: 20px;\n margin: 3px!important;\n font-size: 12px;\n cursor: pointer;\n max-width: 30px;\n overflow: hidden;\n padding: 2px 5px;\n \n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n i{\n color: ","!important;\n }\n &:hover {\n\n color: ",";\n }\n }\n\n\n }\n "]),g=l(["\n.html-box-cont{\n overflow:hidden;\n}\n transition:0.15s;\n box-shadow: ",";\n padding: 12px;\n background: #fff;\n border-radius: 5px;\n position: absolute;\n right: 60px;\n z-index: 1212212;\n width:210px;\n font-size: 13px;\n font-weight: inherit;\n bottom: 40px; color: ",";\n .html-code {\ncursor:pointer;\n \n\npre{\n position:relative;\n margin: 0px;\n\n margin-top: 15px!important;\n code{\n min-width:100%;\n }\n}\n .icon-code-in {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 121212;\n}\n.code-hover {\n.copied{\n top:-30px;\n right:-5px;\n}\n position: relative;\n height: 60px;\n display: flex;\n &:hover .code {\n background: rgba(60,180,110,0.07);\n\n}\n}\n\n pre {\n margin: 0px;\n}}\n "],["\n.html-box-cont{\n overflow:hidden;\n}\n transition:0.15s;\n box-shadow: ",";\n padding: 12px;\n background: #fff;\n border-radius: 5px;\n position: absolute;\n right: 60px;\n z-index: 1212212;\n width:210px;\n font-size: 13px;\n font-weight: inherit;\n bottom: 40px; color: ",";\n .html-code {\ncursor:pointer;\n \n\npre{\n position:relative;\n margin: 0px;\n\n margin-top: 15px!important;\n code{\n min-width:100%;\n }\n}\n .icon-code-in {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n z-index: 121212;\n}\n.code-hover {\n.copied{\n top:-30px;\n right:-5px;\n}\n position: relative;\n height: 60px;\n display: flex;\n &:hover .code {\n background: rgba(60,180,110,0.07);\n\n}\n}\n\n pre {\n margin: 0px;\n}}\n "]),v=l(["\ndisplay: flex;\n .injected-svg {\n display: none;\n}\n .copied {\n position: absolute;\n right: 50px;\n z-index: 99999;\n top: -5px;\n background:#fff;\n line-height: 20px;\n font-size: 12px;\n font-weight: 700;\n padding: 2px 7px;\n color: ",";\n border-radius: 5px;\n transition: transform .15s, opacity 0.15s;\n animation-fill-mode: forwards;\n transform: translateY(5px);\n opacity: 0;\n \n &.active {\n opacity: 1;\n transform: translateY(0px);\n \n }\n }\n .icon-head {\n margin: 0px;\n margin-left: 15px;\n font-size: 16px;\n font-weight: 400;\n line-height: 64px;\n flex: 1;\n @media screen and (max-width: ",") {\n display: inline-block;\n flex: none;\n width: auto;\n line-height: 48px;\n height: 48px;\n margin-left: 10px;\n }\n .icon-head-name {\n color: ",";\n line-height: 25px;\n font-weight: 700;\n font-size: 24px;\n margin: 0px 2px;\n margin-bottom: 23px;\n margin-top: 10px;\n @media screen and (max-width: ",") { \n height: 48px;\n font-size: 13px;\n font-weight: 400;\n line-height: 48px;\n margin: 0px !important;\n max-width: 150px;\n overflow: hidden;\n }\n }\n }\n .icon-footer{\n display: flex;\n @media screen and (max-width: ",") {\n display:none;\n }\n\n }\n\n }\n .box-bg{\n border-radius: 5px;\n background: #fff;\n align-items: center;\n background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%);\n \n background-image: -moz-linear-gradient(to top,#eee ,#eee );\n background-position: 0 0, 0 5px, 5px -5px, -5px 0px;\n background-size: 10px 10px;\n display: flex;\n justify-content: center;\n width: 170px;\n position: relative;\n height: 170px;\n @media screen and (max-width: ",") {\n display: inline-block;\n flex: none;\n width: 48px;\n height: 48px;\n i {\n font-size: 36px!important;\n position: absolute;\n left: 8px;\n top: 8px;\n }\n }\n i {\n color: ",";\n font-size: 128px;\n transition: 0.15s;\n }\n \n }\n\n \n }\n \n"],["\ndisplay: flex;\n .injected-svg {\n display: none;\n}\n .copied {\n position: absolute;\n right: 50px;\n z-index: 99999;\n top: -5px;\n background:#fff;\n line-height: 20px;\n font-size: 12px;\n font-weight: 700;\n padding: 2px 7px;\n color: ",";\n border-radius: 5px;\n transition: transform .15s, opacity 0.15s;\n animation-fill-mode: forwards;\n transform: translateY(5px);\n opacity: 0;\n \n &.active {\n opacity: 1;\n transform: translateY(0px);\n \n }\n }\n .icon-head {\n margin: 0px;\n margin-left: 15px;\n font-size: 16px;\n font-weight: 400;\n line-height: 64px;\n flex: 1;\n @media screen and (max-width: ",") {\n display: inline-block;\n flex: none;\n width: auto;\n line-height: 48px;\n height: 48px;\n margin-left: 10px;\n }\n .icon-head-name {\n color: ",";\n line-height: 25px;\n font-weight: 700;\n font-size: 24px;\n margin: 0px 2px;\n margin-bottom: 23px;\n margin-top: 10px;\n @media screen and (max-width: ",") { \n height: 48px;\n font-size: 13px;\n font-weight: 400;\n line-height: 48px;\n margin: 0px !important;\n max-width: 150px;\n overflow: hidden;\n }\n }\n }\n .icon-footer{\n display: flex;\n @media screen and (max-width: ",") {\n display:none;\n }\n\n }\n\n }\n .box-bg{\n border-radius: 5px;\n background: #fff;\n align-items: center;\n background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%);\n \n background-image: -moz-linear-gradient(to top,#eee ,#eee );\n background-position: 0 0, 0 5px, 5px -5px, -5px 0px;\n background-size: 10px 10px;\n display: flex;\n justify-content: center;\n width: 170px;\n position: relative;\n height: 170px;\n @media screen and (max-width: ",") {\n display: inline-block;\n flex: none;\n width: 48px;\n height: 48px;\n i {\n font-size: 36px!important;\n position: absolute;\n left: 8px;\n top: 8px;\n }\n }\n i {\n color: ",";\n font-size: 128px;\n transition: 0.15s;\n }\n \n }\n\n \n }\n \n"]),x=n(5),m=r(x),y=n(60),w=n(61),_=n(181),E=n(514),k=r(E),C=n(518),S=r(C),O=n(517),j=r(O),A=n(191),P=r(A),M=n(183),R=n(48),N=r(R),F=n(590),B=n(591),T=n(746),L=r(T),z=n(47),D=n(182),I=r(D),H=n(49);k.default.registerLanguage("xml",S.default);var G=N.default.div(f,z.FONT_COLOR,z.LIGHT_BACKGROUND,z.BREAKPOINT_MD),U=N.default.div(d,z.FONT_COLOR,z.BOX_SHADOW_POPUP,z.FADE_FONT_COLOR,z.BREAKPOINT_MD),W=N.default.div(p,z.LIGHT_BACKGROUND,z.BLUE_COLOR,z.FONT_COLOR),V=N.default.div(h,z.BREAKPOINT_MD,z.BOX_SHADOW_POPUP,z.FONT_FAMILY),X=N.default.div(b,z.FADE_FONT_COLOR,z.LIGHT_BACKGROUND,z.FONT_COLOR,z.BOX_SHADOW_POPUP,z.FONT_COLOR,z.FONT_COLOR),q=N.default.div(g,z.BOX_SHADOW_POPUP,z.FONT_COLOR),$=N.default.div(v,z.GREEN_COLOR,z.BREAKPOINT_MD,z.HEADER_COLOR,z.BREAKPOINT_MD,z.BREAKPOINT_MD,z.BREAKPOINT_MD,z.HEADER_COLOR),Y=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={fill:{a:1,r:0,g:0,b:0},copied:!1,svgTransform:"",svgFilter:"",showHTML:!1,code:null,htmlcopied:!1,componentCode:null,showFill:!1,animateChoiceDisplay:!1,rotate:0,uri:"",hex:"#000000",size:2,flip:"none",showSizes:!1,type:"component",animation:"none",opposite:!1},n.handleBoxClose=n.handleBoxClose.bind(n),n.handleRotate=n.handleRotate.bind(n),n.handleFlip=n.handleFlip.bind(n),n.handleAdjust=n.handleAdjust.bind(n),n.handleChangeComplete=n.handleChangeComplete.bind(n),n.handleFill=n.handleFill.bind(n),n.handleSizes=n.handleSizes.bind(n),n.savePNG=n.savePNG.bind(n),n.getHTML=n.getHTML.bind(n),n.copyURI=n.copyURI.bind(n),n.changeURI=n.changeURI.bind(n),n.copyCode=n.copyCode.bind(n),n.handleAnimate=n.handleAnimate.bind(n),n.handleSize=n.handleSize.bind(n),n.handleCurrentAnimation=n.handleCurrentAnimation.bind(n),n.changeType=n.changeType.bind(n),n}return i(t,e),c(t,[{key:"changeType",value:function(e){this.setState({type:e})}},{key:"componentWillUnmount",value:function(){}},{key:"componentWillMount",value:function(){this.props.fetchIcon(this.props.icon.name,this.props.icon.type_of_icon),"SOLID"===this.props.icon.type_of_icon?this.setState({code:"<i class='bx bxs-"+this.props.icon.name+"'></i>",componentCode:"<box-icon type='solid' name='"+this.props.icon.name+"'></box-icon>"}):"LOGO"===this.props.icon.type_of_icon?this.setState({code:"<i class='bx bxl-"+this.props.icon.name+"'></i>",componentCode:"<box-icon type='logo' name='"+this.props.icon.name+"'></box-icon>"}):this.setState({code:"<i class='bx bx-"+this.props.icon.name+"'></i>",componentCode:"<box-icon name='"+this.props.icon.name+"'></box-icon>"})}},{key:"componentDidMount",value:function(){for(var e=document.querySelectorAll("code"),t=0;t<e.length;t++)k.default.highlightBlock(e[t])}},{key:"componentDidUpdate",value:function(){for(var e=document.querySelectorAll("code"),t=0;t<e.length;t++)k.default.highlightBlock(e[t])}},{key:"componentWillReceiveProps",value:function(e){if(this.setState({opposite:e.opposite}),this.props.icon.slug!==e.icon.slug){this.props.fetchIcon(e.icon.name,e.icon.type_of_icon);var t="bx bx-"+e.icon.name,n="name='"+e.icon.name+"' ";"SOLID"===e.icon.type_of_icon?(t="bx bxs-"+e.icon.name,n+="type='solid' "):"LOGO"===e.icon.type_of_icon&&(t="bx bxl-"+e.icon.name,n+="type='logo' "),"none"!==this.state.animation&&(t+=" bx-"+this.state.animation,n+="animation='"+this.state.animation+"' "),this.state.rotate>0&&(t+=" bx-rotate-"+this.state.rotate,n+="rotate='"+this.state.rotate+"' "),"none"!==this.state.flip&&(t+=" bx-flip-"+this.state.flip,n+="flip='"+this.state.flip+"' ");var r="";0===this.state.fill.r&&0===this.state.fill.g&&0===this.state.fill.b&&1===this.state.fill.a||(1===this.state.fill.a?(r="style='color:"+this.state.hex+"' ",n+="color='"+this.state.hex+"' "):(r="style='color:rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ",n+="color='rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ")),this.setState({code:"<i class='"+t+"' "+r+"></i>",componentCode:"<box-icon "+n+"></box-icon>"})}}},{key:"changeURI",value:function(){var e="",t=this.state.size,n=document.getElementsByClassName("injected-svg")[0];n&&(0,F.svgAsPngUri)(n,{scale:t},function(t){e=t,this.setState({uri:'<img src="'+e+'"/>'},function(){})}.bind(this))}},{key:"handleAdjust",value:function(){var e="REGULAR",t=this.props.icon.name+"-regular";"REGULAR"===this.props.icon.type_of_icon&&(t=this.props.icon.name+"-solid",e="SOLID"),this.props.changeSideIcon(!0),this.props.setSelectedIcon(this.props.icon.name,t,e)}},{key:"handleSizes",value:function(){this.setState({showSizes:!this.state.showSizes})}},{key:"handleFlip",value:function(){0!==this.state.rotate&&this.setState({rotate:0});var e="bx bx-"+this.props.icon.name,t="name='"+this.props.icon.name+"' ",n="none";"SOLID"===this.props.icon.type_of_icon?(e="bx bxs-"+this.props.icon.name,t+="type='solid' "):"LOGO"===this.props.icon.type_of_icon&&(e="bx bxl-"+this.props.icon.name,t+="type='logo' "),"none"===this.state.flip?(this.setState({flip:"horizontal",svgTransform:"scaleX(-1)",svgFilter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)"}),n="horizontal",e+=" bx-flip-"+n,t+="flip='"+n+"' "):"horizontal"===this.state.flip?(this.setState({flip:"vertical",svgTransform:"scaleY(-1)",svgFilter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}),n="vertical",e+=" bx-flip-"+n,t+="flip='"+n+"' "):"vertical"===this.state.flip&&this.setState({flip:"none",svgTransform:"",svgFilter:""}),"none"!==this.state.animation&&(e+=" bx-"+this.state.animation,t+="animation='"+this.state.animation+"' ");var r="";0===this.state.fill.r&&0===this.state.fill.g&&0===this.state.fill.b&&1===this.state.fill.a||(1===this.state.fill.a?(r="style='color:"+this.state.hex+"' ",t+="color='"+this.state.hex+"' "):(r="style='color:rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ",t+="color='rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ")),this.setState({code:"<i class='"+e+"' "+r+"></i>",componentCode:"<box-icon "+t+"></box-icon>"})}},{key:"handleRotate",value:function(){"none"!==this.state.flip&&this.setState({flip:"none"});var e="bx bx-"+this.props.icon.name,t="name='"+this.props.icon.name+"' ";"SOLID"===this.props.icon.type_of_icon?(e="bx bxs-"+this.props.icon.name,t+="type='solid' "):"LOGO"===this.props.icon.type_of_icon&&(e="bx bxl-"+this.props.icon.name,t+="type='logo' "),"none"!==this.state.animation&&(e+=" bx-"+this.state.animation,t+="animation='"+this.state.animation+"' "),this.state.rotate+90!==360?(this.setState({rotate:this.state.rotate+90,svgTransform:"rotate("+(this.state.rotate+90)+"deg)",svgFilter:"progid:DXImageTransform.Microsoft.BasicImage(rotation="+(this.state.rotate+90)/90+")"}),e+=" bx-rotate-"+(this.state.rotate+90),t+="rotate='"+(this.state.rotate+90)+"' "):this.setState({rotate:0,svgTransform:"",svgFilter:""});var n="";0===this.state.fill.r&&0===this.state.fill.g&&0===this.state.fill.b&&1===this.state.fill.a||(1===this.state.fill.a?(n="style='color:"+this.state.hex+"' ",t+="color='"+this.state.hex+"' "):(n="style='color:rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ",t+="color='rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ")),this.setState({code:"<i class='"+e+"' "+n+"></i>",componentCode:"<box-icon "+t+"></box-icon>"})}},{key:"handleSize",value:function(e){this.setState({size:e}),this.setState({showSizes:!1})}},{key:"handleAnimate",value:function(e){this.setState({animation:e}),this.setState({animateChoiceDisplay:!1});var t="bx bx-"+this.props.icon.name,n="name='"+this.props.icon.name+"' ";"SOLID"===this.props.icon.type_of_icon?(t="bx bxs-"+this.props.icon.name,n+="type='solid' "):"LOGO"===this.props.icon.type_of_icon&&(t="bx bxl-"+this.props.icon.name,n+="type='logo' "),"none"!==e&&(t+=" bx-"+e,n+="animation='"+e+"' "),this.state.rotate>0&&(t+=" bx-rotate-"+this.state.rotate,n+="rotate='"+this.state.rotate+"' "),"none"!==this.state.flip&&(t+=" bx-flip-"+this.state.flip,n+="flip='"+this.state.flip+"' ");var r="";0===this.state.fill.r&&0===this.state.fill.g&&0===this.state.fill.b&&1===this.state.fill.a||(1===this.state.fill.a?(r="style='color:"+this.state.hex+"' ",n+="color='"+this.state.hex+"' "):(r="style='color:rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ",n+="color='rgba("+this.state.fill.r+","+this.state.fill.g+","+this.state.fill.b+","+this.state.fill.a+")' ")),this.setState({code:"<i class='"+t+"' "+r+"></i>",componentCode:"<box-icon "+n+"></box-icon>"})}},{key:"handleFill",value:function(){this.setState({showFill:!this.state.showFill})}},{key:"savePNG",value:function(e){e.preventDefault();var t=this.state.size;(0,F.saveSvgAsPng)(document.getElementsByClassName("injected-svg")[0],this.props.icon.name+"-"+this.props.icon.type_of_icon.toLowerCase()+"-"+Math.ceil(24*this.state.size)+".png",{scale:t})}},{key:"getHTML",value:function(e){e.preventDefault(),this.setState({showHTML:!0}),this.changeURI()}},{key:"copyURI",value:function(){document.getElementById("uriID").select(),document.execCommand("copy"),this.setState({htmlcopied:!0}),setTimeout(function(){this.setState({htmlcopied:!1})}.bind(this),1e3)}},{key:"handleChangeComplete",value:function(e){var t="bx bx-"+this.props.icon.name,n="name='"+this.props.icon.name+"' ";if("SOLID"===this.props.icon.type_of_icon?(t="bx bxs-"+this.props.icon.name,n+="type='solid' "):"LOGO"===this.props.icon.type_of_icon&&(t="bx bxl-"+this.props.icon.name,n+="type='logo' "),this.state.rotate>0&&(t+=" bx-rotate-"+this.state.rotate,n+="rotate='"+this.state.rotate+"' "),"none"!==this.state.flip&&(t+=" bx-flip-"+this.state.flip,n+="flip='"+this.state.flip+"' "),"none"!==this.state.animation&&(t+=" bx-"+this.state.animation,n+="animation='"+this.state.animation+"' "),0!==e.rgb.r||0!==e.rgb.g||0!==e.rgb.b||1!==e.rgb.a){var r="";1===e.rgb.a?(r="style='color:"+e.hex+"' ",n+="color='"+e.hex+"' "):(r="style='color:rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")' ",n+="color='rgba("+e.rgb.r+","+e.rgb.g+","+e.rgb.b+","+e.rgb.a+")' ")}this.setState({fill:e.rgb,hex:e.hex,code:"<i class='"+t+"' "+r+" ></i>",componentCode:"<box-icon "+n+"></box-icon>"})}},{key:"handleCurrentAnimation",value:function(){this.setState({animateChoiceDisplay:!this.state.animateChoiceDisplay}),this.setState({colorChoiceDisplay:!1})}},{key:"copyCode",value:function(){document.querySelector("#code").select(),document.execCommand("Copy"),this.setState({copied:!0}),setTimeout(function(){this.setState({copied:!1})}.bind(this),1e3)}},{key:"handleBoxClose",value:function(){this.props.changeSideIcon(!1),this.props.setSelectedIcon(null,null)}},{key:"render",value:function(){var e=this,t=(0,I.default)({active:this.state.copied,copied:!0}),n=(0,I.default)({active:this.state.htmlcopied,copied:!0}),r={color:"rgba("+this.state.fill.r+", "+this.state.fill.g+", "+this.state.fill.b+", "+this.state.fill.a+")"},a="/static/img/svg/bx-"+this.props.icon.name+".svg",o=this.props.icon,i="bx-"+o.name;return"SOLID"===o.type_of_icon?(a="/static/img/svg/bxs-"+this.props.icon.name+".svg",i="bxs-"+o.name):"LOGO"===o.type_of_icon&&(a="/static/img/svg/bxl-"+this.props.icon.name+".svg",i="bxl-"+o.name),m.default.createElement("div",{className:" "},m.default.createElement($,{className:"icon"},m.default.createElement("input",{className:"hidden",type:"text",onChange:function(){},value:this.state.uri,id:"uriID"}),this.state.showHTML&&m.default.createElement(P.default,{onOutsideClick:function(){e.setState({showHTML:!1})}},m.default.createElement(q,null," ",m.default.createElement("div",{className:"html-box-overflow"},m.default.createElement("div",{className:"html-box-cont"},"Click to Copy & Paste it into your HTML",m.default.createElement("div",{className:"html-code"},m.default.createElement(j.default,{title:"Copy html code"},m.default.createElement("div",{className:"icon-code-in",onClick:this.copyURI}),m.default.createElement("div",{className:"code-hover"}," ",m.default.createElement("code",{className:"html"},this.state.uri)," ",m.default.createElement("div",{className:n},"Copied ",m.default.createElement("i",{className:"bx bx-check"}))))))))),m.default.createElement(L.default,{src:"/static/img/svg/"+i+".svg",svgStyle:{fill:"rgba("+this.state.fill.r+", "+this.state.fill.g+", "+this.state.fill.b+", "+this.state.fill.a+")",transform:this.state.svgTransform,msFilter:this.state.svgFilter}}),m.default.createElement("div",{className:"box-bg "},m.default.createElement("i",{style:r,className:"bx "+i+" bx-rotate-"+this.state.rotate+" bx-"+this.state.animation+" bx-flip-"+this.state.flip}),m.default.createElement(V,null,this.state.opposite&&m.default.createElement("div",{className:"function-button"}," ",m.default.createElement(X,{onClick:this.handleAdjust,className:"active func-adjust",title:"Toggle Style"},m.default.createElement("i",{className:"bx bxs-adjust"}))),m.default.createElement("div",{className:"function-button"},m.default.createElement(P.default,{onOutsideClick:function(){e.setState({showFill:!1})}},m.default.createElement(X,{onClick:this.handleFill,className:"active func-fill",title:"Fill Color"},m.default.createElement("i",{className:"bx bxs-color-fill"})),this.state.showFill&&m.default.createElement("div",{className:"color-picker",id:"picker"},m.default.createElement(B.ChromePicker,{color:this.state.fill,onChangeComplete:this.handleChangeComplete})))),m.default.createElement("div",{className:"function-button"}," ",m.default.createElement(X,{onClick:this.handleRotate,className:this.state.rotate>0?"active func-rotate":"func-rotate",title:"Rotate"},m.default.createElement("i",{className:"bx bx-rotate-right"}))," "),m.default.createElement("div",{className:"function-button"},m.default.createElement(P.default,{onOutsideClick:function(){e.setState({animateChoiceDisplay:!1})}}," ",m.default.createElement(X,{className:"none"!=this.state.animation?"active func-animate":"func-animate",title:"Animate"},m.default.createElement("div",{onClick:this.handleCurrentAnimation},m.default.createElement("i",{className:"bx bxs-zap"})),this.state.animateChoiceDisplay&&m.default.createElement("div",{className:"animate-choices"},m.default.createElement("div",{className:"animate tada",onClick:function(){return e.handleAnimate("tada")}},m.default.createElement("i",{className:"bx "+i+" bx-tada"})),m.default.createElement("div",{className:"animate flashing",onClick:function(){return e.handleAnimate("flashing")}},m.default.createElement("i",{className:"bx "+i+" bx-flashing"})),m.default.createElement("div",{className:"animate burst",onClick:function(){return e.handleAnimate("burst")}},m.default.createElement("i",{className:"bx "+i+" bx-burst"})),m.default.createElement("div",{className:"animate spin",onClick:function(){return e.handleAnimate("spin")}},m.default.createElement("i",{className:"bx "+i+" bx-spin"})),m.default.createElement("div",{className:"animate fade-left",onClick:function(){return e.handleAnimate("fade-left")}},m.default.createElement("i",{className:"bx "+i+" bx-fade-left"})),m.default.createElement("div",{className:"animate fade-right",onClick:function(){return e.handleAnimate("fade-right")}},m.default.createElement("i",{className:"bx "+i+" bx-fade-right"})),m.default.createElement("div",{className:"animate fade-up",onClick:function(){return e.handleAnimate("fade-up")}},m.default.createElement("i",{className:"bx "+i+" bx-fade-up"})),m.default.createElement("div",{className:"animate fade-down",onClick:function(){return e.handleAnimate("fade-down")}},m.default.createElement("i",{className:"bx "+i+" bx-fade-down"})),m.default.createElement("div",{className:"animate none",onClick:function(){return e.handleAnimate("none")}},"none"))))),m.default.createElement("div",{className:"function-button"}," ",m.default.createElement(X,{onClick:this.handleFlip,className:"none"!=this.state.flip?"active func-flip":"func-flip",title:"Flip"},m.default.createElement("i",{className:"bx bx-sync"}))))),m.default.createElement("div",{className:" icon-head"},m.default.createElement("div",{className:" icon-head-name"},o.name),m.default.createElement("div",{className:" icon-footer"},m.default.createElement(W,null,m.default.createElement("div",{className:"code-options"},m.default.createElement("div",{className:"component"===this.state.type?"code-option active":"code-option",onClick:function(){return e.changeType("component")}},"Web Component"),m.default.createElement("div",{className:"font"===this.state.type?"code-option active":"code-option",onClick:function(){return e.changeType("font")}},"Font"),m.default.createElement(H.Link,{to:"/get-started",className:"usage-link"},"Usage >")),"component"===this.state.type?m.default.createElement("div",null,m.default.createElement(j.default,{title:"Copy code"}," ",m.default.createElement("div",{className:"icon-code-in",onClick:this.copyCode}),m.default.createElement("div",{className:"code-hover"}," ",m.default.createElement("code",{className:"html"},this.state.componentCode))),m.default.createElement("input",{className:"hidden",type:"text",onChange:function(){},value:this.state.componentCode,id:"code"}),m.default.createElement("div",{className:t},"Copied ",m.default.createElement("i",{className:"bx bx-check"}))):m.default.createElement("div",null," ",m.default.createElement(j.default,{title:"Copy code"}," ",m.default.createElement("div",{className:"icon-code-in",onClick:this.copyCode}," "),m.default.createElement("div",{className:"code-hover"},m.default.createElement("code",{className:"html"},this.state.code))),m.default.createElement("input",{className:"hidden",type:"text",onChange:function(){},value:this.state.code,id:"code"}),m.default.createElement("div",{className:t},"Copied ",m.default.createElement("i",{className:"bx bx-check"}))))),m.default.createElement(U,null,m.default.createElement(M.WhiteButton,{href:"#",onClick:this.savePNG,className:"button icon-download "},m.default.createElement("div",{className:"button-name"},"PNG"),m.default.createElement("i",{className:"bx bxs-download"})),m.default.createElement(M.WhiteButton,{href:"#",onClick:this.getHTML,className:"button icon-download "},m.default.createElement("div",{className:"button-name"},"HTML"),m.default.createElement("i",{className:"bx bx-code"})),m.default.createElement(M.BlueButton,{href:a,download:i,className:"button icon-download "},m.default.createElement("div",{className:"button-name"},"SVG"),m.default.createElement("i",{className:"bx bxs-download"})),m.default.createElement(P.default,{onOutsideClick:function(){e.setState({showSizes:!1})}}," ",m.default.createElement("div",{className:"download-size",title:"Icon Size"},this.state.showSizes&&m.default.createElement("div",{className:"download-sizes"},m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(.66)}},"16px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(1)}},"24px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(1.5)}},"36px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(2)}},"48px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(4)}},"96px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(5)}},"120px"),m.default.createElement("div",{className:"size",onClick:function(){return e.handleSize(10)}},"240px")),m.default.createElement("div",{className:"size-button",onClick:this.handleSizes},Math.ceil(24*this.state.size),"px ",m.default.createElement("i",{className:"bx bx-caret-down"})))))),m.default.createElement(G,{onClick:this.handleBoxClose},m.default.createElement("i",{className:"bx bx-x"}))))}}]),t}(x.Component);t.default=(0,y.connect)(s,u)(Y)},function(e,t,n){"use strict";var r,a;!function(){var n=void 0!==t&&t||{}||this||window;r=[],void 0!==(a=function(){return n}.apply(t,r))&&(e.exports=a);var o="http://www.w3.org/2000/xmlns/",i=/url\(["']?(.+?)["']?\)/,l={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},s=function(e){return e instanceof HTMLElement||e instanceof SVGElement},u=function(e){if(!s(e))throw new Error("an HTMLElement or SVGElement is required; got "+e)},c=function(e){return e&&0===e.lastIndexOf("http",0)&&-1===e.lastIndexOf(window.location.host)},f=function(e){var t=Object.keys(l).filter(function(t){return e.indexOf("."+t)>0}).map(function(e){return l[e]});return t?t[0]:(console.error("Unknown font format for "+e+". Fonts may not be working correctly."),"application/octet-stream")},d=function(e){for(var t="",n=new Uint8Array(e),r=0;r<n.byteLength;r++)t+=String.fromCharCode(n[r]);return window.btoa(t)},p=function(e,t,n){var r=e.viewBox&&e.viewBox.baseVal&&e.viewBox.baseVal[n]||null!==t.getAttribute(n)&&!t.getAttribute(n).match(/%$/)&&parseInt(t.getAttribute(n))||e.getBoundingClientRect()[n]||parseInt(t.style[n])||parseInt(window.getComputedStyle(e).getPropertyValue(n));return void 0===r||null===r||isNaN(parseFloat(r))?0:r},h=function(e,t,n,r){if("svg"===e.tagName)return{width:n||p(e,t,"width"),height:r||p(e,t,"height")};if(e.getBBox){var a=e.getBBox(),o=a.x,i=a.y;return{width:o+a.width,height:i+a.height}}},b=function(e){return decodeURIComponent(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){var n=String.fromCharCode("0x"+t);return"%"===n?"%25":n}))},g=function(e){for(var t=window.atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),a=new Uint8Array(r),o=0;o<t.length;o++)a[o]=t.charCodeAt(o);return new Blob([r],{type:n})},v=function(e,t){if(t)try{return e.querySelector(t)||e.parentNode&&e.parentNode.querySelector(t)}catch(e){console.warn('Invalid CSS selector "'+t+'"',e)}},x=function(e,t){var n=e.cssText.match(i),r=n&&n[1]||"";if(r&&!r.match(/^data:/)&&"about:blank"!==r){var a=r.startsWith("../")?t+"/../"+r:r.startsWith("./")?t+"/."+r:r;return{text:e.cssText,format:f(a),url:a}}},m=function(e){return Promise.all(Array.from(e.querySelectorAll("image")).map(function(e){var t=e.getAttributeNS("http://www.w3.org/1999/xlink","href")||e.getAttribute("href");return t?(c(t)&&(t+=(-1===t.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(n,r){var a=document.createElement("canvas"),o=new Image;o.crossOrigin="anonymous",o.src=t,o.onerror=function(){return r(new Error("Could not load "+t))},o.onload=function(){a.width=o.width,a.height=o.height,a.getContext("2d").drawImage(o,0,0),e.setAttributeNS("http://www.w3.org/1999/xlink","href",a.toDataURL("image/png")),n(!0)}})):Promise.resolve(null)}))},y={},w=function(e){return Promise.all(e.map(function(e){return new Promise(function(t,n){if(y[e.url])return t(y[e.url]);var r=new XMLHttpRequest;r.addEventListener("load",function(){var n=d(r.response),a=e.text.replace(i,'url("data:'+e.format+";base64,"+n+'")')+"\n";y[e.url]=a,t(a)}),r.addEventListener("error",function(n){console.warn("Failed to load font from: "+e.url,n),y[e.url]=null,t(null)}),r.addEventListener("abort",function(n){console.warn("Aborted loading font from: "+e.url,n),t(null)}),r.open("GET",e.url),r.responseType="arraybuffer",r.send()})})).then(function(e){return e.filter(function(e){return e}).join("")})},_=null,E=function(){return _||(_=Array.from(document.styleSheets).map(function(e){try{return{rules:e.cssRules,href:e.href}}catch(t){return console.warn("Stylesheet could not be loaded: "+e.href,t),{}}}))},k=function(e,t){var n=t||{},r=n.selectorRemap,a=n.modifyStyle,o=n.modifyCss,i=n.fonts,l=o||function(e,t){return(r?r(e):e)+"{"+(a?a(t):t)+"}\n"},s=[],u=void 0===i,c=i||[];return E().forEach(function(t){var n=t.rules,r=t.href;n&&Array.from(n).forEach(function(t){if(void 0!==t.style)if(v(e,t.selectorText))s.push(l(t.selectorText,t.style.cssText));else if(u&&t.cssText.match(/^@font-face/)){var n=x(t,r);n&&c.push(n)}else s.push(t.cssText)})}),w(c).then(function(e){return s.join("\n")+e})};n.prepareSvg=function(e,t,n){u(e);var r=t||{},a=r.left,i=void 0===a?0:a,l=r.top,s=void 0===l?0:l,c=r.width,f=r.height,d=r.scale,p=void 0===d?1:d,b=r.responsive,g=void 0!==b&&b;return m(e).then(function(){var r=e.cloneNode(!0),a=t||{},l=a.backgroundColor,u=void 0===l?"transparent":l;r.style.backgroundColor=u;var d=h(e,r,c,f),b=d.width,v=d.height;if("svg"!==e.tagName){if(!e.getBBox)return void console.error("Attempted to render non-SVG element",e);r.setAttribute("transform",r.getAttribute("transform").replace(/translate\(.*?\)/,""));var x=document.createElementNS("http://www.w3.org/2000/svg","svg");x.appendChild(r),r=x}return r.setAttribute("version","1.1"),r.setAttribute("viewBox",[i,s,b,v].join(" ")),r.getAttribute("xmlns")||r.setAttributeNS(o,"xmlns","http://www.w3.org/2000/svg"),r.getAttribute("xmlns:xlink")||r.setAttributeNS(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),g?(r.removeAttribute("width"),r.removeAttribute("height"),r.setAttribute("preserveAspectRatio","xMinYMin meet")):(r.setAttribute("width",b*p),r.setAttribute("height",v*p)),Array.from(r.querySelectorAll("foreignObject > *")).forEach(function(e){e.getAttribute("xmlns")||e.setAttributeNS(o,"xmlns","http://www.w3.org/1999/xhtml")}),k(e,t).then(function(e){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML="<![CDATA[\n"+e+"\n]]>";var a=document.createElement("defs");a.appendChild(t),r.insertBefore(a,r.firstChild);var o=document.createElement("div");o.appendChild(r);var i=o.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof n)return{src:i,width:b,height:v};n(i,b,v)})})},n.svgAsDataUri=function(e,t,r){u(e);var a=n.prepareSvg(e,t).then(function(e){var t=e.src;return"data:image/svg+xml;base64,"+window.btoa(b('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp " ">]>'+t))});return"function"==typeof r?a.then(r):a},n.svgAsPngUri=function(e,t,r){u(e);var a=t||{},o=a.encoderType,i=void 0===o?"image/png":o,l=a.encoderOptions,s=void 0===l?.8:l,c=a.canvg,f=function(e){var t=e.src,n=e.width,a=e.height,o=document.createElement("canvas"),l=o.getContext("2d"),u=window.devicePixelRatio||1;o.width=n*u,o.height=a*u,o.style.width=o.width+"px",o.style.height=o.height+"px",l.setTransform(u,0,0,u,0,0),c?c(o,t):l.drawImage(t,0,0);var f=void 0;try{f=o.toDataURL(i,s)}catch(e){if("undefined"!=typeof SecurityError&&e instanceof SecurityError||"SecurityError"===e.name)return void console.error("Rendered SVG images cannot be downloaded in this browser.");throw e}return"function"==typeof r&&r(f),Promise.resolve(f)};return c?n.prepareSvg(e,t).then(f):n.svgAsDataUri(e,t).then(function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(f({src:r,width:r.width,height:r.height}))},r.onerror=function(){n("There was an error loading the data URI as an image on the following SVG\n"+window.atob(e.slice(26))+"Open the following link to see browser's diagnosis\n"+e)},r.src=e})})},n.download=function(e,t){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(g(t),e);else{var n=document.createElement("a");if("download"in n){n.download=e,n.style.display="none",document.body.appendChild(n);try{var r=g(t),a=URL.createObjectURL(r);n.href=a,n.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(a)})}}catch(e){console.warn("This browser does not support object URLs. Falling back to string URL."),n.href=t}n.click(),document.body.removeChild(n)}else window.open(t,"_temp","menubar=no,toolbar=no,status=no")}},n.saveSvg=function(e,t,r){u(e),n.svgAsDataUri(e,r||{},function(e){return n.download(t,e)})},n.saveSvgAsPng=function(e,t,r){u(e),n.svgAsPngUri(e,r||{},function(e){return n.download(t,e)})}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var a=n(592);Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(a).default}});var o=n(713);Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n(715);Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(i).default}});var l=n(717);Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(l).default}});var s=n(721);Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(s).default}});var u=n(724);Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(u).default}});var c=n(726);Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(c).default}});var f=n(728);Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(f).default}});var d=n(729);Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(d).default}});var p=n(735);Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(p).default}});var h=n(738);Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var b=n(742);Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(b).default}});var g=n(745);Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var v=n(565);Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(v).default}});var x=r(l);t.default=x.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPicker=void 0;var a=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=n(5),i=r(o),l=n(492),s=r(l),u=n(493),c=n(712),f=r(c),d=t.AlphaPicker=function(e){var t=e.rgb,n=e.hsl,r=e.width,o=e.height,l=e.onChange,c=e.direction,f=e.style,d=e.renderers,p=e.pointer,h=e.className,b=void 0===h?"":h,g=(0,s.default)({default:{picker:{position:"relative",width:r,height:o},alpha:{radius:"2px",style:f}}});return i.default.createElement("div",{style:g.picker,className:"alpha-picker "+b},i.default.createElement(u.Alpha,a({},g.alpha,{rgb:t,hsl:n,pointer:p,renderers:d,onChange:l,direction:c})))};d.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var a=n(594),o=r(a),i=n(519),l=r(i),s=n(605),u=r(s),c=n(499),f=r(c),d=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,f.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,u.default)(t)?(0,l.default)(t,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,o.default)(t)&&n.push(t)}),n};t.default=d},function(e,t,n){function r(e){return"string"==typeof e||!o(e)&&i(e)&&a(e)==l}var a=n(500),o=n(494),i=n(497),l="[object String]";e.exports=r},function(e,t,n){function r(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var a=l.call(e);return r&&(t?e[s]=n:delete e[s]),a}var a=n(503),o=Object.prototype,i=o.hasOwnProperty,l=o.toString,s=a?a.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t,n){var r=n(598),a=r();e.exports=a},function(e,t){function n(e){return function(t,n,r){for(var a=-1,o=Object(t),i=r(t),l=i.length;l--;){var s=i[e?l:++a];if(!1===n(o[s],s,o))break}return t}}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){return o(e)&&a(e)==i}var a=n(500),o=n(497),i="[object Arguments]";e.exports=r},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function r(e){return i(e)&&o(e.length)&&!!l[a(e)]}var a=n(500),o=n(522),i=n(497),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(525),o=n(604),i=Object.prototype,l=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(540),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e){if(!i(e)||a(e)!=l)return!1;var t=o(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}var a=n(500),o=n(526),i=n(497),l="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,f=u.hasOwnProperty,d=c.call(Object);e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?l(e)?o(e[0],e[1]):a(e):s(e)}var a=n(607),o=n(651),i=n(543),l=n(494),s=n(661);e.exports=r},function(e,t,n){function r(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||a(n,e,t)}}var a=n(608),o=n(650),i=n(554);e.exports=r},function(e,t,n){function r(e,t,n,r){var s=n.length,u=s,c=!r;if(null==e)return!u;for(e=Object(e);s--;){var f=n[s];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++s<u;){f=n[s];var d=f[0],p=e[d],h=f[1];if(c&&f[2]){if(void 0===p&&!(d in e))return!1}else{var b=new a;if(r)var g=r(p,h,d,e,t,b);if(!(void 0===g?o(h,p,i|l,r,b):g))return!1}}return!0}var a=n(527),o=n(546),i=1,l=2;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var a=n(507),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(507);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(507);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var a=n(507);e.exports=r},function(e,t,n){function r(){this.__data__=new a,this.size=0}var a=n(506);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<l-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}var a=n(506),o=n(529),i=n(530),l=200;e.exports=r},function(e,t,n){function r(e){return!(!i(e)||o(e))&&(a(e)?h:u).test(l(e))}var a=n(541),o=n(620),i=n(498),l=n(545),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,f=Object.prototype,d=c.toString,p=f.hasOwnProperty,h=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!o&&o in e}var a=n(621),o=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(495),a=r["__core-js_shared__"];e.exports=a},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(){this.size=0,this.__data__={hash:new a,map:new(i||o),string:new a}}var a=n(624),o=n(506),i=n(529);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(625),o=n(626),i=n(627),l=n(628),s=n(629);r.prototype.clear=a,r.prototype.delete=o,r.prototype.get=i,r.prototype.has=l,r.prototype.set=s,e.exports=r},function(e,t,n){function r(){this.__data__=a?a(null):{},this.size=0}var a=n(508);e.exports=r},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(a){var n=t[e];return n===o?void 0:n}return l.call(t,e)?t[e]:void 0}var a=n(508),o="__lodash_hash_undefined__",i=Object.prototype,l=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return a?void 0!==t[e]:i.call(t,e)}var a=n(508),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=a&&void 0===t?o:t,this}var a=n(508),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=a(this,e).delete(e);return this.size-=t?1:0,t}var a=n(509);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return a(this,e).get(e)}var a=n(509);e.exports=r},function(e,t,n){function r(e){return a(this,e).has(e)}var a=n(509);e.exports=r},function(e,t,n){function r(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var a=n(509);e.exports=r},function(e,t,n){function r(e,t,n,r,g,x){var m=u(e),y=u(t),w=m?h:s(e),_=y?h:s(t);w=w==p?b:w,_=_==p?b:_;var E=w==b,k=_==b,C=w==_;if(C&&c(e)){if(!c(t))return!1;m=!0,E=!1}if(C&&!E)return x||(x=new a),m||f(e)?o(e,t,n,r,g,x):i(e,t,w,n,r,g,x);if(!(n&d)){var S=E&&v.call(e,"__wrapped__"),O=k&&v.call(t,"__wrapped__");if(S||O){var j=S?e.value():e,A=O?t.value():t;return x||(x=new a),g(j,A,n,r,x)}}return!!C&&(x||(x=new a),l(e,t,n,r,g,x))}var a=n(527),o=n(547),i=n(641),l=n(644),s=n(510),u=n(494),c=n(520),f=n(539),d=1,p="[object Arguments]",h="[object Array]",b="[object Object]",g=Object.prototype,v=g.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new a;++t<n;)this.add(e[t])}var a=n(530),o=n(637),i=n(638);r.prototype.add=r.prototype.push=o,r.prototype.has=i,e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t,n,r,a,E,C){switch(n){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case w:return!(e.byteLength!=t.byteLength||!E(new o(e),new o(t)));case d:case p:case g:return i(+e,+t);case h:return e.name==t.name&&e.message==t.message;case v:case m:return e==t+"";case b:var S=s;case x:var O=r&c;if(S||(S=u),e.size!=t.size&&!O)return!1;var j=C.get(e);if(j)return j==t;r|=f,C.set(e,t);var A=l(S(e),S(t),r,a,E,C);return C.delete(e),A;case y:if(k)return k.call(e)==k.call(t)}return!1}var a=n(503),o=n(548),i=n(528),l=n(547),s=n(642),u=n(643),c=1,f=2,d="[object Boolean]",p="[object Date]",h="[object Error]",b="[object Map]",g="[object Number]",v="[object RegExp]",x="[object Set]",m="[object String]",y="[object Symbol]",w="[object ArrayBuffer]",_="[object DataView]",E=a?a.prototype:void 0,k=E?E.valueOf:void 0;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function r(e,t,n,r,i,s){var u=n&o,c=a(e),f=c.length;if(f!=a(t).length&&!u)return!1;for(var d=f;d--;){var p=c[d];if(!(u?p in t:l.call(t,p)))return!1}var h=s.get(e);if(h&&s.get(t))return h==t;var b=!0;s.set(e,t),s.set(t,e);for(var g=u;++d<f;){p=c[d];var v=e[p],x=t[p];if(r)var m=u?r(x,v,p,t,e,s):r(v,x,p,e,t,s);if(!(void 0===m?v===x||i(v,x,n,r,s):m)){b=!1;break}g||(g="constructor"==p)}if(b&&!g){var y=e.constructor,w=t.constructor;y!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof w&&w instanceof w)&&(b=!1)}return s.delete(e),s.delete(t),b}var a=n(549),o=1,i=Object.prototype,l=i.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}e.exports=n},function(e,t,n){var r=n(501),a=n(495),o=r(a,"DataView");e.exports=o},function(e,t,n){var r=n(501),a=n(495),o=r(a,"Promise");e.exports=o},function(e,t,n){var r=n(501),a=n(495),o=r(a,"Set");e.exports=o},function(e,t,n){var r=n(501),a=n(495),o=r(a,"WeakMap");e.exports=o},function(e,t,n){function r(e){for(var t=o(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,a(i)]}return t}var a=n(553),o=n(504);e.exports=r},function(e,t,n){function r(e,t){return l(e)&&s(t)?u(c(e),t):function(n){var r=o(n,e);return void 0===r&&r===t?i(n,e):a(t,r,f|d)}}var a=n(546),o=n(652),i=n(658),l=n(532),s=n(553),u=n(554),c=n(512),f=1,d=2;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(555);e.exports=r},function(e,t,n){var r=n(654),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,function(e,n,r,a){t.push(r?a.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t,n){function r(e){var t=a(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var a=n(655),o=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(r.Cache||a),n}var a=n(530),o="Expected a function";r.Cache=a,e.exports=r},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(657);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e)return e;if(i(e))return o(e,r)+"";if(l(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}var a=n(503),o=n(544),i=n(494),l=n(511),s=1/0,u=a?a.prototype:void 0,c=u?u.toString:void 0;e.exports=r},function(e,t,n){function r(e,t){return null!=e&&o(e,t,a)}var a=n(659),o=n(660);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){t=a(t,e);for(var r=-1,c=t.length,f=!1;++r<c;){var d=u(t[r]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++r!=c?f:!!(c=null==e?0:e.length)&&s(c)&&l(d,c)&&(i(e)||o(e))}var a=n(556),o=n(537),i=n(494),l=n(538),s=n(522),u=n(512);e.exports=r},function(e,t,n){function r(e){return i(e)?a(l(e)):o(e)}var a=n(662),o=n(663),i=n(532),l=n(512);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return a(t,e)}}var a=n(555);e.exports=r},function(e,t,n){function r(e,t){var n=-1,r=o(e)?Array(e.length):[];return a(e,function(e,a,o){r[++n]=t(e,a,o)}),r}var a=n(557),o=n(505);e.exports=r},function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!a(n))return e(n,r);for(var o=n.length,i=t?o:-1,l=Object(n);(t?i--:++i<o)&&!1!==r(l[i],i,l););return n}}var a=n(505);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var a=n(519),o=r(a),i=n(667),l=r(i),s=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},u=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,l.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,o.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=s({},n[t],r[t])}),t}),n};t.default=u},function(e,t,n){function r(e){return a(e,o|i)}var a=n(668),o=1,i=4;e.exports=r},function(e,t,n){function r(e,t,n,N,F,B){var T,L=t&C,z=t&S,D=t&O;if(n&&(T=F?n(e,N,F,B):n(e)),void 0!==T)return T;if(!_(e))return e;var I=m(e);if(I){if(T=g(e),!L)return c(e,T)}else{var H=b(e),G=H==A||H==P;if(y(e))return u(e,L);if(H==M||H==j||G&&!F){if(T=z||G?{}:x(e),!L)return z?d(e,s(T,e)):f(e,l(T,e))}else{if(!R[H])return F?e:{};T=v(e,H,L)}}B||(B=new a);var U=B.get(e);if(U)return U;if(B.set(e,T),E(e))return e.forEach(function(a){T.add(r(a,t,n,a,e,B))}),T;if(w(e))return e.forEach(function(a,o){T.set(o,r(a,t,n,o,e,B))}),T;var W=D?z?h:p:z?keysIn:k,V=I?void 0:W(e);return o(V||e,function(a,o){V&&(o=a,a=e[o]),i(T,o,r(a,t,n,o,e,B))}),T}var a=n(527),o=n(558),i=n(559),l=n(670),s=n(671),u=n(674),c=n(675),f=n(676),d=n(677),p=n(549),h=n(678),b=n(510),g=n(679),v=n(680),x=n(685),m=n(494),y=n(520),w=n(687),_=n(498),E=n(689),k=n(504),C=1,S=2,O=4,j="[object Arguments]",A="[object Function]",P="[object GeneratorFunction]",M="[object Object]",R={};R[j]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[M]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[A]=R["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){var r=n(501),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=a},function(e,t,n){function r(e,t){return e&&a(t,o(t),e)}var a=n(513),o=n(504);e.exports=r},function(e,t,n){function r(e,t){return e&&a(t,o(t),e)}var a=n(513),o=n(561);e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&s.call(e,r))&&n.push(r);return n}var a=n(498),o=n(525),i=n(673),l=Object.prototype,s=l.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var a=n(495),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===o,s=l?a.Buffer:void 0,u=s?s.allocUnsafe:void 0;e.exports=r}).call(t,n(521)(e))},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){function r(e,t){return a(e,o(e),t)}var a=n(513),o=n(531);e.exports=r},function(e,t,n){function r(e,t){return a(e,o(e),t)}var a=n(513),o=n(562);e.exports=r},function(e,t,n){function r(e){return a(e,i,o)}var a=n(550),o=n(562),i=n(561);e.exports=r},function(e,t){function n(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&a.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,a=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n){var r=e.constructor;switch(t){case v:return a(e);case u:case c:return new r(+e);case x:return o(e,n);case m:case y:case w:case _:case E:case k:case C:case S:case O:return s(e,n);case f:return new r;case d:case b:return new r(e);case p:return i(e);case h:return new r;case g:return l(e)}}var a=n(533),o=n(681),i=n(682),l=n(683),s=n(684),u="[object Boolean]",c="[object Date]",f="[object Map]",d="[object Number]",p="[object RegExp]",h="[object Set]",b="[object String]",g="[object Symbol]",v="[object ArrayBuffer]",x="[object DataView]",m="[object Float32Array]",y="[object Float64Array]",w="[object Int8Array]",_="[object Int16Array]",E="[object Int32Array]",k="[object Uint8Array]",C="[object Uint8ClampedArray]",S="[object Uint16Array]",O="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var a=n(533);e.exports=r},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e){return i?Object(i.call(e)):{}}var a=n(503),o=a?a.prototype:void 0,i=o?o.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=t?a(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var a=n(533);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||i(e)?{}:a(o(e))}var a=n(686),o=n(526),i=n(525);e.exports=r},function(e,t,n){var r=n(498),a=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(a)return a(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},function(e,t,n){var r=n(688),a=n(523),o=n(524),i=o&&o.isMap,l=i?a(i):r;e.exports=l},function(e,t,n){function r(e){return o(e)&&a(e)==i}var a=n(510),o=n(497),i="[object Map]";e.exports=r},function(e,t,n){var r=n(690),a=n(523),o=n(524),i=o&&o.isSet,l=i?a(i):r;e.exports=l},function(e,t,n){function r(e){return o(e)&&a(e)==i}var a=n(510),o=n(497),i="[object Set]";e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var r=n(519),a=function(e){return e&&e.__esModule?e:{default:e}}(r),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},i={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n||{extend:e}}},l=t.autoprefix=function(e){var t={};return(0,a.default)(e,function(e,n){var r={};(0,a.default)(e,function(e,t){var n=i[t];n?r=o({},r,n(e)):r[t]=e}),t[n]=r}),t};t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function o(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var i=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},l=n(5),s=function(e){return e&&e.__esModule?e:{default:e}}(l),u=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function l(){var n,o,u,c;r(this,l);for(var f=arguments.length,d=Array(f),p=0;p<f;p++)d[p]=arguments[p];return o=u=a(this,(n=l.__proto__||Object.getPrototypeOf(l)).call.apply(n,[this].concat(d))),u.state={hover:!1},u.handleMouseOver=function(){return u.setState({hover:!0})},u.handleMouseOut=function(){return u.setState({hover:!1})},u.render=function(){return s.default.createElement(t,{onMouseOver:u.handleMouseOver,onMouseOut:u.handleMouseOut},s.default.createElement(e,i({},u.props,u.state)))},c=o,a(u,c)}return o(l,n),l}(s.default.Component)};t.default=u},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function o(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var i=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},l=n(5),s=function(e){return e&&e.__esModule?e:{default:e}}(l),u=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function l(){var n,o,u,c;r(this,l);for(var f=arguments.length,d=Array(f),p=0;p<f;p++)d[p]=arguments[p];return o=u=a(this,(n=l.__proto__||Object.getPrototypeOf(l)).call.apply(n,[this].concat(d))),u.state={active:!1},u.handleMouseDown=function(){return u.setState({active:!0})},u.handleMouseUp=function(){return u.setState({active:!1})},u.render=function(){return s.default.createElement(t,{onMouseDown:u.handleMouseDown,onMouseUp:u.handleMouseUp},s.default.createElement(e,i({},u.props,u.state)))},c=o,a(u,c)}return o(l,n),l}(s.default.Component)};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){var n={},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var l=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},s=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}}(),u=n(5),c=r(u),f=n(492),d=r(f),p=n(696),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),b=n(563),g=r(b),v=t.Alpha=function(e){function t(){var e,n,r,i;a(this,t);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.handleChange=function(e,t){var n=h.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},i=n,o(r,i)}return i(t,e),s(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,n=(0,d.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:l({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return c.default.createElement("div",{style:n.alpha},c.default.createElement("div",{style:n.checkboard},c.default.createElement(g.default,{renderers:this.props.renderers})),c.default.createElement("div",{style:n.gradient}),c.default.createElement("div",{style:n.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},c.default.createElement("div",{style:n.pointer},this.props.pointer?c.default.createElement(this.props.pointer,this.props):c.default.createElement("div",{style:n.slider}))))}}]),t}(u.PureComponent||u.Component);t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){e.preventDefault();var a=r.clientWidth,o=r.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(r.getBoundingClientRect().left+window.pageXOffset),u=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(c=u<0?0:u>o?1:Math.round(100*u/o)/100,n.hsl.a!==c)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:c,source:"rgb"}}else{var f=void 0;if(f=s<0?0:s>a?1:Math.round(100*s/a)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={},a=t.render=function(e,t,n,r){if("undefined"==typeof document&&!r)return null;var a=r?new r:document.createElement("canvas");a.width=2*n,a.height=2*n;var o=a.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,a.width,a.height),o.fillStyle=t,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),a.toDataURL()):null};t.get=function(e,t,n,o){var i=e+"-"+t+"-"+n+(o?"-server":""),l=a(e,t,n,o);return r[i]?r[i]:(r[i]=l,l)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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}function l(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var s=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}}(),u=n(5),c=r(u),f=n(492),d=r(f),p=t.EditableInput=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(e){n.props.label?n.props.onChange&&n.props.onChange(a({},n.props.label,e.target.value),e):n.props.onChange&&n.props.onChange(e.target.value,e),n.setState({value:e.target.value})},n.handleKeyDown=function(e){var t=String(e.target.value),r=t.indexOf("%")>-1,o=Number(t.replace(/%/g,""));if(!isNaN(o)){var i=n.props.arrowOffset||1;38===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(a({},n.props.label,o+i),e):n.props.onChange&&n.props.onChange(o+i,e),r?n.setState({value:o+i+"%"}):n.setState({value:o+i})),40===e.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(a({},n.props.label,o-i),e):n.props.onChange&&n.props.onChange(o-i,e),r?n.setState({value:o-i+"%"}):n.setState({value:o-i}))}},n.handleDrag=function(e){if(n.props.dragLabel){var t=Math.round(n.props.value+e.movementX);t>=0&&t<=n.props.dragMax&&n.props.onChange&&n.props.onChange(a({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return l(t,e),s(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase(),blurValue:!this.state.blurValue&&String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=(0,d.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return c.default.createElement("div",{style:t.wrap},c.default.createElement("input",{style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?c.default.createElement("span",{style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.Component);t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=r(s),c=n(492),f=r(c),d=n(700),p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),h=t.Hue=function(e){function t(){var e,n,r,i;a(this,t);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.handleChange=function(e,t){var n=p.calculateChange(e,t,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,e)},r.handleMouseDown=function(e){r.handleChange(e,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},i=n,o(r,i)}return i(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,n=void 0===t?"horizontal":t,r=(0,f.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return u.default.createElement("div",{style:r.hue},u.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),u.default.createElement("div",{style:r.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:r.slider}))))}}]),t}(s.PureComponent||s.Component);t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){e.preventDefault();var a=r.clientWidth,o=r.clientHeight,i="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,s=i-(r.getBoundingClientRect().left+window.pageXOffset),u=l-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(u<0)c=359;else if(u>o)c=0;else{var f=-100*u/o+100;c=360*f/100}if(n.hsl.h!==c)return{h:c,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var d=void 0;if(s<0)d=0;else if(s>a)d=359;else{var p=100*s/a;d=360*p/100}if(n.hsl.h!==d)return{h:d,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Raised=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=t.Raised=function(e){var t=e.zDepth,n=e.radius,r=e.background,a=e.children,i=(0,u.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},{"zDepth-1":1===t});return o.default.createElement("div",{style:i.wrap},o.default.createElement("div",{style:i.bg}),o.default.createElement("div",{style:i.content},a))};c.propTypes={background:l.default.string,zDepth:l.default.oneOf([0,1,2,3,4,5]),radius:l.default.number},c.defaultProps={background:"#fff",zDepth:1,radius:2},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=r(s),c=n(492),f=r(c),d=n(703),p=r(d),h=n(706),b=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),g=t.Saturation=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleChange=function(e,t){n.props.onChange&&n.throttle(n.props.onChange,b.calculateChange(e,t,n.props,n.container),e)},n.handleMouseDown=function(e){n.handleChange(e,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,p.default)(function(e,t,n){e(t,n)},50),n}return i(t,e),l(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},n=t.color,r=t.white,a=t.black,o=t.pointer,i=t.circle,l=(0,f.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:a,pointer:o,circle:i}},{custom:!!this.props.style});return u.default.createElement("div",{style:l.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},u.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),u.default.createElement("div",{style:l.white,className:"saturation-white"},u.default.createElement("div",{style:l.black,className:"saturation-black"}),u.default.createElement("div",{style:l.pointer},this.props.pointer?u.default.createElement(this.props.pointer,this.props):u.default.createElement("div",{style:l.circle}))))}}]),t}(s.PureComponent||s.Component);t.default=g},function(e,t,n){function r(e,t,n){var r=!0,l=!0;if("function"!=typeof e)throw new TypeError(i);return o(n)&&(r="leading"in n?!!n.leading:r,l="trailing"in n?!!n.trailing:l),a(e,t,{leading:r,maxWait:t,trailing:l})}var a=n(564),o=n(498),i="Expected a function";e.exports=r},function(e,t,n){var r=n(495),a=function(){return r.Date.now()};e.exports=a},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=u.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):s.test(e)?i:+e}var a=n(498),o=n(511),i=NaN,l=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateChange=function(e,t,n,r){e.preventDefault();var a=r.getBoundingClientRect(),o=a.width,i=a.height,l="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,u=l-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);u<0?u=0:u>o?u=o:c<0?c=0:c>i&&(c=i);var f=100*u/o,d=-100*c/i+100;return{h:n.hsl.h,s:f,v:d,a:n.hsl.a,source:"rgb"}}},function(e,t,n){e.exports=n(708)},function(e,t,n){function r(e,t){return(l(e)?a:o)(e,i(t))}var a=n(558),o=n(557),i=n(542),l=n(494);e.exports=r},function(e,t,n){var r;!function(a){function o(e,t){if(e=e||"",t=t||{},e instanceof o)return e;if(!(this instanceof o))return new o(e,t);var n=i(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=W(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=W(this._r)),this._g<1&&(this._g=W(this._g)),this._b<1&&(this._b=W(this._b)),this._ok=n.ok,this._tc_id=U++}function i(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return"string"==typeof e&&(e=D(e)),"object"==typeof e&&(z(e.r)&&z(e.g)&&z(e.b)?(t=l(e.r,e.g,e.b),i=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):z(e.h)&&z(e.s)&&z(e.v)?(r=B(e.s),a=B(e.v),t=f(e.h,r,a),i=!0,s="hsv"):z(e.h)&&z(e.s)&&z(e.l)&&(r=B(e.s),o=B(e.l),t=u(e.h,r,o),i=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a)),n=j(n),{ok:i,format:e.format||s,r:V(255,X(t.r,0)),g:V(255,X(t.g,0)),b:V(255,X(t.b,0)),a:n}}function l(e,t,n){return{r:255*A(e,255),g:255*A(t,255),b:255*A(n,255)}}function s(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,a,o=X(e,t,n),i=V(e,t,n),l=(o+i)/2;if(o==i)r=a=0;else{var s=o-i;switch(a=l>.5?s/(2-o-i):s/(o+i),o){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:a,l:l}}function u(e,t,n){function r(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}var a,o,i;if(e=A(e,360),t=A(t,100),n=A(n,100),0===t)a=o=i=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;a=r(s,l,e+1/3),o=r(s,l,e),i=r(s,l,e-1/3)}return{r:255*a,g:255*o,b:255*i}}function c(e,t,n){e=A(e,255),t=A(t,255),n=A(n,255);var r,a,o=X(e,t,n),i=V(e,t,n),l=o,s=o-i;if(a=0===o?0:s/o,o==i)r=0;else{switch(o){case e:r=(t-n)/s+(t<n?6:0);break;case t:r=(n-e)/s+2;break;case n:r=(e-t)/s+4}r/=6}return{h:r,s:a,v:l}}function f(e,t,n){e=6*A(e,360),t=A(t,100),n=A(n,100);var r=a.floor(e),o=e-r,i=n*(1-t),l=n*(1-o*t),s=n*(1-(1-o)*t),u=r%6;return{r:255*[n,l,i,i,s,n][u],g:255*[s,n,n,l,i,i][u],b:255*[i,i,s,n,n,l][u]}}function d(e,t,n,r){var a=[F(W(e).toString(16)),F(W(t).toString(16)),F(W(n).toString(16))];return r&&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[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function p(e,t,n,r,a){var o=[F(W(e).toString(16)),F(W(t).toString(16)),F(W(n).toString(16)),F(T(r))];return a&&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[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function h(e,t,n,r){return[F(T(r)),F(W(e).toString(16)),F(W(t).toString(16)),F(W(n).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s-=t/100,n.s=P(n.s),o(n)}function g(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.s+=t/100,n.s=P(n.s),o(n)}function v(e){return o(e).desaturate(100)}function x(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l+=t/100,n.l=P(n.l),o(n)}function m(e,t){t=0===t?0:t||10;var n=o(e).toRgb();return n.r=X(0,V(255,n.r-W(-t/100*255))),n.g=X(0,V(255,n.g-W(-t/100*255))),n.b=X(0,V(255,n.b-W(-t/100*255))),o(n)}function y(e,t){t=0===t?0:t||10;var n=o(e).toHsl();return n.l-=t/100,n.l=P(n.l),o(n)}function w(e,t){var n=o(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,o(n)}function _(e){var t=o(e).toHsl();return t.h=(t.h+180)%360,o(t)}function E(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+120)%360,s:t.s,l:t.l}),o({h:(n+240)%360,s:t.s,l:t.l})]}function k(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+90)%360,s:t.s,l:t.l}),o({h:(n+180)%360,s:t.s,l:t.l}),o({h:(n+270)%360,s:t.s,l:t.l})]}function C(e){var t=o(e).toHsl(),n=t.h;return[o(e),o({h:(n+72)%360,s:t.s,l:t.l}),o({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var r=o(e).toHsl(),a=360/n,i=[o(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(o(r));return i}function O(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,a=n.s,i=n.v,l=[],s=1/t;t--;)l.push(o({h:r,s:a,v:i})),i=(i+s)%1;return l}function j(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function A(e,t){R(e)&&(e="100%");var n=N(e);return e=V(t,X(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function P(e){return V(1,X(0,e))}function M(e){return parseInt(e,16)}function R(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)}function N(e){return"string"==typeof e&&-1!=e.indexOf("%")}function F(e){return 1==e.length?"0"+e:""+e}function B(e){return e<=1&&(e=100*e+"%"),e}function T(e){return a.round(255*parseFloat(e)).toString(16)}function L(e){return M(e)/255}function z(e){return!!K.CSS_UNIT.exec(e)}function D(e){e=e.replace(H,"").replace(G,"").toLowerCase();var t=!1;if($[e])e=$[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=K.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=K.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=K.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=K.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=K.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=K.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=K.hex8.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),a:L(n[4]),format:t?"name":"hex8"}:(n=K.hex6.exec(e))?{r:M(n[1]),g:M(n[2]),b:M(n[3]),format:t?"name":"hex"}:(n=K.hex4.exec(e))?{r:M(n[1]+""+n[1]),g:M(n[2]+""+n[2]),b:M(n[3]+""+n[3]),a:L(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=K.hex3.exec(e))&&{r:M(n[1]+""+n[1]),g:M(n[2]+""+n[2]),b:M(n[3]+""+n[3]),format:t?"name":"hex"}}function I(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var H=/^\s+/,G=/\s+$/,U=0,W=a.round,V=a.min,X=a.max,q=a.random;o.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,o,i,l=this.toRgb();return e=l.r/255,t=l.g/255,n=l.b/255,r=e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4),i=n<=.03928?n/12.92:a.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=j(e),this._roundA=W(100*this._a)/100,this},toHsv:function(){var e=c(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=c(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return p(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:W(this._r),g:W(this._g),b:W(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+W(this._r)+", "+W(this._g)+", "+W(this._b)+")":"rgba("+W(this._r)+", "+W(this._g)+", "+W(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:W(100*A(this._r,255))+"%",g:W(100*A(this._g,255))+"%",b:W(100*A(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+W(100*A(this._r,255))+"%, "+W(100*A(this._g,255))+"%, "+W(100*A(this._b,255))+"%)":"rgba("+W(100*A(this._r,255))+"%, "+W(100*A(this._g,255))+"%, "+W(100*A(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Y[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=o(e);n="#"+h(a._r,a._g,a._b,a._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 o(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(m,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(w,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(O,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:B(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:q(),g:q(),b:q()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r=o(e).toRgb(),a=o(t).toRgb(),i=n/100;return o({r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a})},o.readability=function(e,t){var n=o(e),r=o(t);return(a.max(n.getLuminance(),r.getLuminance())+.05)/(a.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,a,i=o.readability(e,t);switch(a=!1,r=I(n),r.level+r.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},o.mostReadable=function(e,t,n){var r,a,i,l,s=null,u=0;n=n||{},a=n.includeFallbackColors,i=n.level,l=n.size;for(var c=0;c<t.length;c++)(r=o.readability(e,t[c]))>u&&(u=r,s=o(t[c]));return o.isReadable(e,s,{level:i,size:l})||!a?s:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var $=o.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"},Y=o.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}($),K=function(){var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),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})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}(Math)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var a=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=n(5),i=r(o),l=n(492),s=r(l),u=n(711),c=n(493),f=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,o=void 0===r?function(){}:r,l=e.onHover,u=e.title,f=void 0===u?t:u,d=e.children,p=e.focus,h=e.focusStyle,b=void 0===h?{}:h,g="transparent"===t,v=(0,s.default)({default:{swatch:a({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,p?b:{})}}),x=function(e){return o(t,e)},m=function(e){return 13===e.keyCode&&o(t,e)},y=function(e){return l(t,e)},w={};return l&&(w.onMouseOver=y),i.default.createElement("div",a({style:v.swatch,onClick:x,title:f,tabIndex:0,onKeyDown:m},w),d,g&&i.default.createElement(c.Checkboard,{borderRadius:v.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};t.default=(0,u.handleFocus)(f)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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}function o(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFocus=void 0;var i=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},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=function(e){return e&&e.__esModule?e:{default:e}}(s);t.handleFocus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function s(){var e,t,n,o;r(this,s);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return t=n=a(this,(e=s.__proto__||Object.getPrototypeOf(s)).call.apply(e,[this].concat(l))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},o=t,a(n,o)}return o(s,n),l(s,[{key:"render",value:function(){return u.default.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},u.default.createElement(e,i({},this.props,this.state)))}}]),s}(u.default.Component)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.AlphaPointer=function(e){var t=e.direction,n=(0,l.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return o.default.createElement("div",{style:n.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(496),f=r(c),d=n(493),p=n(714),h=r(p),b=t.Block=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,a=e.colors,i=e.width,l=e.triangle,s=e.className,c=void 0===s?"":s,p="transparent"===r,b=function(e,n){f.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},g=(0,u.default)({default:{card:{width:i,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:r,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:f.default.getContrastingColor(r),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+r+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===l});return o.default.createElement("div",{style:g.card,className:"block-picker "+c},o.default.createElement("div",{style:g.triangle}),o.default.createElement("div",{style:g.head},p&&o.default.createElement(d.Checkboard,{borderRadius:"6px 6px 0 0"}),o.default.createElement("div",{style:g.label},r)),o.default.createElement("div",{style:g.body},o.default.createElement(h.default,{colors:a,onClick:b,onSwatchHover:n}),o.default.createElement(d.EditableInput,{style:{input:g.input},value:r,onChange:b})))};b.propTypes={width:l.default.oneOfType([l.default.string,l.default.number]),colors:l.default.arrayOf(l.default.string),triangle:l.default.oneOf(["top","hide"])},b.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,d.ColorWrap)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(499),u=r(s),c=n(493),f=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,a=(0,l.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return o.default.createElement("div",{style:a.swatches},(0,u.default)(t,function(e){return o.default.createElement(c.Swatch,{key:e,color:e,style:a.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),o.default.createElement("div",{style:a.clear}))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(499),f=r(c),d=n(566),p=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(d),h=n(493),b=n(716),g=r(b),v=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.onSwatchHover,a=e.colors,i=e.hex,l=e.circleSize,s=e.circleSpacing,c=e.className,d=void 0===c?"":c,p=(0,u.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-s,marginBottom:-s}}}),h=function(e,t){return n({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:p.card,className:"circle-picker "+d},(0,f.default)(a,function(e){return o.default.createElement(g.default,{key:e,color:e,onClick:h,onSwatchHover:r,active:i===e.toLowerCase(),circleSize:l,circleSpacing:s})}))};v.propTypes={width:l.default.oneOfType([l.default.string,l.default.number]),circleSize:l.default.number,circleSpacing:l.default.number},v.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[p.red[500],p.pink[500],p.purple[500],p.deepPurple[500],p.indigo[500],p.blue[500],p.lightBlue[500],p.cyan[500],p.teal[500],p.green[500],p.lightGreen[500],p.lime[500],p.yellow[500],p.amber[500],p.orange[500],p.deepOrange[500],p.brown[500],p.blueGrey[500]]},t.default=(0,h.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(493),u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,a=e.hover,i=e.active,u=e.circleSize,c=e.circleSpacing,f=(0,l.default)({default:{swatch:{width:u,height:u,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+u/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:i});return o.default.createElement("div",{style:f.swatch},o.default.createElement(s.Swatch,{style:f.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+t}}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,i.handleHover)(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(493),f=n(718),d=r(f),p=n(719),h=r(p),b=n(720),g=r(b),v=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,a=e.hsl,i=e.hsv,l=e.hex,s=e.renderers,f=e.className,p=void 0===f?"":f,b=(0,u.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:n});return o.default.createElement("div",{style:b.picker,className:"chrome-picker "+p},o.default.createElement("div",{style:b.saturation},o.default.createElement(c.Saturation,{style:b.Saturation,hsl:a,hsv:i,pointer:g.default,onChange:t})),o.default.createElement("div",{style:b.body},o.default.createElement("div",{style:b.controls,className:"flexbox-fix"},o.default.createElement("div",{style:b.color},o.default.createElement("div",{style:b.swatch},o.default.createElement("div",{style:b.active}),o.default.createElement(c.Checkboard,{renderers:s}))),o.default.createElement("div",{style:b.toggles},o.default.createElement("div",{style:b.hue},o.default.createElement(c.Hue,{style:b.Hue,hsl:a,pointer:h.default,onChange:t})),o.default.createElement("div",{style:b.alpha},o.default.createElement(c.Alpha,{style:b.Alpha,rgb:r,hsl:a,pointer:h.default,renderers:s,onChange:t})))),o.default.createElement(d.default,{rgb:r,hsl:a,hex:l,onChange:t,disableAlpha:n})))};v.propTypes={disableAlpha:l.default.bool},v.defaultProps={disableAlpha:!1},t.default=(0,c.ColorWrap)(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=r(s),c=n(492),f=r(c),d=n(496),p=r(d),h=n(493),b=t.ChromeFields=function(e){function t(){var e,n,r,i;a(this,t);for(var l=arguments.length,s=Array(l),u=0;u<l;u++)s[u]=arguments[u];return n=r=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.state={view:""},r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?p.default.isValidHex(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:Number(e.s&&e.s||r.props.hsl.s),l:Number(e.l&&e.l||r.props.hsl.l),source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},i=n,o(r,i)}return i(t,e),l(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=this,t=(0,f.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=u.default.createElement("div",{style:t.fields,className:"flexbox-fix"},u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.field},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:t.alpha},u.default.createElement(h.EditableInput,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:t.wrap,className:"flexbox-fix"},n,u.default.createElement("div",{style:t.toggle},u.default.createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},u.default.createElement("svg",{style:t.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},u.default.createElement("path",{ref:function(t){return e.iconUp=t},fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),u.default.createElement("path",{ref:function(t){return e.iconDown=t},fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(u.default.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.ChromePointer=function(){var e=(0,l.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.default.createElement("div",{style:e.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.ChromePointerCircle=function(){var e=(0,l.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return o.default.createElement("div",{style:e.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(499),f=r(c),d=n(496),p=r(d),h=n(493),b=n(722),g=r(b),v=n(723),x=r(v),m=t.Compact=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.colors,a=e.hex,i=e.rgb,l=e.className,s=void 0===l?"":l,c=(0,u.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),d=function(e,n){e.hex?p.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return o.default.createElement(h.Raised,{style:c.Compact},o.default.createElement("div",{style:c.compact,className:"compact-picker "+s},o.default.createElement("div",null,(0,f.default)(r,function(e){return o.default.createElement(g.default,{key:e,color:e,active:e.toLowerCase()===a,onClick:d,onSwatchHover:n})}),o.default.createElement("div",{style:c.clear})),o.default.createElement(x.default,{hex:a,rgb:i,onChange:d})))};m.propTypes={colors:l.default.arrayOf(l.default.string)},m.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,h.ColorWrap)(m)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactColor=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(496),u=r(s),c=n(493),f=t.CompactColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,i=e.active,s=(0,l.default)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:u.default.getContrastingColor(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:i,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return o.default.createElement(c.Swatch,{style:s.color,color:t,onClick:r,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},o.default.createElement("div",{style:s.dot}))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CompactFields=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(493),u=t.CompactFields=function(e){var t=e.hex,n=e.rgb,r=e.onChange,a=(0,l.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),i=function(e,t){e.r||e.g||e.b?r({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},t):r({hex:e.hex,source:"hex"},t)};return o.default.createElement("div",{style:a.fields,className:"flexbox-fix"},o.default.createElement("div",{style:a.active}),o.default.createElement(s.EditableInput,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"hex",value:t,onChange:i}),o.default.createElement(s.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:n.r,onChange:i}),o.default.createElement(s.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:n.g,onChange:i}),o.default.createElement(s.EditableInput,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:n.b,onChange:i}))};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Github=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(499),f=r(c),d=n(493),p=n(725),h=r(p),b=t.Github=function(e){var t=e.width,n=e.colors,r=e.onChange,a=e.onSwatchHover,i=e.triangle,l=e.className,s=void 0===l?"":l,c=(0,u.default)({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},{"hide-triangle":"hide"===i,"top-left-triangle":"top-left"===i,"top-right-triangle":"top-right"===i,"bottom-left-triangle":"bottom-left"==i,"bottom-right-triangle":"bottom-right"===i}),d=function(e,t){return r({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:c.card,className:"github-picker "+s},o.default.createElement("div",{style:c.triangleShadow}),o.default.createElement("div",{style:c.triangle}),(0,f.default)(n,function(e){return o.default.createElement(h.default,{color:e,key:e,onClick:d,onSwatchHover:a})}))};b.propTypes={width:l.default.oneOfType([l.default.string,l.default.number]),colors:l.default.arrayOf(l.default.string),triangle:l.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"])},b.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left"},t.default=(0,d.ColorWrap)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.GithubSwatch=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(493),u=t.GithubSwatch=function(e){var t=e.hover,n=e.color,r=e.onClick,a=e.onSwatchHover,i={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},u=(0,l.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:i}},{hover:t});return o.default.createElement("div",{style:u.swatch},o.default.createElement(s.Swatch,{color:n,onClick:r,onHover:a,focusStyle:i}))};t.default=(0,i.handleHover)(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HuePicker=void 0;var a=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=n(5),i=r(o),l=n(492),s=r(l),u=n(493),c=n(727),f=r(c),d=t.HuePicker=function(e){var t=e.width,n=e.height,r=e.onChange,o=e.hsl,l=e.direction,c=e.pointer,f=e.className,d=void 0===f?"":f,p=(0,s.default)({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}}),h=function(e){return r({a:1,h:e.h,l:.5,s:1})};return i.default.createElement("div",{style:p.picker,className:"hue-picker "+d},i.default.createElement(u.Hue,a({},p.hue,{hsl:o,pointer:c,onChange:h,direction:l})))};d.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:f.default},t.default=(0,u.ColorWrap)(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.SliderPointer=function(e){var t=e.direction,n=(0,l.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return o.default.createElement("div",{style:n.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Material=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(496),u=r(s),c=n(493),f=t.Material=function(e){var t=e.onChange,n=e.hex,r=e.rgb,a=e.className,i=void 0===a?"":a,s=(0,l.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}}),f=function(e,n){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):(e.r||e.g||e.b)&&t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n)};return o.default.createElement(c.Raised,null,o.default.createElement("div",{style:s.material,className:"material-picker "+i},o.default.createElement(c.EditableInput,{style:{wrap:s.HEXwrap,input:s.HEXinput,label:s.HEXlabel},label:"hex",value:n,onChange:f}),o.default.createElement("div",{style:s.split,className:"flexbox-fix"},o.default.createElement("div",{style:s.third},o.default.createElement(c.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"r",value:r.r,onChange:f})),o.default.createElement("div",{style:s.third},o.default.createElement(c.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"g",value:r.g,onChange:f})),o.default.createElement("div",{style:s.third},o.default.createElement(c.EditableInput,{style:{wrap:s.RGBwrap,input:s.RGBinput,label:s.RGBlabel},label:"b",value:r.b,onChange:f})))))};t.default=(0,c.ColorWrap)(f)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.Photoshop=void 0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(5),u=r(s),c=n(11),f=r(c),d=n(492),p=r(d),h=n(493),b=n(730),g=r(b),v=n(731),x=r(v),m=n(732),y=r(m),w=n(733),_=r(w),E=n(734),k=r(E),C=t.Photoshop=function(e){function t(e){a(this,t);var n=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.state={currentColor:e.hex},n}return i(t,e),l(t,[{key:"render",value:function(){var e=this.props.className,t=void 0===e?"":e,n=(0,p.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}});return u.default.createElement("div",{style:n.picker,className:"photoshop-picker "+t},u.default.createElement("div",{style:n.head},this.props.header),u.default.createElement("div",{style:n.body,className:"flexbox-fix"},u.default.createElement("div",{style:n.saturation},u.default.createElement(h.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:x.default,onChange:this.props.onChange})),u.default.createElement("div",{style:n.hue},u.default.createElement(h.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:y.default,onChange:this.props.onChange})),u.default.createElement("div",{style:n.controls},u.default.createElement("div",{style:n.top,className:"flexbox-fix"},u.default.createElement("div",{style:n.previews},u.default.createElement(k.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),u.default.createElement("div",{style:n.actions},u.default.createElement(_.default,{label:"OK",onClick:this.props.onAccept,active:!0}),u.default.createElement(_.default,{label:"Cancel",onClick:this.props.onCancel}),u.default.createElement(g.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(u.default.Component);C.propTypes={header:f.default.string},C.defaultProps={header:"Color Picker"},t.default=(0,h.ColorWrap)(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(496),u=r(s),c=n(493),f=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,r=e.hsv,a=e.hex,i=(0,l.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,a){e["#"]?u.default.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},a):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},a):(e.h||e.s||e.v)&&t({h:e.h||r.h,s:e.s||r.s,v:e.v||r.v,source:"hsv"},a)};return o.default.createElement("div",{style:i.fields},o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"h",value:Math.round(r.h),onChange:s}),o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"s",value:Math.round(100*r.s),onChange:s}),o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"v",value:Math.round(100*r.v),onChange:s}),o.default.createElement("div",{style:i.divider}),o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:n.r,onChange:s}),o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:n.g,onChange:s}),o.default.createElement(c.EditableInput,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:n.b,onChange:s}),o.default.createElement("div",{style:i.divider}),o.default.createElement(c.EditableInput,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"#",value:a.replace("#",""),onChange:s}),o.default.createElement("div",{style:i.fieldSymbols},o.default.createElement("div",{style:i.symbol},"°"),o.default.createElement("div",{style:i.symbol},"%"),o.default.createElement("div",{style:i.symbol},"%")))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.PhotoshopPointerCircle=function(e){var t=e.hsl,n=(0,l.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return o.default.createElement("div",{style:n.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.PhotoshopPointerCircle=function(){var e=(0,l.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return o.default.createElement("div",{style:e.pointer},o.default.createElement("div",{style:e.left},o.default.createElement("div",{style:e.leftInside})),o.default.createElement("div",{style:e.right},o.default.createElement("div",{style:e.rightInside})))};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,r=e.children,a=e.active,i=(0,l.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return o.default.createElement("div",{style:i.button,onClick:t},n||r)};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,l.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return o.default.createElement("div",null,o.default.createElement("div",{style:r.label},"new"),o.default.createElement("div",{style:r.swatches},o.default.createElement("div",{style:r.new}),o.default.createElement("div",{style:r.current})),o.default.createElement("div",{style:r.label},"current"))};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(493),f=n(736),d=r(f),p=n(737),h=r(p),b=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,a=e.hsv,i=e.hsl,l=e.onChange,s=e.onSwatchHover,f=e.disableAlpha,p=e.presetColors,b=e.renderers,g=e.className,v=void 0===g?"":g,x=(0,u.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:f});return o.default.createElement("div",{style:x.picker,className:"sketch-picker "+v},o.default.createElement("div",{style:x.saturation},o.default.createElement(c.Saturation,{style:x.Saturation,hsl:i,hsv:a,onChange:l})),o.default.createElement("div",{style:x.controls,className:"flexbox-fix"},o.default.createElement("div",{style:x.sliders},o.default.createElement("div",{style:x.hue},o.default.createElement(c.Hue,{style:x.Hue,hsl:i,onChange:l})),o.default.createElement("div",{style:x.alpha},o.default.createElement(c.Alpha,{style:x.Alpha,rgb:n,hsl:i,renderers:b,onChange:l}))),o.default.createElement("div",{style:x.color},o.default.createElement(c.Checkboard,null),o.default.createElement("div",{style:x.activeColor}))),o.default.createElement(d.default,{rgb:n,hsl:i,hex:r,onChange:l,disableAlpha:f}),o.default.createElement(h.default,{colors:p,onClick:l,onSwatchHover:s}))};b.propTypes={disableAlpha:l.default.bool,width:l.default.oneOfType([l.default.string,l.default.number])},b.defaultProps={disableAlpha:!1,width:200,presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},t.default=(0,c.ColorWrap)(b)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchFields=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(496),u=r(s),c=n(493),f=t.SketchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,a=e.hex,i=e.disableAlpha,s=(0,l.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:i}),f=function(e,a){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},a):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},a):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},a))};return o.default.createElement("div",{style:s.fields,className:"flexbox-fix"},o.default.createElement("div",{style:s.double},o.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"hex",value:a.replace("#",""),onChange:f})),o.default.createElement("div",{style:s.single},o.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:s.single},o.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:s.single},o.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:s.alpha},o.default.createElement(c.EditableInput,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var a=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=n(5),i=r(o),l=n(11),s=r(l),u=n(492),c=r(u),f=n(493),d=t.SketchPresetColors=function(e){var t=e.colors,n=e.onClick,r=void 0===n?function(){}:n,o=e.onSwatchHover,l=(0,c.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){r({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:l.colors,className:"flexbox-fix"},t.map(function(e){var t="string"==typeof e?{color:e}:e,n=""+t.color+(t.title||"");return i.default.createElement("div",{key:n,style:l.swatchWrap},i.default.createElement(f.Swatch,a({},t,{style:l.swatch,onClick:s,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))}))};d.propTypes={colors:s.default.arrayOf(s.default.oneOfType([s.default.string,s.default.shape({color:s.default.string,title:s.default.string})])).isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Slider=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(493),u=n(739),c=r(u),f=n(741),d=r(f),p=t.Slider=function(e){var t=e.hsl,n=e.onChange,r=e.pointer,a=e.className,i=void 0===a?"":a,u=(0,l.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}});return o.default.createElement("div",{className:"slider-picker "+i},o.default.createElement("div",{style:u.hue},o.default.createElement(s.Hue,{style:u.Hue,hsl:t,pointer:r,onChange:n})),o.default.createElement("div",{style:u.swatches},o.default.createElement(c.default,{hsl:t,onClick:n})))};p.defaultProps={pointer:d.default},t.default=(0,s.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatches=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(740),u=r(s),c=t.SliderSwatches=function(e){var t=e.onClick,n=e.hsl,r=(0,l.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return o.default.createElement("div",{style:r.swatches},o.default.createElement("div",{style:r.swatch},o.default.createElement(u.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:t,first:!0})),o.default.createElement("div",{style:r.swatch},o.default.createElement(u.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:t})),o.default.createElement("div",{style:r.swatch},o.default.createElement(u.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:t})),o.default.createElement("div",{style:r.swatch},o.default.createElement(u.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:t})),o.default.createElement("div",{style:r.swatch},o.default.createElement(u.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:t,last:!0})),o.default.createElement("div",{style:r.clear}))};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderSwatch=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.SliderSwatch=function(e){var t=e.hsl,n=e.offset,r=e.onClick,a=void 0===r?function(){}:r,i=e.active,s=e.first,u=e.last,c=(0,l.default)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:i,first:s,last:u}),f=function(e){return a({h:t.h,s:.5,l:n,source:"hsl"},e)};return o.default.createElement("div",{style:c.swatch,onClick:f})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SliderPointer=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=t.SliderPointer=function(){var e=(0,l.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.default.createElement("div",{style:e.picker})};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatches=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(499),f=r(c),d=n(496),p=r(d),h=n(566),b=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),g=n(493),v=n(743),x=r(v),m=t.Swatches=function(e){var t=e.width,n=e.height,r=e.onChange,a=e.onSwatchHover,i=e.colors,l=e.hex,s=e.className,c=void 0===s?"":s,d=(0,u.default)({default:{picker:{width:t,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}}),h=function(e,t){p.default.isValidHex(e)&&r({hex:e,source:"hex"},t)};return o.default.createElement("div",{style:d.picker,className:"swatches-picker "+c},o.default.createElement(g.Raised,null,o.default.createElement("div",{style:d.overflow},o.default.createElement("div",{style:d.body},(0,f.default)(i,function(e){return o.default.createElement(x.default,{key:e.toString(),group:e,active:l,onClick:h,onSwatchHover:a})}),o.default.createElement("div",{style:d.clear})))))};m.propTypes={width:l.default.oneOfType([l.default.string,l.default.number]),height:l.default.oneOfType([l.default.string,l.default.number]),colors:l.default.arrayOf(l.default.arrayOf(l.default.string))},m.defaultProps={width:320,height:240,colors:[[b.red[900],b.red[700],b.red[500],b.red[300],b.red[100]],[b.pink[900],b.pink[700],b.pink[500],b.pink[300],b.pink[100]],[b.purple[900],b.purple[700],b.purple[500],b.purple[300],b.purple[100]],[b.deepPurple[900],b.deepPurple[700],b.deepPurple[500],b.deepPurple[300],b.deepPurple[100]],[b.indigo[900],b.indigo[700],b.indigo[500],b.indigo[300],b.indigo[100]],[b.blue[900],b.blue[700],b.blue[500],b.blue[300],b.blue[100]],[b.lightBlue[900],b.lightBlue[700],b.lightBlue[500],b.lightBlue[300],b.lightBlue[100]],[b.cyan[900],b.cyan[700],b.cyan[500],b.cyan[300],b.cyan[100]],[b.teal[900],b.teal[700],b.teal[500],b.teal[300],b.teal[100]],["#194D33",b.green[700],b.green[500],b.green[300],b.green[100]],[b.lightGreen[900],b.lightGreen[700],b.lightGreen[500],b.lightGreen[300],b.lightGreen[100]],[b.lime[900],b.lime[700],b.lime[500],b.lime[300],b.lime[100]],[b.yellow[900],b.yellow[700],b.yellow[500],b.yellow[300],b.yellow[100]],[b.amber[900],b.amber[700],b.amber[500],b.amber[300],b.amber[100]],[b.orange[900],b.orange[700],b.orange[500],b.orange[300],b.orange[100]],[b.deepOrange[900],b.deepOrange[700],b.deepOrange[500],b.deepOrange[300],b.deepOrange[100]],[b.brown[900],b.brown[700],b.brown[500],b.brown[300],b.brown[100]],[b.blueGrey[900],b.blueGrey[700],b.blueGrey[500],b.blueGrey[300],b.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]]},t.default=(0,g.ColorWrap)(m)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesGroup=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(499),u=r(s),c=n(744),f=r(c),d=t.SwatchesGroup=function(e){var t=e.onClick,n=e.onSwatchHover,r=e.group,a=e.active,i=(0,l.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return o.default.createElement("div",{style:i.group},(0,u.default)(r,function(e,i){return o.default.createElement(f.default,{key:e,color:e,active:e.toLowerCase()===a,first:0===i,last:i===r.length-1,onClick:t,onSwatchHover:n})}))};t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SwatchesColor=void 0;var a=n(5),o=r(a),i=n(492),l=r(i),s=n(496),u=r(s),c=n(493),f=t.SwatchesColor=function(e){var t=e.color,n=e.onClick,r=void 0===n?function(){}:n,a=e.onSwatchHover,i=e.first,s=e.last,f=e.active,d=(0,l.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{fill:u.default.getContrastingColor(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{fill:"#333"}},transparent:{check:{fill:"#333"}}},{first:i,last:s,active:f,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return o.default.createElement(c.Swatch,{color:t,style:d.color,onClick:r,onHover:a,focusStyle:{boxShadow:"0 0 4px "+t}},o.default.createElement("div",{style:d.check},o.default.createElement("svg",{style:{width:"24px",height:"24px"},viewBox:"0 0 24 24"},o.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Twitter=void 0;var a=n(5),o=r(a),i=n(11),l=r(i),s=n(492),u=r(s),c=n(499),f=r(c),d=n(496),p=r(d),h=n(493),b=t.Twitter=function(e){var t=e.onChange,n=e.onSwatchHover,r=e.hex,a=e.colors,i=e.width,l=e.triangle,s=e.className,c=void 0===s?"":s,d=(0,u.default)({default:{card:{width:i,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l}),b=function(e,n){p.default.isValidHex(e)&&t({hex:e,source:"hex"},n)};return o.default.createElement("div",{style:d.card,className:"twitter-picker "+c},o.default.createElement("div",{style:d.triangleShadow}),o.default.createElement("div",{style:d.triangle}),o.default.createElement("div",{style:d.body},(0,f.default)(a,function(e,t){return o.default.createElement(h.Swatch,{key:t,color:e,hex:e,style:d.swatch,onClick:b,onHover:n,focusStyle:{boxShadow:"0 0 4px "+e}})}),o.default.createElement("div",{style:d.hash},"#"),o.default.createElement(h.EditableInput,{style:{input:d.input},value:r.replace("#",""),onChange:b}),o.default.createElement("div",{style:d.clear})))};b.propTypes={width:l.default.oneOfType([l.default.string,l.default.number]),triangle:l.default.oneOf(["hide","top-left","top-right"]),colors:l.default.arrayOf(l.default.string)},b.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left"},t.default=(0,h.ColorWrap)(b)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(747),a=n.n(r),o=n(748),i=n.n(o),l=n(749),s=n.n(l),u=n(750),c=n(756),f=(n.n(c),n(5)),d=(n.n(f),n(759)),p=n.n(d),h=function(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1},b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,t.initialState={hasError:!1,isLoading:!0},t.state=t.initialState,t.container=void 0,t.svgWrapper=void 0,t.refCallback=function(e){t.container=e},t}s()(t,e);var n=t.prototype;return n.renderSVG=function(){var e=this;if(this.container instanceof Node){var t=this.props,n=t.evalScripts,r=t.renumerateIRIElements,a=t.src,o=t.svgClassName,i=t.svgStyle,l=this.props.onInjected,s=this.props.wrapper,c=document.createElement(s);c.innerHTML=p.a.renderToStaticMarkup(Object(f.createElement)(s,null,Object(f.createElement)(s,{className:o,"data-src":a,style:i}))),this.svgWrapper=this.container.appendChild(c.firstChild);var d=function(t,n){t&&e.removeSVG(),e.setState(function(){return{hasError:!!t,isLoading:!1}},function(){l(t,n)})};Object(u.a)(this.svgWrapper.firstChild,{each:d,evalScripts:n,renumerateIRIElements:r})}},n.removeSVG=function(){this.container instanceof Node&&this.svgWrapper instanceof Node&&(this.container.removeChild(this.svgWrapper),this.svgWrapper=null)},n.componentDidMount=function(){this.renderSVG()},n.componentDidUpdate=function(e){var t=this;h(e,this.props)&&this.setState(function(){return t.initialState},function(){t.removeSVG(),t.renderSVG()})},n.componentWillUnmount=function(){this.removeSVG()},n.render=function(){var e=this.props,t=(e.evalScripts,e.fallback),n=e.loading,r=(e.onInjected,e.renumerateIRIElements,e.src,e.svgClassName,e.svgStyle,e.wrapper),o=i()(e,["evalScripts","fallback","loading","onInjected","renumerateIRIElements","src","svgClassName","svgStyle","wrapper"]),l=r;return Object(f.createElement)(l,a()({},o,{ref:this.refCallback}),this.state.isLoading&&n&&Object(f.createElement)(n,null),this.state.hasError&&t&&Object(f.createElement)(t,null))},t}(f.Component);b.defaultProps={evalScripts:"never",fallback:null,loading:null,onInjected:function(){},renumerateIRIElements:!0,svgClassName:null,svgStyle:{},wrapper:"div"},b.propTypes={},t.default=b},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){function n(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}e.exports=n},function(e,t){function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}e.exports=n},function(e,t,n){"use strict";var r=n(751);t.a=r.a},function(e,t,n){"use strict";var r=n(752),a=function(e,t,n){var a=void 0===t?{}:t,o=a.evalScripts,i=void 0===o?"always":o,l=a.pngFallback,s=void 0!==l&&l,u=a.each,c=void 0===u?function(){}:u,f=a.renumerateIRIElements,d=void 0===f||f;if(void 0===n&&(n=function(){}),void 0!==e.length){var p=0;Array.prototype.forEach.call(e,function(t){Object(r.a)(t,i,s,d,function(t,r){c(t,r),e.length===++p&&n(p)})})}else e?Object(r.a)(e,i,s,d,function(t,r){c(t,r),n(1),e=null}):n(0)};t.a=a},function(e,t,n){"use strict";var r=n(753),a=n(755),o="http://www.w3.org/1999/xlink",i=[],l={},s=0,u=function(e,t,n,u,c){var f=document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"),d=e.getAttribute("data-src")||e.getAttribute("src");if(!/\.svg/i.test(d))return void c(new Error("Attempted to inject a file with a non-svg extension: "+d));if(!f){var p=e.getAttribute("data-fallback")||e.getAttribute("data-png");return void(p?(e.setAttribute("src",p),c()):n?(e.setAttribute("src",n+"/"+d.split("/").pop().replace(".svg",".png")),c()):c(new Error("This browser does not support SVG and no PNG fallback was defined.")))}-1===i.indexOf(e)&&(i.push(e),e.setAttribute("src",""),Object(r.a)(d,function(n,r){if(n)return c(n),!1;var f=e.getAttribute("id");f&&r.setAttribute("id",f);var p=e.getAttribute("title");p&&r.setAttribute("title",p);var h=[].concat(r.getAttribute("class")||[],"injected-svg",e.getAttribute("class")||[]).join(" ");r.setAttribute("class",Object(a.a)(h));var b=e.getAttribute("style");b&&r.setAttribute("style",b);var g=[].filter.call(e.attributes,function(e){return/^data-\w[\w-]*$/.test(e.name)});if(Array.prototype.forEach.call(g,function(e){e.name&&e.value&&r.setAttribute(e.name,e.value)}),u){var v,x,m,y,w,_={clipPath:["clip-path"],"color-profile":["color-profile"],cursor:["cursor"],filter:["filter"],linearGradient:["fill","stroke"],marker:["marker","marker-start","marker-mid","marker-end"],mask:["mask"],pattern:["fill","stroke"],radialGradient:["fill","stroke"]};Object.keys(_).forEach(function(e){v=e,m=_[e],x=r.querySelectorAll("defs "+v+"[id]");for(var t=0,n=x.length;t<n;t++){y=x[t].id,w=y+"-"+s;var a;Array.prototype.forEach.call(m,function(e){a=r.querySelectorAll("["+e+'*="'+y+'"]');for(var t=0,n=a.length;t<n;t++)a[t].setAttribute(e,"url(#"+w+")")});for(var i=r.querySelectorAll("[*|href]"),l=[],u=0,c=i.length;u<c;u++)i[u].getAttributeNS(o,"href").toString()==="#"+x[t].id&&l.push(i[u]);for(var f=0,d=l.length;f<d;f++)l[f].setAttributeNS(o,"href","#"+w);x[t].id=w}})}r.removeAttribute("xmlns:a");for(var E,k,C=r.querySelectorAll("script"),S=[],O=0,j=C.length;O<j;O++)(k=C[O].getAttribute("type"))&&"application/ecmascript"!==k&&"application/javascript"!==k||(E=C[O].innerText||C[O].textContent,S.push(E),r.removeChild(C[O]));if(S.length>0&&("always"===t||"once"===t&&!l[d])){for(var A=0,P=S.length;A<P;A++)new Function(S[A])(window);l[d]=!0}var M=r.querySelectorAll("style");Array.prototype.forEach.call(M,function(e){e.textContent+=""}),r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("xmlns:xlink",o),e.parentNode.replaceChild(r,e),delete i[i.indexOf(e)],e=null,s++,c(null,r)}))};t.a=u},function(e,t,n){"use strict";var r=n(567),a=n(754),o=n(568),i=function(e,t){var n="file:"===window.location.protocol;if(void 0!==o.a[e]){if(o.a[e]instanceof SVGSVGElement)return void t(null,Object(r.a)(o.a[e]));if(o.a[e]instanceof Error)return void t(o.a[e]);Object(a.b)(e,t)}else{if(!window.XMLHttpRequest)return t(new Error("Browser does not support XMLHttpRequest")),!1;o.a[e]={},Object(a.b)(e,t);var i=new XMLHttpRequest;i.onreadystatechange=function(){try{if(4===i.readyState){if(404===i.status||null===i.responseXML)throw new Error(n?"Note: SVG injection ajax calls do not work locally without adjusting security setting in your browser. Or consider using a local webserver.":"Unable to load SVG file: "+e);if(!(200===i.status||n&&0===i.status))throw new Error("There was a problem injecting the SVG: "+i.status+" "+i.statusText);if(i.responseXML instanceof Document)o.a[e]=i.responseXML.documentElement;else if(DOMParser&&DOMParser instanceof Function){var t;try{var r=new DOMParser;t=r.parseFromString(i.responseText,"text/xml")}catch(e){t=void 0}if(!t||t.getElementsByTagName("parsererror").length)throw new Error("Unable to parse SVG file: "+e);o.a[e]=t.documentElement}Object(a.a)(e)}}catch(t){o.a[e]=t,Object(a.a)(e)}},i.open("GET",e),i.overrideMimeType&&i.overrideMimeType("text/xml"),i.send()}};t.a=i},function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"a",function(){return l});var r=n(567),a=n(568),o=[],i=function(e,t){o[e]=o[e]||[],o[e].push(t)},l=function(e,t){for(var n=0,i=o[e].length;n<i;n++)!function(t){setTimeout(function(){var n=o[e][t];return a.a[e]instanceof SVGSVGElement?void n(null,Object(r.a)(a.a[e])):a.a[e]instanceof Error?void n(a.a[e]):void 0},0)}(n)}},function(e,t,n){"use strict";var r=function(e){e=e.split(" ");for(var t={},n=e.length,r=[];n--;)t.hasOwnProperty(e[n])||(t[e[n]]=1,r.unshift(e[n]));return r.join(" ")};t.a=r},function(e,t,n){e.exports=n(757)()},function(e,t,n){"use strict";function r(){}var a=n(758);e.exports=function(){function e(e,t,n,r,o,i){if(i!==a){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";e.exports=n(760)},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);g(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function a(e){return!!F.hasOwnProperty(e)||!N.hasOwnProperty(e)&&(R.test(e)?F[e]=!0:(N[e]=!0,!1))}function o(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function i(e,t,n,r){if(null===t||void 0===t||o(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function l(e,t,n,r,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t}function s(e){return e[1].toUpperCase()}function u(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=L.exec(e);if(t){var n,r="",a=0;for(n=t.index;n<e.length;n++){switch(e.charCodeAt(n)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==n&&(r+=e.substring(a,n)),a=n+1,r+=t}e=a!==n?r+e.substring(a,n):r}return e}function c(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function f(e){return"string"==typeof e?e:"function"==typeof e?e.displayName||e.name:null}function d(e){var t="";return x.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function p(e,t){if(e=e.contextTypes){var n,r={};for(n in e)r[n]=t[n];t=r}else t=y;return t}function h(e,t){void 0===e&&r("152",f(t)||"Component")}function b(e,t){for(;x.isValidElement(e);){var n=e,a=n.type;if("function"!=typeof a)break;!function(n,a){var o=p(a,t),i=[],l=!1,s={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===i)return null},enqueueReplaceState:function(e,t){l=!0,i=[t]},enqueueSetState:function(e,t){if(null===i)return null;i.push(t)}},u=void 0;if(a.prototype&&a.prototype.isReactComponent){if(u=new a(n.props,o,s),"function"==typeof a.getDerivedStateFromProps){var c=a.getDerivedStateFromProps.call(null,n.props,u.state);null!=c&&(u.state=v({},u.state,c))}}else if(null==(u=a(n.props,o,s))||null==u.render)return e=u,void h(e,a);if(u.props=n.props,u.context=o,u.updater=s,s=u.state,void 0===s&&(u.state=s=null),"function"==typeof u.UNSAFE_componentWillMount||"function"==typeof u.componentWillMount)if("function"==typeof u.componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&u.componentWillMount(),"function"==typeof u.UNSAFE_componentWillMount&&"function"!=typeof a.getDerivedStateFromProps&&u.UNSAFE_componentWillMount(),i.length){s=i;var d=l;if(i=null,l=!1,d&&1===s.length)u.state=s[0];else{c=d?s[0]:u.state;var b=!0;for(d=d?1:0;d<s.length;d++){var g=s[d];null!=(g="function"==typeof g?g.call(u,c,n.props,o):g)&&(b?(b=!1,c=v({},c,g)):v(c,g))}u.state=c}}else i=null;if(e=u.render(),h(e,a),n=void 0,"function"==typeof u.getChildContext&&"object"==typeof(o=a.childContextTypes)){n=u.getChildContext();for(var x in n)x in o||r("108",f(a)||"Unknown",x)}n&&(t=v({},t,n))}(n,a)}return{child:e,context:t}}/** @license React v16.4.0
|
|
* react-dom-server.browser.production.min.js
|
|
*
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
var g=n(81),v=n(117),x=n(5),m=n(82),y=n(118),w=n(761),_=n(763),E="function"==typeof Symbol&&Symbol.for,k=E?Symbol.for("react.portal"):60106,C=E?Symbol.for("react.fragment"):60107,S=E?Symbol.for("react.strict_mode"):60108,O=E?Symbol.for("react.profiler"):60114,j=E?Symbol.for("react.provider"):60109,A=E?Symbol.for("react.context"):60110,P=E?Symbol.for("react.async_mode"):60111,M=E?Symbol.for("react.forward_ref"):60112,R=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,N={},F={},B={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){B[e]=new l(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];B[t]=new l(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){B[e]=new l(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){B[e]=new l(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){B[e]=new l(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){B[e]=new l(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){B[e]=new l(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){B[e]=new l(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){B[e]=new l(e,5,!1,e.toLowerCase(),null)});var T=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(T,s);B[t]=new l(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(T,s);B[t]=new l(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(T,s);B[t]=new l(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),B.tabIndex=new l("tabIndex",1,!1,"tabindex",null);var L=/["'&<>]/,z={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},D={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},I=v({menuitem:!0},D),H={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},G=["Webkit","ms","Moz","O"];Object.keys(H).forEach(function(e){G.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),H[t]=H[e]})});var U=x.Children.toArray,W=m.thatReturns("");m.thatReturns("");var V={listing:!0,pre:!0,textarea:!0},X=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,q={},$=_(function(e){return w(e)}),Y={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},K=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");x.isValidElement(t)?t.type!==C?t=[t]:(t=t.props.children,t=x.isValidElement(t)?[t]:U(t)):t=U(t),this.stack=[{type:null,domNamespace:z.html,children:t,childIndex:0,context:y,footer:""}],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.providerStack=[],this.providerIndex=-1}return e.prototype.pushProvider=function(e){this.providerIndex+=1,this.providerStack[this.providerIndex]=e,e.type._context._currentValue=e.props.value},e.prototype.popProvider=function(e){this.providerStack[this.providerIndex]=null,--this.providerIndex,e=e.type._context,e._currentValue=0>this.providerIndex?e._defaultValue:this.providerStack[this.providerIndex].props.value},e.prototype.read=function(e){if(this.exhausted)return null;for(var t="";t.length<e;){if(0===this.stack.length){this.exhausted=!0;break}var n=this.stack[this.stack.length-1];if(n.childIndex>=n.children.length){var r=n.footer;t+=r,""!==r&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===n.type?this.currentSelectValue=null:null!=n.type&&null!=n.type.type&&n.type.type.$$typeof===j&&this.popProvider(n.type)}else r=n.children[n.childIndex++],t+=this.render(r,n.context,n.domNamespace)}return t},e.prototype.render=function(e,t,n){if("string"==typeof e||"number"==typeof e)return""===(n=""+e)?"":this.makeStaticMarkup?u(n):this.previousWasTextNode?"\x3c!-- --\x3e"+u(n):(this.previousWasTextNode=!0,u(n));if(t=b(e,t),e=t.child,t=t.context,null===e||!1===e)return"";if(!x.isValidElement(e)){if(null!=e&&null!=e.$$typeof){var a=e.$$typeof;a===k&&r("257"),r("258",a.toString())}return e=U(e),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("string"==typeof(a=e.type))return this.renderDOM(e,t,n);switch(a){case S:case P:case O:case C:return e=U(e.props.children),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),""}if("object"==typeof a&&null!==a)switch(a.$$typeof){case M:return e=U(a.render(e.props,e.ref)),this.stack.push({type:null,domNamespace:n,children:e,childIndex:0,context:t,footer:""}),"";case j:return a=U(e.props.children),n={type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""},this.pushProvider(e),this.stack.push(n),"";case A:return a=U(e.props.children(e.type._currentValue)),this.stack.push({type:e,domNamespace:n,children:a,childIndex:0,context:t,footer:""}),""}r("130",null==a?a:typeof a,"")},e.prototype.renderDOM=function(e,t,n){var o=e.type.toLowerCase();n===z.html&&c(o),q.hasOwnProperty(o)||(X.test(o)||r("65",o),q[o]=!0);var l=e.props;if("input"===o)l=v({type:void 0},l,{defaultChecked:void 0,defaultValue:void 0,value:null!=l.value?l.value:l.defaultValue,checked:null!=l.checked?l.checked:l.defaultChecked});else if("textarea"===o){var s=l.value;if(null==s){s=l.defaultValue;var f=l.children;null!=f&&(null!=s&&r("92"),Array.isArray(f)&&(1>=f.length||r("93"),f=f[0]),s=""+f),null==s&&(s="")}l=v({},l,{value:void 0,children:""+s})}else if("select"===o)this.currentSelectValue=null!=l.value?l.value:l.defaultValue,l=v({},l,{value:void 0});else if("option"===o){f=this.currentSelectValue;var p=d(l.children);if(null!=f){var h=null!=l.value?l.value+"":p;if(s=!1,Array.isArray(f)){for(var b=0;b<f.length;b++)if(""+f[b]===h){s=!0;break}}else s=""+f===h;l=v({selected:void 0,children:void 0},l,{selected:s,children:p})}}(s=l)&&(I[o]&&(null!=s.children||null!=s.dangerouslySetInnerHTML)&&r("137",o,W()),null!=s.dangerouslySetInnerHTML&&(null!=s.children&&r("60"),"object"==typeof s.dangerouslySetInnerHTML&&"__html"in s.dangerouslySetInnerHTML||r("61")),null!=s.style&&"object"!=typeof s.style&&r("62",W())),s=l,f=this.makeStaticMarkup,p=1===this.stack.length,h="<"+e.type;for(_ in s)if(s.hasOwnProperty(_)){var g=s[_];if(null!=g){if("style"===_){b=void 0;var x="",m="";for(b in g)if(g.hasOwnProperty(b)){var y=0===b.indexOf("--"),w=g[b];null!=w&&(x+=m+$(b)+":",m=b,y=null==w||"boolean"==typeof w||""===w?"":y||"number"!=typeof w||0===w||H.hasOwnProperty(m)&&H[m]?(""+w).trim():w+"px",x+=y,m=";")}g=x||null}b=null;e:if(y=o,w=s,-1===y.indexOf("-"))y="string"==typeof w.is;else switch(y){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":y=!1;break e;default:y=!0}y?Y.hasOwnProperty(_)||(b=_,b=a(b)&&null!=g?b+'="'+u(g)+'"':""):(y=_,b=g,g=B.hasOwnProperty(y)?B[y]:null,(w="style"!==y)&&(w=null!==g?0===g.type:2<y.length&&("o"===y[0]||"O"===y[0])&&("n"===y[1]||"N"===y[1])),w||i(y,b,g,!1)?b="":null!==g?(y=g.attributeName,g=g.type,b=3===g||4===g&&!0===b?y+'=""':y+'="'+u(b)+'"'):b=y+'="'+u(b)+'"'),b&&(h+=" "+b)}}f||p&&(h+=' data-reactroot=""');var _=h;s="",D.hasOwnProperty(o)?_+="/>":(_+=">",s="</"+e.type+">");e:{if(null!=(f=l.dangerouslySetInnerHTML)){if(null!=f.__html){f=f.__html;break e}}else if("string"==typeof(f=l.children)||"number"==typeof f){f=u(f);break e}f=null}return null!=f?(l=[],V[o]&&"\n"===f.charAt(0)&&(_+="\n"),_+=f):l=U(l.children),e=e.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?c(e):"http://www.w3.org/2000/svg"===n&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:o,children:l,childIndex:0,context:t,footer:s}),this.previousWasTextNode=!1,_},e}(),Z={renderToString:function(e){return new K(e,!1).read(1/0)},renderToStaticMarkup:function(e){return new K(e,!0).read(1/0)},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},version:"16.4.0"},J={default:Z},Q=J&&Z||J;e.exports=Q.default?Q.default:Q},function(e,t,n){"use strict";function r(e){return a(e).replace(o,"-ms-")}var a=n(762),o=/^ms-/;e.exports=r},function(e,t,n){"use strict";function r(e){return e.replace(a,"-$1").toLowerCase()}var a=/([A-Z])/g;e.exports=r},function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r}]));
|
|
//# sourceMappingURL=3.bundle.js.map
|