/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/photon-react@2.0.0/lib/main.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";function ___$insertStyle(e){if(e&&"undefined"!=typeof window){var n=document.createElement("style");return n.setAttribute("type","text/css"),n.innerHTML=e,document.head.appendChild(n),e}}function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var React=_interopDefault(require("react"));function _defineProperty(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function _extends(){return(_extends=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function _objectWithoutPropertiesLoose(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],0<=n.indexOf(t)||(o[t]=e[t]);return o}function _objectWithoutProperties(e,n){if(null==e)return{};var t,r,o=_objectWithoutPropertiesLoose(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)t=a[r],0<=n.indexOf(t)||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,n){return e(n={exports:{}},n.exports),n.exports}___$insertStyle('/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n/* Photon Colors SCSS Variables v3.3.1 */\n@import url("https://fonts.googleapis.com/css?family=Fira+Sans:200,300,400,500,700");\n.typography {\n  font-family: "Fira Sans";\n}\n.typography--bold {\n  font-weight: 700 !important;\n}\n\n.typography--type-body, body {\n  font-weight: 400;\n  /* Not included in spec, but makes the text more readable. */\n  line-height: 1.25rem;\n}\n.typography--type-body.typography--size-10, body.typography--size-10 {\n  font-size: 13px;\n}\n.typography--type-body.typography--size-20, body {\n  font-size: 15px;\n}\n.typography--type-body.typography--size-30, body.typography--size-30 {\n  font-size: 17px;\n}\n\n.typography--type-caption {\n  font-weight: 400;\n}\n.typography--type-caption.typography--size-10 {\n  font-size: 11px;\n}\n.typography--type-caption.typography--size-20, body.typography--type-caption {\n  font-size: 13px;\n}\n.typography--type-caption.typography--size-30 {\n  font-size: 15px;\n}\n\n.typography--type-display {\n  font-weight: 200;\n}\n.typography--type-display.typography--size-20, body.typography--type-display {\n  font-size: 36px;\n}\n\n.typography--type-title.typography--size-10 {\n  font-size: 13px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-20, body.typography--type-title {\n  font-size: 17px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-30 {\n  font-size: 22px;\n  font-weight: 300;\n}\n.typography--type-title.typography--size-40 {\n  font-size: 28px;\n  font-weight: 300;\n}\n\nbody {\n  font-family: "Fira Sans";\n}\n\na {\n  color: #0060df;\n  border-radius: 4px;\n  padding: 0 4px;\n  text-decoration: none;\n}\na:hover {\n  color: #0060df;\n  text-decoration: underline;\n}\na:active {\n  color: #003eaa;\n}\na:focus {\n  border: 0;\n  outline: 0;\n  box-shadow: 0 0 0 2px #0a84ff, 0 0 0 6px rgba(10, 132, 255, 0.3);\n}'),___$insertStyle("/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n/* Photon Colors SCSS Variables v3.3.1 */\n.button {\n  border: 0;\n  border-radius: 2px;\n  height: 32px;\n  min-width: 132px;\n  padding: 0 8px;\n  transition: box-shadow 50ms;\n  width: auto;\n  /* Disable Firefox button focus outlining. */\n}\n.button:disabled {\n  opacity: 0.4;\n}\n.button:focus:enabled {\n  border: 0;\n  box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff, 0 0 0 4px rgba(10, 132, 255, 0.3);\n  outline: 0;\n}\n.button--size-micro {\n  height: 24px;\n}\n.button--size-puffy {\n  border-radius: 4px;\n  height: 48px;\n  padding: 0 16px;\n}\n.button--status-generic {\n  background: rgba(12, 12, 13, 0.1);\n  color: #0c0c0d;\n}\n.button--status-generic:hover:enabled {\n  background: rgba(12, 12, 13, 0.2);\n}\n.button--status-generic:active:enabled {\n  background: rgba(12, 12, 13, 0.3);\n}\n.button--status-error {\n  background: #a4000f;\n  color: white;\n}\n.button--status-error:hover:enabled {\n  background: #5a0002;\n}\n.button--status-error:active:enabled {\n  background: #3e0200;\n}\n.button--status-primary {\n  background: #0060df;\n  color: white;\n}\n.button--status-primary:hover:enabled {\n  background: #003eaa;\n}\n.button--status-primary:active:enabled {\n  background: #002275;\n}\n.button--status-success {\n  background: #12bc00;\n  color: #0c0c0d;\n  transition: color 100ms;\n}\n.button--status-success:hover:enabled {\n  background: #058b00;\n  color: white;\n}\n.button--status-success:active:enabled {\n  background: #006504;\n  color: white;\n}\n.button--status-warning {\n  background: #d7b600;\n  color: #0c0c0d;\n  transition: color 100ms;\n}\n.button--status-warning:hover:enabled {\n  background: #a47f00;\n  color: white;\n}\n.button--status-warning:active:enabled {\n  background: #715100;\n  color: white;\n}\n.button--type-ghost {\n  background: transparent;\n  color: rgba(12, 12, 13, 0.8);\n  min-width: 0;\n  width: 32px;\n}\n.button--type-ghost:hover:enabled {\n  background: rgba(12, 12, 13, 0.1);\n}\n.button--type-ghost:active:enabled {\n  background: rgba(12, 12, 13, 0.2);\n}\n.button--type-ghost > * {\n  vertical-align: sub;\n}\n.button > .typography {\n  color: inherit;\n}\n.button::-moz-focus-inner {\n  border: 0;\n  outline: 0;\n}");var classnames=createCommonjsModule(function(e){!function(){var i={}.hasOwnProperty;function p(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var r=typeof t;if("string"===r||"number"===r)e.push(t);else if(Array.isArray(t)&&t.length){var o=p.apply(null,t);o&&e.push(o)}else if("object"===r)for(var a in t)i.call(t,a)&&t[a]&&e.push(a)}}return e.join(" ")}e.exports?(p.default=p,e.exports=p):window.classNames=p}()}),reactIs_production_min=createCommonjsModule(function(e,n){Object.defineProperty(n,"__esModule",{value:!0});var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,o=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,p=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,y=t?Symbol.for("react.suspense"):60113,g=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116;function f(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case l:case d:case a:case p:case i:case y:return e;default:switch(e=e&&e.$$typeof){case c:case u:case s:return e;default:return n}}case m:case g:case o:return n}}}function b(e){return f(e)===d}n.typeOf=f,n.AsyncMode=l,n.ConcurrentMode=d,n.ContextConsumer=c,n.ContextProvider=s,n.Element=r,n.ForwardRef=u,n.Fragment=a,n.Lazy=m,n.Memo=g,n.Portal=o,n.Profiler=p,n.StrictMode=i,n.Suspense=y,n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===p||e===i||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===u)},n.isAsyncMode=function(e){return b(e)||f(e)===l},n.isConcurrentMode=b,n.isContextConsumer=function(e){return f(e)===c},n.isContextProvider=function(e){return f(e)===s},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return f(e)===u},n.isFragment=function(e){return f(e)===a},n.isLazy=function(e){return f(e)===m},n.isMemo=function(e){return f(e)===g},n.isPortal=function(e){return f(e)===o},n.isProfiler=function(e){return f(e)===p},n.isStrictMode=function(e){return f(e)===i},n.isSuspense=function(e){return f(e)===y}});unwrapExports(reactIs_production_min);var reactIs_production_min_1=reactIs_production_min.typeOf,reactIs_production_min_2=reactIs_production_min.AsyncMode,reactIs_production_min_3=reactIs_production_min.ConcurrentMode,reactIs_production_min_4=reactIs_production_min.ContextConsumer,reactIs_production_min_5=reactIs_production_min.ContextProvider,reactIs_production_min_6=reactIs_production_min.Element,reactIs_production_min_7=reactIs_production_min.ForwardRef,reactIs_production_min_8=reactIs_production_min.Fragment,reactIs_production_min_9=reactIs_production_min.Lazy,reactIs_production_min_10=reactIs_production_min.Memo,reactIs_production_min_11=reactIs_production_min.Portal,reactIs_production_min_12=reactIs_production_min.Profiler,reactIs_production_min_13=reactIs_production_min.StrictMode,reactIs_production_min_14=reactIs_production_min.Suspense,reactIs_production_min_15=reactIs_production_min.isValidElementType,reactIs_production_min_16=reactIs_production_min.isAsyncMode,reactIs_production_min_17=reactIs_production_min.isConcurrentMode,reactIs_production_min_18=reactIs_production_min.isContextConsumer,reactIs_production_min_19=reactIs_production_min.isContextProvider,reactIs_production_min_20=reactIs_production_min.isElement,reactIs_production_min_21=reactIs_production_min.isForwardRef,reactIs_production_min_22=reactIs_production_min.isFragment,reactIs_production_min_23=reactIs_production_min.isLazy,reactIs_production_min_24=reactIs_production_min.isMemo,reactIs_production_min_25=reactIs_production_min.isPortal,reactIs_production_min_26=reactIs_production_min.isProfiler,reactIs_production_min_27=reactIs_production_min.isStrictMode,reactIs_production_min_28=reactIs_production_min.isSuspense,reactIs_development=createCommonjsModule(function(e,R){"production"!==process.env.NODE_ENV&&function(){Object.defineProperty(R,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,o=e?Symbol.for("react.element"):60103,a=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,p=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116;var n=function(e,n){if(void 0===n)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var t=arguments.length,r=Array(2<t?t-2:0),o=2;o<t;o++)r[o-2]=arguments[o];(function(e){for(var n=arguments.length,t=Array(1<n?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o=0,a="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[n].concat(r))}};function t(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:var t=e.type;switch(t){case d:case u:case i:case s:case p:case g:return t;default:var r=t&&t.$$typeof;switch(r){case l:case y:case c:return r;default:return n}}case f:case m:case a:return n}}}var r=d,b=u,h=l,_=c,I=o,v=y,x=i,w=f,S=m,C=a,A=s,M=p,T=g,P=!1;function z(e){return t(e)===u}R.typeOf=t,R.AsyncMode=r,R.ConcurrentMode=b,R.ContextConsumer=h,R.ContextProvider=_,R.Element=I,R.ForwardRef=v,R.Fragment=x,R.Lazy=w,R.Memo=S,R.Portal=C,R.Profiler=A,R.StrictMode=M,R.Suspense=T,R.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===s||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===y)},R.isAsyncMode=function(e){return P||n(!(P=!0),"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API."),z(e)||t(e)===d},R.isConcurrentMode=z,R.isContextConsumer=function(e){return t(e)===l},R.isContextProvider=function(e){return t(e)===c},R.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},R.isForwardRef=function(e){return t(e)===y},R.isFragment=function(e){return t(e)===i},R.isLazy=function(e){return t(e)===f},R.isMemo=function(e){return t(e)===m},R.isPortal=function(e){return t(e)===a},R.isProfiler=function(e){return t(e)===s},R.isStrictMode=function(e){return t(e)===p},R.isSuspense=function(e){return t(e)===g}}()});unwrapExports(reactIs_development);var reactIs_development_1=reactIs_development.typeOf,reactIs_development_2=reactIs_development.AsyncMode,reactIs_development_3=reactIs_development.ConcurrentMode,reactIs_development_4=reactIs_development.ContextConsumer,reactIs_development_5=reactIs_development.ContextProvider,reactIs_development_6=reactIs_development.Element,reactIs_development_7=reactIs_development.ForwardRef,reactIs_development_8=reactIs_development.Fragment,reactIs_development_9=reactIs_development.Lazy,reactIs_development_10=reactIs_development.Memo,reactIs_development_11=reactIs_development.Portal,reactIs_development_12=reactIs_development.Profiler,reactIs_development_13=reactIs_development.StrictMode,reactIs_development_14=reactIs_development.Suspense,reactIs_development_15=reactIs_development.isValidElementType,reactIs_development_16=reactIs_development.isAsyncMode,reactIs_development_17=reactIs_development.isConcurrentMode,reactIs_development_18=reactIs_development.isContextConsumer,reactIs_development_19=reactIs_development.isContextProvider,reactIs_development_20=reactIs_development.isElement,reactIs_development_21=reactIs_development.isForwardRef,reactIs_development_22=reactIs_development.isFragment,reactIs_development_23=reactIs_development.isLazy,reactIs_development_24=reactIs_development.isMemo,reactIs_development_25=reactIs_development.isPortal,reactIs_development_26=reactIs_development.isProfiler,reactIs_development_27=reactIs_development.isStrictMode,reactIs_development_28=reactIs_development.isSuspense,reactIs=createCommonjsModule(function(e){"production"===process.env.NODE_ENV?e.exports=reactIs_production_min:e.exports=reactIs_development}),getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map(function(e){return n[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}var objectAssign=shouldUseNative()?Object.assign:function(e,n){for(var t,r,o=toObject(e),a=1;a<arguments.length;a++){for(var i in t=Object(arguments[a]))hasOwnProperty.call(t,i)&&(o[i]=t[i]);if(getOwnPropertySymbols){r=getOwnPropertySymbols(t);for(var p=0;p<r.length;p++)propIsEnumerable.call(t,r[p])&&(o[r[p]]=t[r[p]])}}return o},ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret,printWarning=function(){};if("production"!==process.env.NODE_ENV){var ReactPropTypesSecret$1=ReactPropTypesSecret_1,loggedTypeFailures={},has=Function.call.bind(Object.prototype.hasOwnProperty);printWarning=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}}}function checkPropTypes(e,n,t,r,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(has(e,a)){var i;try{if("function"!=typeof e[a]){var p=Error((r||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.");throw p.name="Invariant Violation",p}i=e[a](n,a,r,t,null,ReactPropTypesSecret$1)}catch(e){i=e}if(!i||i instanceof Error||printWarning((r||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in loggedTypeFailures)){loggedTypeFailures[i.message]=!0;var s=o?o():"";printWarning("Failed "+t+" type: "+i.message+(null!=s?s:""))}}}checkPropTypes.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(loggedTypeFailures={})};var checkPropTypes_1=checkPropTypes,has$1=Function.call.bind(Object.prototype.hasOwnProperty),printWarning$1=function(){};function emptyFunctionThatReturnsNull(){return null}"production"!==process.env.NODE_ENV&&(printWarning$1=function(e){var n="Warning: "+e;"undefined"!=typeof console&&console.error(n);try{throw new Error(n)}catch(e){}});var factoryWithTypeCheckers=function(p,u){var a="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";var y="<<anonymous>>",e={array:n("array"),bool:n("boolean"),func:n("function"),number:n("number"),object:n("object"),string:n("string"),symbol:n("symbol"),any:t(emptyFunctionThatReturnsNull),arrayOf:function(c){return t(function(e,n,t,r,o){if("function"!=typeof c)return new g("Property `"+o+"` of component `"+t+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var i=m(a);return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected an array.")}for(var p=0;p<a.length;p++){var s=c(a,p,t,r,o+"["+p+"]",ReactPropTypesSecret_1);if(s instanceof Error)return s}return null})},element:t(function(e,n,t,r,o){var a=e[n];if(p(a))return null;var i=m(a);return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected a single ReactElement.")}),elementType:t(function(e,n,t,r,o){var a=e[n];if(reactIs.isValidElementType(a))return null;var i=m(a);return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected a single ReactElement type.")}),instanceOf:function(s){return t(function(e,n,t,r,o){if(e[n]instanceof s)return null;var a=s.name||y,i=(p=e[n],p.constructor&&p.constructor.name?p.constructor.name:y);var p;return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected instance of `"+a+"`.")})},node:t(function(e,n,t,r,o){return s(e[n])?null:new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`, expected a ReactNode.")}),objectOf:function(c){return t(function(e,n,t,r,o){if("function"!=typeof c)return new g("Property `"+o+"` of component `"+t+"` has invalid PropType notation inside objectOf.");var a=e[n],i=m(a);if("object"!==i)return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected an object.");for(var p in a)if(has$1(a,p)){var s=c(a,p,t,r,o+"."+p,ReactPropTypesSecret_1);if(s instanceof Error)return s}return null})},oneOf:function(s){if(!Array.isArray(s))return"production"!==process.env.NODE_ENV&&(1<arguments.length?printWarning$1("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):printWarning$1("Invalid argument supplied to oneOf, expected an array.")),emptyFunctionThatReturnsNull;return t(function(e,n,t,r,o){for(var a=e[n],i=0;i<s.length;i++)if(c(a,s[i]))return null;var p=JSON.stringify(s,function(e,n){var t=l(n);return"symbol"===t?String(n):n});return new g("Invalid "+r+" `"+o+"` of value `"+String(a)+"` supplied to `"+t+"`, expected one of "+p+".")})},oneOfType:function(p){if(!Array.isArray(p))return"production"!==process.env.NODE_ENV&&printWarning$1("Invalid argument supplied to oneOfType, expected an instance of array."),emptyFunctionThatReturnsNull;for(var e=0;e<p.length;e++){var n=p[e];if("function"!=typeof n)return printWarning$1("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+r(n)+" at index "+e+"."),emptyFunctionThatReturnsNull}return t(function(e,n,t,r,o){for(var a=0;a<p.length;a++){var i=p[a];if(null==i(e,n,t,r,o,ReactPropTypesSecret_1))return null}return new g("Invalid "+r+" `"+o+"` supplied to `"+t+"`.")})},shape:function(l){return t(function(e,n,t,r,o){var a=e[n],i=m(a);if("object"!==i)return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected `object`.");for(var p in l){var s=l[p];if(s){var c=s(a,p,t,r,o+"."+p,ReactPropTypesSecret_1);if(c)return c}}return null})},exact:function(d){return t(function(e,n,t,r,o){var a=e[n],i=m(a);if("object"!==i)return new g("Invalid "+r+" `"+o+"` of type `"+i+"` supplied to `"+t+"`, expected `object`.");var p=objectAssign({},e[n],d);for(var s in p){var c=d[s];if(!c)return new g("Invalid "+r+" `"+o+"` key `"+s+"` supplied to `"+t+"`.\nBad object: "+JSON.stringify(e[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(d),null,"  "));var l=c(a,s,t,r,o+"."+s,ReactPropTypesSecret_1);if(l)return l}return null})}};function c(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}function g(e){this.message=e,this.stack=""}function t(c){if("production"!==process.env.NODE_ENV)var l={},d=0;function e(e,n,t,r,o,a,i){if(r=r||y,a=a||t,i!==ReactPropTypesSecret_1){if(u){var p=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 p.name="Invariant Violation",p}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var s=r+":"+t;!l[s]&&d<3&&(printWarning$1("You are manually calling a React.PropTypes validation function for the `"+a+"` prop on `"+r+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),l[s]=!0,d++)}}return null==n[t]?e?null===n[t]?new g("The "+o+" `"+a+"` is marked as required in `"+r+"`, but its value is `null`."):new g("The "+o+" `"+a+"` is marked as required in `"+r+"`, but its value is `undefined`."):null:c(n,t,r,o,a)}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function n(p){return t(function(e,n,t,r,o,a){var i=e[n];return m(i)===p?null:new g("Invalid "+r+" `"+o+"` of type `"+l(i)+"` supplied to `"+t+"`, expected `"+p+"`.")})}function s(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(s);if(null===e||p(e))return!0;var n=function(e){var n=e&&(a&&e[a]||e[i]);if("function"==typeof n)return n}(e);if(!n)return!1;var t,r=n.call(e);if(n!==e.entries){for(;!(t=r.next()).done;)if(!s(t.value))return!1}else for(;!(t=r.next()).done;){var o=t.value;if(o&&!s(o[1]))return!1}return!0;default:return!1}}function m(e){var n,t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":(n=e,"symbol"===t||n&&("Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol)?"symbol":t)}function l(e){if(null==e)return""+e;var n=m(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}function r(e){var n=l(e);switch(n){case"array":case"object":return"an "+n;case"boolean":case"date":case"regexp":return"a "+n;default:return n}}return g.prototype=Error.prototype,e.checkPropTypes=checkPropTypes_1,e.resetWarningCache=checkPropTypes_1.resetWarningCache,e.PropTypes=e};function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function e(e,n,t,r,o,a){if(a!==ReactPropTypesSecret_1){var i=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 i.name="Invariant Violation",i}}function n(){return e}var t={array:e.isRequired=e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return t.PropTypes=t},propTypes=createCommonjsModule(function(e){if("production"!==process.env.NODE_ENV){var n=reactIs;e.exports=factoryWithTypeCheckers(n.isElement,!0)}else e.exports=factoryWithThrowingShims()});function Typography(e){var n=e.children,t=e.container,r=e.bold,o=e.size,a=e.type,i=classnames("typography","typography--type-".concat(a),"typography--size-".concat({sm:10,md:20,lg:30,xl:40}[o]),{"typography--bold":r}),p={container:t};return React.createElement(p.container,{className:i},n)}function Button(e){var n=e.children,t=e.size,r=e.status,o=e.type,a=_objectWithoutProperties(e,["children","size","status","type"]),i=classnames("button","button--size-".concat(t),"button--status-".concat(r),"button--type-".concat(o));return"ghost"===o?React.createElement("button",_extends({type:"button",className:i},a),n):React.createElement("button",_extends({type:"button",className:i},a),React.createElement(Typography,{type:"body",size:{default:"md",micro:"sm",puffy:"lg"}[t],container:"div"},n))}function Actions(e){var n=classnames("card__actions");return React.createElement("div",{className:n,onClick:e.onClick},e.children)}function Body(e){var n=e.onClick,t=e.shadow,r=e.size,o=e.type,a=e.width,i=_objectWithoutProperties(e,["onClick","shadow","size","type","width"]),p=classnames("card","card--size-".concat(r),"card--type-".concat(o),"card--width-".concat(a),"shadow-".concat(t));return React.createElement("div",{className:p,onClick:n},i.children)}function Content(e){var n=classnames("card__body");return React.createElement("div",{className:n},e.subtitle&&React.createElement(Typography,{type:"caption",size:"md",container:"div"},e.subtitle),e.title&&React.createElement(Typography,{type:"title",size:"md",container:"div"},e.title),React.createElement(Typography,{type:"body",size:"md",container:"div"},e.children))}function Header(e){var n=classnames("card__header");return React.createElement("div",{className:n,onClick:e.onClick},e.children)}___$insertStyle('@import url("https://fonts.googleapis.com/css?family=Fira+Sans:200,300,400,500,700");\n.typography {\n  font-family: "Fira Sans";\n}\n.typography--bold {\n  font-weight: 700 !important;\n}\n\n.typography--type-body {\n  font-weight: 400;\n  /* Not included in spec, but makes the text more readable. */\n  line-height: 1.25rem;\n}\n.typography--type-body.typography--size-10 {\n  font-size: 13px;\n}\n.typography--type-body.typography--size-20 {\n  font-size: 15px;\n}\n.typography--type-body.typography--size-30 {\n  font-size: 17px;\n}\n\n.typography--type-caption {\n  font-weight: 400;\n}\n.typography--type-caption.typography--size-10 {\n  font-size: 11px;\n}\n.typography--type-caption.typography--size-20 {\n  font-size: 13px;\n}\n.typography--type-caption.typography--size-30 {\n  font-size: 15px;\n}\n\n.typography--type-display {\n  font-weight: 200;\n}\n.typography--type-display.typography--size-20 {\n  font-size: 36px;\n}\n\n.typography--type-title.typography--size-10 {\n  font-size: 13px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-20 {\n  font-size: 17px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-30 {\n  font-size: 22px;\n  font-weight: 300;\n}\n.typography--type-title.typography--size-40 {\n  font-size: 28px;\n  font-weight: 300;\n}'),Typography.defaultProps={container:"span",bold:!1,size:"md",type:"body"},Typography.propTypes={bold:propTypes.bool,size:propTypes.oneOf(["sm","md","lg","xl"]),type:propTypes.oneOf(["body","caption","display","title"])},Button.defaultProps={size:"default",status:"generic",type:"default"},Button.propTypes={size:propTypes.oneOf(["default","micro","puffy"]),status:propTypes.oneOf(["generic","primary","error","success","warning"]),type:propTypes.oneOf(["default","ghost"])},___$insertStyle("/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n/* Photon Colors SCSS Variables v3.3.1 */\n.shadow-10 {\n  box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.1);\n}\n.shadow-20 {\n  box-shadow: 0px 2px 8px rgba(12, 12, 13, 0.1);\n}\n.shadow-30 {\n  box-shadow: 0px 4px 16px rgba(12, 12, 13, 0.1);\n}\n\n.card {\n  background: white;\n  border-radius: 4px;\n  box-sizing: inherit;\n  display: inline-block;\n}\n\n.card--size-lg {\n  padding: 0px 20px;\n}\n\n.card--type-button {\n  cursor: pointer;\n}\n.card--type-button:hover {\n  box-shadow: 0 0 0 5px #d7d7db;\n  transition: box-shadow 0.1s;\n}\n.card--type-button:hover .typography--type-title {\n  color: #0060df;\n}\n\n.card--width-default {\n  width: 100%;\n}\n.card--width-auto {\n  width: auto;\n}\n\n.card__header {\n  border-radius: 4px 4px 0px 0px;\n  height: 155px;\n  padding: 0;\n  overflow: hidden;\n  width: 100%;\n}\n.card__header img {\n  width: 100%;\n}\n\n.card__body {\n  padding: 16px 16px 16px;\n}\n.card__body .typography--type-title {\n  margin: 0 0 4px;\n}\n.card__body > .typography--type-caption {\n  color: rgba(0, 0, 0, 0.75);\n  margin: 0 0 4px;\n  text-transform: uppercase;\n}\n\n.card__actions {\n  display: flex;\n  justify-content: space-between;\n  margin-top: 16px;\n}\n.card__actions > button {\n  width: 100%;\n}\n.card__actions > *:not(:first-child) {\n  /* Action button spacing according to grid. */\n  margin-left: 8px;\n}"),Actions.displayName="Card.Actions",Body.displayName="Card.Body",Body.defaultProps={shadow:20,size:"default",type:"default",width:"default"},Body.propTypes={size:propTypes.oneOf(["default","lg"]),type:propTypes.oneOf(["default","button"]),onClick:propTypes.func,width:propTypes.string},Content.displayName="Card.Content",Content.propTypes={subtitle:propTypes.string,title:propTypes.string},Header.displayName="Card.Header";var Card={Body:Body,Actions:Actions,Content:Content,Header:Header};function Row(e){var n,t=e.align,r=e.children,o=e.gap,a=e.margin,i=_objectWithoutProperties(e,["align","children","gap","margin"]),p=classnames("grid__row",(_defineProperty(n={},"grid__row--align-".concat(t),t),_defineProperty(n,"grid__row--gap-".concat(o),o),_defineProperty(n,"grid__row--margin-".concat(a),a),n));return React.createElement("div",_extends({className:p},i),r)}function Column(e){var n,t=e.auto,r=e.children,o=e.gap,a=e.margin,i=_objectWithoutProperties(e,["auto","children","gap","margin"]),p=classnames("grid__col",(_defineProperty(n={},"grid__col--gap-".concat(o),o),_defineProperty(n,"grid__col--margin-".concat(a),a),_defineProperty(n,"grid__col--width-auto",t),n));return React.createElement("div",_extends({className:p},i),r)}___$insertStyle(".grid__row {\n  align-items: baseline;\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(165px, auto));\n  width: 100%;\n}\n\n.grid__row--align-center {\n  align-items: center;\n}\n\n.grid__row--align-bottom {\n  align-items: bottom;\n}\n\n.grid__col {\n  display: inline-grid;\n  grid-auto-flow: row;\n  width: 100%;\n}\n.grid__col--width-auto {\n  width: auto;\n}\n\n.grid__col--gap-4 {\n  grid-gap: 4px;\n}\n\n.grid__col--margin-4 {\n  margin-right: 4px;\n}\n\n.grid__row--gap-4 {\n  grid-gap: 4px;\n}\n\n.grid__row--margin-4 {\n  margin-bottom: 4px;\n}\n\n.grid__col--gap-8 {\n  grid-gap: 8px;\n}\n\n.grid__col--margin-8 {\n  margin-right: 8px;\n}\n\n.grid__row--gap-8 {\n  grid-gap: 8px;\n}\n\n.grid__row--margin-8 {\n  margin-bottom: 8px;\n}\n\n.grid__col--gap-16 {\n  grid-gap: 16px;\n}\n\n.grid__col--margin-16 {\n  margin-right: 16px;\n}\n\n.grid__row--gap-16 {\n  grid-gap: 16px;\n}\n\n.grid__row--margin-16 {\n  margin-bottom: 16px;\n}\n\n.grid__col--gap-32 {\n  grid-gap: 32px;\n}\n\n.grid__col--margin-32 {\n  margin-right: 32px;\n}\n\n.grid__row--gap-32 {\n  grid-gap: 32px;\n}\n\n.grid__row--margin-32 {\n  margin-bottom: 32px;\n}"),Row.displayName="Grid.Row",Row.defaultProps={gap:8},Row.propTypes={align:propTypes.oneOf(["center","bottom"]),gap:propTypes.oneOf([4,8,16,32]),margin:propTypes.oneOf([4,8,16,32])},Column.displayName="Grid.Column",Column.propTypes={auto:propTypes.bool,gap:propTypes.oneOf([4,8,16,32]),margin:propTypes.oneOf([4,8,16,32])},Column.defaultProps={auto:!1};var Grid={Column:Column,Row:Row};function Checkbox(e){var n=e.children,t=e.label,r=e.name,o=e.sublabel,a=_objectWithoutProperties(e,["children","label","name","sublabel"]);return React.createElement("div",{className:"input__container--checkbox"},React.createElement("input",_extends({className:"input--type-checkbox",id:r,name:r,type:"checkbox"},a)),React.createElement("label",{htmlFor:r},React.createElement(Typography,{type:"body"},t)),o&&React.createElement("label",{className:"input__sublabel",htmlFor:r},React.createElement(Typography,{type:"body",size:"sm"},o)),React.createElement("div",{className:"input--nested"},n))}function Radio(e){var n=e.label,t=e.name,r=_objectWithoutProperties(e,["label","name"]);return React.createElement("div",{className:"input__container--radio"},React.createElement("input",_extends({className:"input--type-radio",id:t,name:t,type:"radio"},r)),React.createElement("label",{htmlFor:t},React.createElement(Typography,{type:"body"},n)))}function Text(e){e.icon;var n=e.label,t=e.name,r=e.status,o=e.type,a=_objectWithoutProperties(e,["icon","label","name","status","type"]),i=classnames("input--type-text","input--status-".concat(r));return React.createElement("div",{className:"input__container--text"},n&&React.createElement("label",{htmlFor:t},React.createElement(Typography,{type:"caption",size:"lg",container:"span"},n)),React.createElement("input",_extends({type:o,className:i},a)))}___$insertStyle('/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n/* Photon Colors SCSS Variables v3.3.1 */\n@import url("https://fonts.googleapis.com/css?family=Fira+Sans:200,300,400,500,700");\n.typography {\n  font-family: "Fira Sans";\n}\n.typography--bold {\n  font-weight: 700 !important;\n}\n\n.typography--type-body, input {\n  font-weight: 400;\n  /* Not included in spec, but makes the text more readable. */\n  line-height: 1.25rem;\n}\n.typography--type-body.typography--size-10, input.typography--size-10 {\n  font-size: 13px;\n}\n.typography--type-body.typography--size-20, input {\n  font-size: 15px;\n}\n.typography--type-body.typography--size-30, input.typography--size-30 {\n  font-size: 17px;\n}\n\n.typography--type-caption {\n  font-weight: 400;\n}\n.typography--type-caption.typography--size-10 {\n  font-size: 11px;\n}\n.typography--type-caption.typography--size-20, input.typography--type-caption {\n  font-size: 13px;\n}\n.typography--type-caption.typography--size-30 {\n  font-size: 15px;\n}\n\n.typography--type-display {\n  font-weight: 200;\n}\n.typography--type-display.typography--size-20, input.typography--type-display {\n  font-size: 36px;\n}\n\n.typography--type-title.typography--size-10 {\n  font-size: 13px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-20, input.typography--type-title {\n  font-size: 17px;\n  font-weight: 500;\n}\n.typography--type-title.typography--size-30 {\n  font-size: 22px;\n  font-weight: 300;\n}\n.typography--type-title.typography--size-40 {\n  font-size: 28px;\n  font-weight: 300;\n}\n\n.input__container--checkbox label {\n  margin-left: 4px;\n}\n\n.input__container--radio label {\n  margin-left: 4px;\n  vertical-align: super;\n}\n\n.input__container--text label {\n  display: block;\n  margin-bottom: 8px;\n}\n\n.input__container--checkbox, .input__container--text {\n  display: block;\n}\n\n.input--type-checkbox {\n  vertical-align: middle;\n}\n.input--type-checkbox:focus:enabled {\n  border: 0;\n  box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff, 0 0 0 4px rgba(10, 132, 255, 0.3);\n  outline: 0;\n}\n.input--type-checkbox::-moz-focus-inner {\n  border: 0;\n  outline: 0;\n}\n\n.input--type-radio {\n  border-radius: 100%;\n}\n.input--type-radio:focus:enabled {\n  border: 0;\n  box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff, 0 0 0 4px rgba(10, 132, 255, 0.3);\n  outline: 0;\n}\n.input--type-radio::-moz-focus-inner {\n  border: 0;\n  outline: 0;\n}\n\n.input--type-text {\n  border: 0;\n  border-radius: 2px;\n  box-sizing: border-box;\n  box-shadow: 0 0 0 1px rgba(12, 12, 13, 0.2);\n  height: 32px;\n  outline: 0;\n  padding: 0px 8px;\n}\n\n.input--status-default:focus:enabled {\n  box-shadow: 0 0 0 1px #0a84ff inset, 0 0 0 1px #0a84ff, 0 0 0 4px rgba(10, 132, 255, 0.3);\n}\n.input--status-warning:focus:enabled {\n  box-shadow: 0 0 0 1px #d7b600 inset, 0 0 0 1px #d7b600, 0 0 0 4px rgba(215, 182, 0, 0.3);\n}\n.input--status-error:focus:enabled {\n  box-shadow: 0 0 0 1px #d70022 inset, 0 0 0 1px #d70022, 0 0 0 4px rgba(251, 0, 34, 0.3);\n}\n\n.input--nested {\n  margin-top: 4px;\n  margin-left: 20px;\n}\n\n.input__sublabel {\n  color: rgba(12, 12, 13, 0.6);\n  display: table;\n  margin-left: 32px;\n}'),Checkbox.displayName="Input.Checkbox",Checkbox.propTypes={label:propTypes.string.isRequired,name:propTypes.string.isRequired,sublabel:propTypes.string},Radio.displayName="Input.Radio",Radio.propTypes={label:propTypes.string.isRequired,name:propTypes.string.isRequired},Text.displayName="Input.Text",Text.defaultProps={status:"default",type:"text"},Text.propTypes={icon:propTypes.element,inner:propTypes.bool,label:propTypes.string,name:propTypes.string.isRequired,status:propTypes.oneOf(["default","warning","error"]),type:propTypes.oneOf(["search","text","password"])};var Input={Checkbox:Checkbox,Radio:Radio,Text:Text};___$insertStyle("/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n/* Photon Colors SCSS Variables v3.3.1 */\n.messagebar {\n  border-radius: 4px;\n  display: flex;\n  min-height: 32px;\n  padding: 0 4px;\n  /* Icon styling */\n}\n.messagebar > button {\n  align-self: center;\n  margin-left: 8px;\n}\n.messagebar--status-generic {\n  background: #ededf0;\n}\n.messagebar--status-error {\n  color: white;\n  background: #ff0039;\n}\n.messagebar--status-error > svg > path {\n  fill: white;\n}\n.messagebar--status-success {\n  background: #30e60b;\n}\n.messagebar--status-warning {\n  background: #ffe900;\n}\n.messagebar--width-auto {\n  display: inline-flex;\n  width: auto;\n}\n.messagebar__close {\n  cursor: pointer;\n  border-radius: 4px;\n  margin-left: 32px;\n  margin-right: 0;\n  padding-right: 0;\n}\n.messagebar__close:hover {\n  background: rgba(0, 0, 0, 0.25);\n}\n.messagebar__icon {\n  align-self: center;\n  display: inline;\n  margin-right: 4px;\n  padding: 4px;\n}\n.messagebar__icon > * {\n  height: 16px;\n}\n.messagebar__message {\n  align-self: center;\n  display: inline-block;\n  margin-right: 4px;\n}\n.messagebar__spacer {\n  flex-grow: 1;\n}");var CheckIcon="data:image/svg+xml;base64,ZnVuY3Rpb24gX29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzKG9iaiwga2V5cykgeyB2YXIgdGFyZ2V0ID0ge307IGZvciAodmFyIGkgaW4gb2JqKSB7IGlmIChrZXlzLmluZGV4T2YoaSkgPj0gMCkgY29udGludWU7IGlmICghT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKG9iaiwga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S0yLjg5NHpNNyA1YTEgMSAwIDAgMSAyIDB2NGExIDEgMCAwIDEtMiAwem0xIDguMjVBMS4yNSAxLjI1IDAgMSAxIDkuMjUgMTIgMS4yNSAxLjI1IDAgMCAxIDggMTMuMjV6IiAvPjwvc3ZnPjsKfSk7";function MessageBar(e){var n=e.action,t=e.children,r=e.dismiss,o=e.onClick,a=e.onDismiss,i=e.status,p=e.width,s=(_objectWithoutProperties(e,["action","children","dismiss","onClick","onDismiss","status","width"]),classnames("messagebar","messagebar--status-".concat(i),"messagebar--width-".concat(p))),c=IdentityIcon;return"error"===i?c=IdentityIconHover:"success"===i?c=CheckIcon:"warning"===i&&(c=WarningIcon),React.createElement("div",{className:s},React.createElement(c,{className:"messagebar__icon"}),React.createElement("div",{className:"messagebar__message"},React.createElement(Typography,{type:"body",size:"sm"},t)),n&&React.createElement(Button,{size:"micro",status:i,onClick:o},n),React.createElement("div",{className:"messagebar__spacer"}),r&&React.createElement(CloseIcon,{className:"messagebar__icon messagebar__close",size:"micro",onClick:a}))}MessageBar.propTypes={action:propTypes.string,dismiss:propTypes.bool,onClick:propTypes.func,onDismiss:propTypes.func,status:propTypes.oneOf(["generic","error","success","warning"]),width:propTypes.oneOf(["default","auto"])},MessageBar.defaultProps={status:"generic",width:"default"},exports.Button=Button,exports.Card=Card,exports.Grid=Grid,exports.Input=Input,exports.MessageBar=MessageBar,exports.Typography=Typography;
