@leafygreen-ui/button
Advanced tools
Comparing version 2.3.7 to 3.0.0
# @leafygreen-ui/button | ||
## 3.0.0 | ||
### Major Changes | ||
- 9c45cb4: Wrapping component with React.forwardRef to provide direct access to the underlying element. | ||
### Patch Changes | ||
- Updated dependencies [9c45cb4] | ||
- @leafygreen-ui/lib@3.1.0 | ||
## 2.3.7 | ||
@@ -4,0 +15,0 @@ |
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { HTMLElementProps } from '@leafygreen-ui/lib'; | ||
@@ -32,20 +31,6 @@ export declare const Variant: { | ||
} | ||
declare type CustomElementButtonProps = SharedButtonProps & { | ||
declare const Button: React.ForwardRefExoticComponent<(LinkButtonProps & React.RefAttributes<unknown>) | (ButtonButtonProps & React.RefAttributes<unknown>) | (SharedButtonProps & { | ||
[key: string]: any; | ||
as: React.ElementType<any>; | ||
[key: string]: any; | ||
}; | ||
declare type ButtonProps = LinkButtonProps | ButtonButtonProps | CustomElementButtonProps; | ||
declare function Button(props: ButtonProps): JSX.Element; | ||
declare namespace Button { | ||
var propTypes: { | ||
variant: PropTypes.Requireable<"default" | "primary" | "info" | "danger" | "dark">; | ||
size: PropTypes.Requireable<"small" | "xsmall" | "normal" | "large">; | ||
className: PropTypes.Requireable<string>; | ||
children: PropTypes.Requireable<PropTypes.ReactNodeLike>; | ||
disabled: PropTypes.Requireable<boolean>; | ||
as: PropTypes.Requireable<string | ((...args: any[]) => any)>; | ||
href: PropTypes.Requireable<string>; | ||
}; | ||
var displayName: string; | ||
} | ||
} & React.RefAttributes<unknown>)>; | ||
export default Button; |
@@ -1,2 +0,2 @@ | ||
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("react"),require("prop-types"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/palette"),require("polished"));else if("function"==typeof define&&define.amd)define(["react","prop-types","@leafygreen-ui/emotion","@leafygreen-ui/palette","polished"],r);else{var e="object"==typeof exports?r(require("react"),require("prop-types"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/palette"),require("polished")):r(t.react,t["prop-types"],t["@leafygreen-ui/emotion"],t["@leafygreen-ui/palette"],t.polished);for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(window,function(t,r,e,n,o){return function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=46)}([function(t,r,e){var n=e(28),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,r,e){var n=e(66),o=e(72);t.exports=function(t,r){var e=o(t,r);return n(e)?e:void 0}},function(t,r){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,r){var e=Array.isArray;t.exports=e},function(t,r,e){var n=e(5),o=e(68),i=e(69),a="[object Null]",u="[object Undefined]",c=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:c&&c in Object(t)?o(t):i(t)}},function(t,r,e){var n=e(0).Symbol;t.exports=n},function(t,r){t.exports=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}},function(t,r,e){var n=e(31),o=e(32);t.exports=function(t,r,e,i){var a=!e;e||(e={});for(var u=-1,c=r.length;++u<c;){var s=r[u],f=i?i(e[s],t[s],s,e,t):void 0;void 0===f&&(f=t[s]),a?o(e,s,f):n(e,s,f)}return e}},function(t,r,e){var n=e(56),o=e(57),i=e(58),a=e(59),u=e(60);function c(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,r,e){var n=e(26);t.exports=function(t,r){for(var e=t.length;e--;)if(n(t[e][0],r))return e;return-1}},function(t,r,e){var n=e(1)(Object,"create");t.exports=n},function(t,r,e){var n=e(81);t.exports=function(t,r){var e=t.__data__;return n(r)?e["string"==typeof r?"string":"hash"]:e.map}},function(t,r,e){var n=e(1)(e(0),"Map");t.exports=n},function(t,r,e){var n=e(34),o=e(93),i=e(39);t.exports=function(t){return i(t)?n(t):o(t)}},function(t,r){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,r){t.exports=function(t){return function(r){return t(r)}}},function(t,r,e){(function(t){var n=e(28),o=r&&!r.nodeType&&r,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&n.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,e(14)(t))},function(t,r){var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},function(t,r,e){var n=e(101),o=e(41),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),n(a(t),function(r){return i.call(t,r)}))}:o;t.exports=u},function(t,r){t.exports=function(t,r){for(var e=-1,n=r.length,o=t.length;++e<n;)t[o+e]=r[e];return t}},function(t,r,e){var n=e(38)(Object.getPrototypeOf,Object);t.exports=n},function(t,r,e){var n=e(104),o=e(12),i=e(105),a=e(106),u=e(107),c=e(4),s=e(29),f=s(n),l=s(o),p=s(i),b=s(a),d=s(u),v=c;(n&&"[object DataView]"!=v(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var r=c(t),e="[object Object]"==r?t.constructor:void 0,n=e?s(e):"";if(n)switch(n){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case b:return"[object Set]";case d:return"[object WeakMap]"}return r}),t.exports=v},function(t,r,e){var n=e(110);t.exports=function(t){var r=new t.constructor(t.byteLength);return new n(r).set(new n(t)),r}},function(t,r,e){var n=e(3),o=e(122),i=e(123),a=e(126);t.exports=function(t,r){return n(t)?t:o(t,r)?[t]:i(a(t))}},function(t,r,e){var n=e(4),o=e(2),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&n(t)==i}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o}},function(t,r){t.exports=function(t,r){return t===r||t!=t&&r!=r}},function(t,r,e){var n=e(4),o=e(6),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var r=n(t);return r==a||r==u||r==i||r==c}},function(t,r,e){(function(r){var e="object"==typeof r&&r&&r.Object===Object&&r;t.exports=e}).call(this,e(67))},function(t,r){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,r,e){var n=e(73),o=e(80),i=e(82),a=e(83),u=e(84);function c(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,r,e){var n=e(32),o=e(26),i=Object.prototype.hasOwnProperty;t.exports=function(t,r,e){var a=t[r];i.call(t,r)&&o(a,e)&&(void 0!==e||r in t)||n(t,r,e)}},function(t,r,e){var n=e(33);t.exports=function(t,r,e){"__proto__"==r&&n?n(t,r,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[r]=e}},function(t,r,e){var n=e(1),o=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,r,e){var n=e(87),o=e(35),i=e(3),a=e(36),u=e(90),c=e(91),s=Object.prototype.hasOwnProperty;t.exports=function(t,r){var e=i(t),f=!e&&o(t),l=!e&&!f&&a(t),p=!e&&!f&&!l&&c(t),b=e||f||l||p,d=b?n(t.length,String):[],v=d.length;for(var y in t)!r&&!s.call(t,y)||b&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,v))||d.push(y);return d}},function(t,r,e){var n=e(88),o=e(2),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,r,e){(function(t){var n=e(0),o=e(89),i=r&&!r.nodeType&&r,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?n.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;t.exports=c}).call(this,e(14)(t))},function(t,r){var e=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}},function(t,r){t.exports=function(t,r){return function(e){return t(r(e))}}},function(t,r,e){var n=e(27),o=e(37);t.exports=function(t){return null!=t&&o(t.length)&&!n(t)}},function(t,r,e){var n=e(34),o=e(96),i=e(39);t.exports=function(t){return i(t)?n(t,!0):o(t)}},function(t,r){t.exports=function(){return[]}},function(t,r,e){var n=e(19),o=e(20),i=e(18),a=e(41),u=Object.getOwnPropertySymbols?function(t){for(var r=[];t;)n(r,i(t)),t=o(t);return r}:a;t.exports=u},function(t,r,e){var n=e(19),o=e(3);t.exports=function(t,r,e){var i=r(t);return o(t)?i:n(i,e(t))}},function(t,r,e){var n=e(43),o=e(42),i=e(40);t.exports=function(t){return n(t,i,o)}},function(t,r,e){var n=e(24),o=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var r=t+"";return"0"==r&&1/t==-o?"-0":r}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Size",{enumerable:!0,get:function(){return n.Size}}),Object.defineProperty(r,"Variant",{enumerable:!0,get:function(){return n.Variant}}),r.default=void 0;var n=function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,e):{};n.get||n.set?Object.defineProperty(r,e,n):r[e]=t[e]}return r.default=t,r}(e(47));var o=n.default;r.default=o},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=_,r.Size=r.Variant=void 0;var n,o,i=l(e(48)),a=l(e(49)),u=e(50),c=e(51),s=e(52),f=l(e(53));function l(t){return t&&t.__esModule?t:{default:t}}function p(){return(p=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}).apply(this,arguments)}function b(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var d={Default:"default",Primary:"primary",Info:"info",Danger:"danger",Dark:"dark"};r.Variant=d;var v={XSmall:"xsmall",Small:"small",Normal:"normal",Large:"large"};r.Size=v;var y=(b(n={},d.Default,(0,u.css)("color:",c.uiColors.gray.dark2,";border:1px solid ",c.uiColors.gray.light1,";background-color:",c.uiColors.gray.light3,";background-image:linear-gradient( ",c.uiColors.white,",",c.uiColors.gray.light2," );box-shadow:inset 0 -1px 0 ",c.uiColors.gray.light1,";&:before{border-color:",c.uiColors.gray.light1,";background-color:",c.uiColors.gray.light2,";background-image:linear-gradient(",c.uiColors.gray.light3,",#dde4e2);box-shadow:inset 0 -1px 0 ",c.uiColors.gray.light1,",0 1px 4px ",(0,s.transparentize)(.9,c.uiColors.black),";}&:after{border-color:",c.uiColors.gray.light1,";background-color:",c.uiColors.gray.light3,";background-image:linear-gradient(#dde4e2,",c.uiColors.gray.light3,");box-shadow:inset 0 2px 2px ",(0,s.transparentize)(.9,c.uiColors.black),";}")),b(n,d.Primary,(0,u.css)("color:",c.uiColors.white,";border:1px solid #158242;background-color:",c.uiColors.green.base,";background-image:linear-gradient(",c.uiColors.green.base,",#18964c);box-shadow:inset 0 -1px 0 #158242;&:before{background-color:#129f4c;background-image:linear-gradient(#129f4c,#148040);box-shadow:0 1px 4px ",(0,s.transparentize)(.9,c.uiColors.black),",inset 0 -1px 0 #158242;}&:after{background-color:",c.uiColors.green.base,";background-image:linear-gradient(#148040,#129f4c);box-shadow:inset 0 2px 2px ",c.uiColors.green.dark2,";}")),b(n,d.Info,(0,u.css)("color:",c.uiColors.green.base,";background-color:transparent;background-image:none;border:1px solid ",c.uiColors.green.base,";box-shadow:none;&:before{background-color:#129f4c;background-image:linear-gradient(#129f4c,#148040);box-shadow:0 1px 4px ",(0,s.transparentize)(.9,c.uiColors.black),",inset 0 -1px 0 #158242;}&:after{background-color:",c.uiColors.green.base,";background-image:linear-gradient(#148040,#129f4c);box-shadow:inset 0 2px 2px ",c.uiColors.green.dark2,";}&:not(:disabled){&:focus,&:hover,&:active{border-color:#158242;color:",c.uiColors.white,";}}")),b(n,d.Danger,(0,u.css)("color:",c.uiColors.white,";border:1px solid ",c.uiColors.red.dark2,";background-color:",c.uiColors.red.base,";background-image:linear-gradient(#e45b26,#b63016);box-shadow:inset 0 -1px 0 0 ",c.uiColors.red.dark2,";&:before{background-color:",c.uiColors.red.dark2,";background-image:linear-gradient(#e45b26,",c.uiColors.red.dark2,");box-shadow:0 1px 4px ",(0,s.transparentize)(.9,c.uiColors.black),",inset 0 -1px 0 ",c.uiColors.red.dark2,";}&:after{background-color:",c.uiColors.red.dark2,";background-image:linear-gradient(#ad231b,#e45b26);box-shadow:inset 0 2px 2px ",c.uiColors.red.dark2,";}")),b(n,d.Dark,(0,u.css)("color:",c.uiColors.white,";border:1px solid ",c.uiColors.gray.dark2,";background-color:",c.uiColors.gray.dark1,";background-image:linear-gradient( ",c.uiColors.gray.base,",",c.uiColors.gray.dark1," );box-shadow:inset 0 -1px 0 ",c.uiColors.gray.dark2,";&:before{background-image:linear-gradient( ",c.uiColors.gray.base,",",c.uiColors.gray.dark2," );box-shadow:0 1px 4px ",(0,s.transparentize)(.9,c.uiColors.black),",inset 0 -1px 0 ",c.uiColors.gray.dark2,";}&:after{background-image:linear-gradient( ",c.uiColors.gray.dark1,",",c.uiColors.gray.base," );box-shadow:inset 0 2px 2px ",c.uiColors.gray.dark2,";}")),n),x=(b(o={},v.XSmall,(0,u.css)("height:22px;padding:0 8px;font-size:11px;text-transform:uppercase;font-weight:bold;")),b(o,v.Small,(0,u.css)("height:25px;padding:0 10px;font-size:14px;")),b(o,v.Normal,(0,u.css)("height:32px;padding:0 12px;font-size:14px;")),b(o,v.Large,(0,u.css)("height:45px;font-size:16px;padding:0 20px;")),o),g=(0,u.css)("position:relative;z-index:0;border-radius:3px;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;font-family:Akzidenz,'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:normal;text-decoration:none;text-transform:none;transition:all 120ms ease;user-select:none;overflow:hidden;&:hover{text-decoration:none;}&:before,&:after{content:'';transition:0.15s opacity ease-in-out;opacity:0;position:absolute;top:0;bottom:0;left:0;right:0;}&:not(:disabled){&:focus,&:hover{&:before{opacity:1;}}&:active:after{opacity:1;}}"),h=(0,u.css)("color:",c.uiColors.gray.base,";border-color:",c.uiColors.gray.light1,";background-color:",c.uiColors.gray.light2,";background-image:none;box-shadow:none;pointer-events:none;");function j(t){return null!=t.href}function _(t){var r=t.className,e=void 0===r?"":r,n=t.children,o=void 0===n?null:n,a=t.disabled,c=void 0!==a&&a,s=t.variant,l=void 0===s?d.Default:s,_=t.size,m=void 0===_?v.Normal:_,w=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.forEach(function(r){b(t,r,e[r])})}return t}({className:(0,u.cx)(g,x[m],y[l],b({},h,c),e)},!j(t)&&{disabled:c},{"aria-disabled":c}),O=(0,f.default)(t,["as","className","disabled","size","variant","children"]),k=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button";return i.default.createElement(t,p({type:"button"===t?"button":void 0},O,w),i.default.createElement("span",{className:(0,u.css)("z-index:1;")},o))};return function(t){return null!=t.as}(t)?k(t.as):j(t)?k("a"):k()}_.propTypes={variant:a.default.oneOf(Object.values(d)),size:a.default.oneOf(Object.values(v)),className:a.default.string,children:a.default.node,disabled:a.default.bool,as:a.default.oneOfType([a.default.string,a.default.func]),href:a.default.string},_.displayName="Button"},function(r,e){r.exports=t},function(t,e){t.exports=r},function(t,r){t.exports=e},function(t,r){t.exports=n},function(t,r){t.exports=o},function(t,r,e){var n=e(25),o=e(54),i=e(121),a=e(23),u=e(7),c=e(132),s=e(134),f=e(44),l=s(function(t,r){var e={};if(null==t)return e;var s=!1;r=n(r,function(r){return r=a(r,t),s||(s=r.length>1),r}),u(t,f(t),e),s&&(e=o(e,7,c));for(var l=r.length;l--;)i(e,r[l]);return e});t.exports=l},function(t,r,e){var n=e(55),o=e(85),i=e(31),a=e(86),u=e(95),c=e(98),s=e(99),f=e(100),l=e(102),p=e(103),b=e(44),d=e(21),v=e(108),y=e(109),x=e(115),g=e(3),h=e(36),j=e(117),_=e(6),m=e(119),w=e(13),O=1,k=2,C=4,A="[object Arguments]",P="[object Function]",S="[object GeneratorFunction]",z="[object Object]",M={};M[A]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object DataView]"]=M["[object Boolean]"]=M["[object Date]"]=M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Map]"]=M["[object Number]"]=M[z]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object Symbol]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Error]"]=M[P]=M["[object WeakMap]"]=!1,t.exports=function t(r,e,D,F,I,E){var T,U=e&O,N=e&k,q=e&C;if(D&&(T=I?D(r,F,I,E):D(r)),void 0!==T)return T;if(!_(r))return r;var B=g(r);if(B){if(T=v(r),!U)return s(r,T)}else{var $=d(r),V=$==P||$==S;if(h(r))return c(r,U);if($==z||$==A||V&&!I){if(T=N||V?{}:x(r),!U)return N?l(r,u(T,r)):f(r,a(T,r))}else{if(!M[$])return I?r:{};T=y(r,$,U)}}E||(E=new n);var L=E.get(r);if(L)return L;E.set(r,T),m(r)?r.forEach(function(n){T.add(t(n,e,D,n,r,E))}):j(r)&&r.forEach(function(n,o){T.set(o,t(n,e,D,o,r,E))});var R=q?N?b:p:N?keysIn:w,W=B?void 0:R(r);return o(W||r,function(n,o){W&&(n=r[o=n]),i(T,o,t(n,e,D,o,r,E))}),T}},function(t,r,e){var n=e(8),o=e(61),i=e(62),a=e(63),u=e(64),c=e(65);function s(t){var r=this.__data__=new n(t);this.size=r.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=u,s.prototype.set=c,t.exports=s},function(t,r){t.exports=function(){this.__data__=[],this.size=0}},function(t,r,e){var n=e(9),o=Array.prototype.splice;t.exports=function(t){var r=this.__data__,e=n(r,t);return!(e<0)&&(e==r.length-1?r.pop():o.call(r,e,1),--this.size,!0)}},function(t,r,e){var n=e(9);t.exports=function(t){var r=this.__data__,e=n(r,t);return e<0?void 0:r[e][1]}},function(t,r,e){var n=e(9);t.exports=function(t){return n(this.__data__,t)>-1}},function(t,r,e){var n=e(9);t.exports=function(t,r){var e=this.__data__,o=n(e,t);return o<0?(++this.size,e.push([t,r])):e[o][1]=r,this}},function(t,r,e){var n=e(8);t.exports=function(){this.__data__=new n,this.size=0}},function(t,r){t.exports=function(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e}},function(t,r){t.exports=function(t){return this.__data__.get(t)}},function(t,r){t.exports=function(t){return this.__data__.has(t)}},function(t,r,e){var n=e(8),o=e(12),i=e(30),a=200;t.exports=function(t,r){var e=this.__data__;if(e instanceof n){var u=e.__data__;if(!o||u.length<a-1)return u.push([t,r]),this.size=++e.size,this;e=this.__data__=new i(u)}return e.set(t,r),this.size=e.size,this}},function(t,r,e){var n=e(27),o=e(70),i=e(6),a=e(29),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,f=c.toString,l=s.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(n(t)?p:u).test(a(t))}},function(t,r){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){var n=e(5),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var r=i.call(t,u),e=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(r?t[u]=e:delete t[u]),o}},function(t,r){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,r,e){var n,o=e(71),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},function(t,r,e){var n=e(0)["__core-js_shared__"];t.exports=n},function(t,r){t.exports=function(t,r){return null==t?void 0:t[r]}},function(t,r,e){var n=e(74),o=e(8),i=e(12);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(t,r,e){var n=e(75),o=e(76),i=e(77),a=e(78),u=e(79);function c(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}c.prototype.clear=n,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,r,e){var n=e(10);t.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(t,r){t.exports=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}},function(t,r,e){var n=e(10),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;if(n){var e=r[t];return e===o?void 0:e}return i.call(r,t)?r[t]:void 0}},function(t,r,e){var n=e(10),o=Object.prototype.hasOwnProperty;t.exports=function(t){var r=this.__data__;return n?void 0!==r[t]:o.call(r,t)}},function(t,r,e){var n=e(10),o="__lodash_hash_undefined__";t.exports=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=n&&void 0===r?o:r,this}},function(t,r,e){var n=e(11);t.exports=function(t){var r=n(this,t).delete(t);return this.size-=r?1:0,r}},function(t,r){t.exports=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t}},function(t,r,e){var n=e(11);t.exports=function(t){return n(this,t).get(t)}},function(t,r,e){var n=e(11);t.exports=function(t){return n(this,t).has(t)}},function(t,r,e){var n=e(11);t.exports=function(t,r){var e=n(this,t),o=e.size;return e.set(t,r),this.size+=e.size==o?0:1,this}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length;++e<n&&!1!==r(t[e],e,t););return t}},function(t,r,e){var n=e(7),o=e(13);t.exports=function(t,r){return t&&n(r,o(r),t)}},function(t,r){t.exports=function(t,r){for(var e=-1,n=Array(t);++e<t;)n[e]=r(e);return n}},function(t,r,e){var n=e(4),o=e(2),i="[object Arguments]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,r){t.exports=function(){return!1}},function(t,r){var e=9007199254740991,n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,r){var o=typeof t;return!!(r=null==r?e:r)&&("number"==o||"symbol"!=o&&n.test(t))&&t>-1&&t%1==0&&t<r}},function(t,r,e){var n=e(92),o=e(15),i=e(16),a=i&&i.isTypedArray,u=a?o(a):n;t.exports=u},function(t,r,e){var n=e(4),o=e(37),i=e(2),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[n(t)]}},function(t,r,e){var n=e(17),o=e(94),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return o(t);var r=[];for(var e in Object(t))i.call(t,e)&&"constructor"!=e&&r.push(e);return r}},function(t,r,e){var n=e(38)(Object.keys,Object);t.exports=n},function(t,r,e){var n=e(7),o=e(40);t.exports=function(t,r){return t&&n(r,o(r),t)}},function(t,r,e){var n=e(6),o=e(17),i=e(97),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!n(t))return i(t);var r=o(t),e=[];for(var u in t)("constructor"!=u||!r&&a.call(t,u))&&e.push(u);return e}},function(t,r){t.exports=function(t){var r=[];if(null!=t)for(var e in Object(t))r.push(e);return r}},function(t,r,e){(function(t){var n=e(0),o=r&&!r.nodeType&&r,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?n.Buffer:void 0,u=a?a.allocUnsafe:void 0;t.exports=function(t,r){if(r)return t.slice();var e=t.length,n=u?u(e):new t.constructor(e);return t.copy(n),n}}).call(this,e(14)(t))},function(t,r){t.exports=function(t,r){var e=-1,n=t.length;for(r||(r=Array(n));++e<n;)r[e]=t[e];return r}},function(t,r,e){var n=e(7),o=e(18);t.exports=function(t,r){return n(t,o(t),r)}},function(t,r){t.exports=function(t,r){for(var e=-1,n=null==t?0:t.length,o=0,i=[];++e<n;){var a=t[e];r(a,e,t)&&(i[o++]=a)}return i}},function(t,r,e){var n=e(7),o=e(42);t.exports=function(t,r){return n(t,o(t),r)}},function(t,r,e){var n=e(43),o=e(18),i=e(13);t.exports=function(t){return n(t,i,o)}},function(t,r,e){var n=e(1)(e(0),"DataView");t.exports=n},function(t,r,e){var n=e(1)(e(0),"Promise");t.exports=n},function(t,r,e){var n=e(1)(e(0),"Set");t.exports=n},function(t,r,e){var n=e(1)(e(0),"WeakMap");t.exports=n},function(t,r){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var r=t.length,n=new t.constructor(r);return r&&"string"==typeof t[0]&&e.call(t,"index")&&(n.index=t.index,n.input=t.input),n}},function(t,r,e){var n=e(22),o=e(111),i=e(112),a=e(113),u=e(114),c="[object Boolean]",s="[object Date]",f="[object Map]",l="[object Number]",p="[object RegExp]",b="[object Set]",d="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",x="[object DataView]",g="[object Float32Array]",h="[object Float64Array]",j="[object Int8Array]",_="[object Int16Array]",m="[object Int32Array]",w="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",C="[object Uint32Array]";t.exports=function(t,r,e){var A=t.constructor;switch(r){case y:return n(t);case c:case s:return new A(+t);case x:return o(t,e);case g:case h:case j:case _:case m:case w:case O:case k:case C:return u(t,e);case f:return new A;case l:case d:return new A(t);case p:return i(t);case b:return new A;case v:return a(t)}}},function(t,r,e){var n=e(0).Uint8Array;t.exports=n},function(t,r,e){var n=e(22);t.exports=function(t,r){var e=r?n(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}},function(t,r){var e=/\w*$/;t.exports=function(t){var r=new t.constructor(t.source,e.exec(t));return r.lastIndex=t.lastIndex,r}},function(t,r,e){var n=e(5),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},function(t,r,e){var n=e(22);t.exports=function(t,r){var e=r?n(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}},function(t,r,e){var n=e(116),o=e(20),i=e(17);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:n(o(t))}},function(t,r,e){var n=e(6),o=Object.create,i=function(){function t(){}return function(r){if(!n(r))return{};if(o)return o(r);t.prototype=r;var e=new t;return t.prototype=void 0,e}}();t.exports=i},function(t,r,e){var n=e(118),o=e(15),i=e(16),a=i&&i.isMap,u=a?o(a):n;t.exports=u},function(t,r,e){var n=e(21),o=e(2),i="[object Map]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,r,e){var n=e(120),o=e(15),i=e(16),a=i&&i.isSet,u=a?o(a):n;t.exports=u},function(t,r,e){var n=e(21),o=e(2),i="[object Set]";t.exports=function(t){return o(t)&&n(t)==i}},function(t,r,e){var n=e(23),o=e(128),i=e(129),a=e(45);t.exports=function(t,r){return r=n(r,t),null==(t=i(t,r))||delete t[a(o(r))]}},function(t,r,e){var n=e(3),o=e(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,r){if(n(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=r&&t in Object(r))}},function(t,r,e){var n=e(124),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n(function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(o,function(t,e,n,o){r.push(n?o.replace(i,"$1"):e||t)}),r});t.exports=a},function(t,r,e){var n=e(125),o=500;t.exports=function(t){var r=n(t,function(t){return e.size===o&&e.clear(),t}),e=r.cache;return r}},function(t,r,e){var n=e(30),o="Expected a function";function i(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError(o);var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return e.cache=i.set(o,a)||i,a};return e.cache=new(i.Cache||n),e}i.Cache=n,t.exports=i},function(t,r,e){var n=e(127);t.exports=function(t){return null==t?"":n(t)}},function(t,r,e){var n=e(5),o=e(25),i=e(3),a=e(24),u=1/0,c=n?n.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(r){if("string"==typeof r)return r;if(i(r))return o(r,t)+"";if(a(r))return s?s.call(r):"";var e=r+"";return"0"==e&&1/r==-u?"-0":e}},function(t,r){t.exports=function(t){var r=null==t?0:t.length;return r?t[r-1]:void 0}},function(t,r,e){var n=e(130),o=e(131);t.exports=function(t,r){return r.length<2?t:n(t,o(r,0,-1))}},function(t,r,e){var n=e(23),o=e(45);t.exports=function(t,r){for(var e=0,i=(r=n(r,t)).length;null!=t&&e<i;)t=t[o(r[e++])];return e&&e==i?t:void 0}},function(t,r){t.exports=function(t,r,e){var n=-1,o=t.length;r<0&&(r=-r>o?0:o+r),(e=e>o?o:e)<0&&(e+=o),o=r>e?0:e-r>>>0,r>>>=0;for(var i=Array(o);++n<o;)i[n]=t[n+r];return i}},function(t,r,e){var n=e(133);t.exports=function(t){return n(t)?void 0:t}},function(t,r,e){var n=e(4),o=e(20),i=e(2),a="[object Object]",u=Function.prototype,c=Object.prototype,s=u.toString,f=c.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||n(t)!=a)return!1;var r=o(t);if(null===r)return!0;var e=f.call(r,"constructor")&&r.constructor;return"function"==typeof e&&e instanceof e&&s.call(e)==l}},function(t,r,e){var n=e(135),o=e(138),i=e(140);t.exports=function(t){return i(o(t,void 0,n),t+"")}},function(t,r,e){var n=e(136);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},function(t,r,e){var n=e(19),o=e(137);t.exports=function t(r,e,i,a,u){var c=-1,s=r.length;for(i||(i=o),u||(u=[]);++c<s;){var f=r[c];e>0&&i(f)?e>1?t(f,e-1,i,a,u):n(u,f):a||(u[u.length]=f)}return u}},function(t,r,e){var n=e(5),o=e(35),i=e(3),a=n?n.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,r,e){var n=e(139),o=Math.max;t.exports=function(t,r,e){return r=o(void 0===r?t.length-1:r,0),function(){for(var i=arguments,a=-1,u=o(i.length-r,0),c=Array(u);++a<u;)c[a]=i[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=i[a];return s[r]=e(c),n(t,this,s)}}},function(t,r){t.exports=function(t,r,e){switch(e.length){case 0:return t.call(r);case 1:return t.call(r,e[0]);case 2:return t.call(r,e[0],e[1]);case 3:return t.call(r,e[0],e[1],e[2])}return t.apply(r,e)}},function(t,r,e){var n=e(141),o=e(144)(n);t.exports=o},function(t,r,e){var n=e(142),o=e(33),i=e(143),a=o?function(t,r){return o(t,"toString",{configurable:!0,enumerable:!1,value:n(r),writable:!0})}:i;t.exports=a},function(t,r){t.exports=function(t){return function(){return t}}},function(t,r){t.exports=function(t){return t}},function(t,r){var e=800,n=16,o=Date.now;t.exports=function(t){var r=0,i=0;return function(){var a=o(),u=n-(a-i);if(i=a,u>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}}])}); | ||
!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("react"),require("prop-types"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/palette"),require("polished"));else if("function"==typeof define&&define.amd)define(["react","prop-types","@leafygreen-ui/emotion","@leafygreen-ui/palette","polished"],n);else{var r="object"==typeof exports?n(require("react"),require("prop-types"),require("@leafygreen-ui/emotion"),require("@leafygreen-ui/palette"),require("polished")):n(t.react,t["prop-types"],t["@leafygreen-ui/emotion"],t["@leafygreen-ui/palette"],t.polished);for(var e in r)("object"==typeof exports?exports:t)[e]=r[e]}}(window,(function(t,n,r,e,o){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=46)}([function(t,n,r){var e=r(28),o="object"==typeof self&&self&&self.Object===Object&&self,i=e||o||Function("return this")();t.exports=i},function(t,n,r){var e=r(66),o=r(72);t.exports=function(t,n){var r=o(t,n);return e(r)?r:void 0}},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n){var r=Array.isArray;t.exports=r},function(t,n,r){var e=r(5),o=r(68),i=r(69),a="[object Null]",u="[object Undefined]",c=e?e.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:c&&c in Object(t)?o(t):i(t)}},function(t,n,r){var e=r(0).Symbol;t.exports=e},function(t,n){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},function(t,n,r){var e=r(31),o=r(32);t.exports=function(t,n,r,i){var a=!r;r||(r={});for(var u=-1,c=n.length;++u<c;){var s=n[u],f=i?i(r[s],t[s],s,r,t):void 0;void 0===f&&(f=t[s]),a?o(r,s,f):e(r,s,f)}return r}},function(t,n,r){var e=r(56),o=r(57),i=r(58),a=r(59),u=r(60);function c(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,n,r){var e=r(26);t.exports=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}},function(t,n,r){var e=r(1)(Object,"create");t.exports=e},function(t,n,r){var e=r(81);t.exports=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}},function(t,n,r){var e=r(1)(r(0),"Map");t.exports=e},function(t,n,r){var e=r(34),o=r(93),i=r(39);t.exports=function(t){return i(t)?e(t):o(t)}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n){t.exports=function(t){return function(n){return t(n)}}},function(t,n,r){(function(t){var e=r(28),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&e.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,r(14)(t))},function(t,n){var r=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||r)}},function(t,n,r){var e=r(101),o=r(41),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),e(a(t),(function(n){return i.call(t,n)})))}:o;t.exports=u},function(t,n){t.exports=function(t,n){for(var r=-1,e=n.length,o=t.length;++r<e;)t[o+r]=n[r];return t}},function(t,n,r){var e=r(38)(Object.getPrototypeOf,Object);t.exports=e},function(t,n,r){var e=r(104),o=r(12),i=r(105),a=r(106),u=r(107),c=r(4),s=r(29),f=s(e),l=s(o),p=s(i),b=s(a),d=s(u),v=c;(e&&"[object DataView]"!=v(new e(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var n=c(t),r="[object Object]"==n?t.constructor:void 0,e=r?s(r):"";if(e)switch(e){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case b:return"[object Set]";case d:return"[object WeakMap]"}return n}),t.exports=v},function(t,n,r){var e=r(110);t.exports=function(t){var n=new t.constructor(t.byteLength);return new e(n).set(new e(t)),n}},function(t,n,r){var e=r(3),o=r(122),i=r(123),a=r(126);t.exports=function(t,n){return e(t)?t:o(t,n)?[t]:i(a(t))}},function(t,n,r){var e=r(4),o=r(2),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&e(t)==i}},function(t,n){t.exports=function(t,n){for(var r=-1,e=null==t?0:t.length,o=Array(e);++r<e;)o[r]=n(t[r],r,t);return o}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,r){var e=r(4),o=r(6),i="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",c="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=e(t);return n==a||n==u||n==i||n==c}},function(t,n,r){(function(n){var r="object"==typeof n&&n&&n.Object===Object&&n;t.exports=r}).call(this,r(67))},function(t,n){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,n,r){var e=r(73),o=r(80),i=r(82),a=r(83),u=r(84);function c(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,n,r){var e=r(32),o=r(26),i=Object.prototype.hasOwnProperty;t.exports=function(t,n,r){var a=t[n];i.call(t,n)&&o(a,r)&&(void 0!==r||n in t)||e(t,n,r)}},function(t,n,r){var e=r(33);t.exports=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}},function(t,n,r){var e=r(1),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,r){var e=r(87),o=r(35),i=r(3),a=r(36),u=r(90),c=r(91),s=Object.prototype.hasOwnProperty;t.exports=function(t,n){var r=i(t),f=!r&&o(t),l=!r&&!f&&a(t),p=!r&&!f&&!l&&c(t),b=r||f||l||p,d=b?e(t.length,String):[],v=d.length;for(var y in t)!n&&!s.call(t,y)||b&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||u(y,v))||d.push(y);return d}},function(t,n,r){var e=r(88),o=r(2),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=e(function(){return arguments}())?e:function(t){return o(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=c},function(t,n,r){(function(t){var e=r(0),o=r(89),i=n&&!n.nodeType&&n,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===i?e.Buffer:void 0,c=(u?u.isBuffer:void 0)||o;t.exports=c}).call(this,r(14)(t))},function(t,n){var r=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}},function(t,n){t.exports=function(t,n){return function(r){return t(n(r))}}},function(t,n,r){var e=r(27),o=r(37);t.exports=function(t){return null!=t&&o(t.length)&&!e(t)}},function(t,n,r){var e=r(34),o=r(96),i=r(39);t.exports=function(t){return i(t)?e(t,!0):o(t)}},function(t,n){t.exports=function(){return[]}},function(t,n,r){var e=r(19),o=r(20),i=r(18),a=r(41),u=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)e(n,i(t)),t=o(t);return n}:a;t.exports=u},function(t,n,r){var e=r(19),o=r(3);t.exports=function(t,n,r){var i=n(t);return o(t)?i:e(i,r(t))}},function(t,n,r){var e=r(43),o=r(42),i=r(40);t.exports=function(t){return e(t,i,o)}},function(t,n,r){var e=r(24),o=1/0;t.exports=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-o?"-0":n}},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Size",{enumerable:!0,get:function(){return e.Size}}),Object.defineProperty(n,"Variant",{enumerable:!0,get:function(){return e.Variant}}),n.default=void 0;var e=function(t){if(t&&t.__esModule)return t;var n=o();if(n&&n.has(t))return n.get(t);var r={};if(null!=t){var e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var a=e?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}}r.default=t,n&&n.set(t,r);return r}(r(47));function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}var i=e.default;n.default=i},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Size=n.Variant=void 0;var e,o,i=l(r(48)),a=l(r(49)),u=r(50),c=r(51),s=r(52),f=l(r(53));function l(t){return t&&t.__esModule?t:{default:t}}function p(){return(p=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}).apply(this,arguments)}function b(){var t=P(['\n // Usually for this to take effect, you would need the element to be\n // "positioned". Due to an obscure part of CSS spec, flex children\n // respect z-index without the position property being set.\n //\n // https://www.w3.org/TR/css-flexbox-1/#painting\n z-index: 1;\n ']);return b=function(){return t},t}function d(t,n){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),r.push.apply(r,e)}return r}function v(){var t=P(["\n color: ",";\n border-color: ",";\n background-color: ",";\n background-image: none;\n box-shadow: none;\n pointer-events: none;\n"]);return v=function(){return t},t}function y(){var t=P(["\n position: relative;\n // Establishes the root element as a new stacking context\n // so that the z-index of the span within the button doesn't\n // appear above other elements on the page that it shouldn't.\n z-index: 0;\n border-radius: 3px;\n box-sizing: border-box;\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n font-family: Akzidenz, 'Helvetica Neue', Helvetica, Arial, sans-serif;\n font-weight: normal;\n text-decoration: none;\n text-transform: none;\n transition: all 120ms ease;\n user-select: none;\n overflow: hidden;\n\n &:hover {\n text-decoration: none;\n }\n\n // We're using CSS pseudo elements here in order to\n // transition the gradients between button pseudo classes.\n &:before,\n &:after {\n content: '';\n transition: 0.15s opacity ease-in-out;\n opacity: 0;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n\n &:not(:disabled) {\n &:focus,\n &:hover {\n &:before {\n opacity: 1;\n }\n }\n\n &:active:after {\n opacity: 1;\n }\n }\n"]);return y=function(){return t},t}function g(){var t=P(["\n height: 45px;\n font-size: 16px;\n padding: 0 20px;\n "]);return g=function(){return t},t}function x(){var t=P(["\n height: 32px;\n padding: 0 12px;\n font-size: 14px;\n "]);return x=function(){return t},t}function h(){var t=P(["\n height: 25px;\n padding: 0 10px;\n font-size: 14px;\n "]);return h=function(){return t},t}function j(){var t=P(["\n height: 22px;\n padding: 0 8px;\n font-size: 11px;\n text-transform: uppercase;\n font-weight: bold;\n "]);return j=function(){return t},t}function _(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function w(){var t=P(["\n color: ",";\n border: 1px solid ",";\n background-color: ",";\n background-image: linear-gradient(\n ",",\n ","\n );\n box-shadow: inset 0 -1px 0 ",";\n\n &:before {\n background-image: linear-gradient(\n ",",\n ","\n );\n box-shadow: 0 1px 4px ",",\n inset 0 -1px 0 ",";\n }\n\n &:after {\n background-image: linear-gradient(\n ",",\n ","\n );\n box-shadow: inset 0 2px 2px ",";\n }\n "]);return w=function(){return t},t}function O(){var t=P(["\n color: ",";\n border: 1px solid ",";\n background-color: ",";\n background-image: linear-gradient(#e45b26, #b63016);\n box-shadow: inset 0 -1px 0 0 ",";\n\n &:before {\n background-color: ",";\n background-image: linear-gradient(#e45b26, ",");\n box-shadow: 0 1px 4px ",",\n inset 0 -1px 0 ",";\n }\n\n &:after {\n background-color: ",";\n background-image: linear-gradient(#ad231b, #e45b26);\n box-shadow: inset 0 2px 2px ",";\n }\n "]);return O=function(){return t},t}function m(){var t=P(["\n color: ",";\n background-color: transparent;\n background-image: none;\n border: 1px solid ",";\n box-shadow: none;\n\n &:before {\n background-color: #129f4c;\n background-image: linear-gradient(#129f4c, #148040);\n box-shadow: 0 1px 4px ",",\n inset 0 -1px 0 #158242;\n }\n\n &:after {\n background-color: ",";\n background-image: linear-gradient(#148040, #129f4c);\n box-shadow: inset 0 2px 2px ",";\n }\n\n &:not(:disabled) {\n &:focus,\n &:hover,\n &:active {\n border-color: #158242;\n color: ",";\n }\n }\n "]);return m=function(){return t},t}function k(){var t=P(["\n color: ",";\n border: 1px solid #158242;\n background-color: ",";\n background-image: linear-gradient(",", #18964c);\n box-shadow: inset 0 -1px 0 #158242;\n\n &:before {\n background-color: #129f4c;\n background-image: linear-gradient(#129f4c, #148040);\n box-shadow: 0 1px 4px ",",\n inset 0 -1px 0 #158242;\n }\n\n &:after {\n background-color: ",";\n background-image: linear-gradient(#148040, #129f4c);\n box-shadow: inset 0 2px 2px ",";\n }\n "]);return k=function(){return t},t}function C(){var t=P(["\n color: ",";\n border: 1px solid ",";\n background-color: ",";\n background-image: linear-gradient(\n ",",\n ","\n );\n box-shadow: inset 0 -1px 0 ",";\n\n &:before {\n border-color: ",";\n background-color: ",";\n background-image: linear-gradient(",", #dde4e2);\n box-shadow: inset 0 -1px 0 ",",\n 0 1px 4px ",";\n }\n\n &:after {\n border-color: ",";\n background-color: ",";\n background-image: linear-gradient(#dde4e2, ",");\n box-shadow: inset 0 2px 2px ",";\n }\n "]);return C=function(){return t},t}function P(t,n){return n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}}))}var A={Default:"default",Primary:"primary",Info:"info",Danger:"danger",Dark:"dark"};n.Variant=A;var S={XSmall:"xsmall",Small:"small",Normal:"normal",Large:"large"};n.Size=S;var z=(_(e={},A.Default,(0,u.css)(C(),c.uiColors.gray.dark2,c.uiColors.gray.light1,c.uiColors.gray.light3,c.uiColors.white,c.uiColors.gray.light2,c.uiColors.gray.light1,c.uiColors.gray.light1,c.uiColors.gray.light2,c.uiColors.gray.light3,c.uiColors.gray.light1,(0,s.transparentize)(.9,c.uiColors.black),c.uiColors.gray.light1,c.uiColors.gray.light3,c.uiColors.gray.light3,(0,s.transparentize)(.9,c.uiColors.black))),_(e,A.Primary,(0,u.css)(k(),c.uiColors.white,c.uiColors.green.base,c.uiColors.green.base,(0,s.transparentize)(.9,c.uiColors.black),c.uiColors.green.base,c.uiColors.green.dark2)),_(e,A.Info,(0,u.css)(m(),c.uiColors.green.base,c.uiColors.green.base,(0,s.transparentize)(.9,c.uiColors.black),c.uiColors.green.base,c.uiColors.green.dark2,c.uiColors.white)),_(e,A.Danger,(0,u.css)(O(),c.uiColors.white,c.uiColors.red.dark2,c.uiColors.red.base,c.uiColors.red.dark2,c.uiColors.red.dark2,c.uiColors.red.dark2,(0,s.transparentize)(.9,c.uiColors.black),c.uiColors.red.dark2,c.uiColors.red.dark2,c.uiColors.red.dark2)),_(e,A.Dark,(0,u.css)(w(),c.uiColors.white,c.uiColors.gray.dark2,c.uiColors.gray.dark1,c.uiColors.gray.base,c.uiColors.gray.dark1,c.uiColors.gray.dark2,c.uiColors.gray.base,c.uiColors.gray.dark2,(0,s.transparentize)(.9,c.uiColors.black),c.uiColors.gray.dark2,c.uiColors.gray.dark1,c.uiColors.gray.base,c.uiColors.gray.dark2)),e),D=(_(o={},S.XSmall,(0,u.css)(j())),_(o,S.Small,(0,u.css)(h())),_(o,S.Normal,(0,u.css)(x())),_(o,S.Large,(0,u.css)(g())),o),M=(0,u.css)(y()),E=(0,u.css)(v(),c.uiColors.gray.base,c.uiColors.gray.light1,c.uiColors.gray.light2);function F(t){return null!=t.href}var I=i.default.forwardRef((function(t,n){var r=t.className,e=void 0===r?"":r,o=t.children,a=void 0===o?null:o,c=t.disabled,s=void 0!==c&&c,l=t.variant,v=void 0===l?A.Default:l,y=t.size,g=void 0===y?S.Normal:y,x=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?d(r,!0).forEach((function(n){_(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(r).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}({className:(0,u.cx)(M,D[g],z[v],_({},E,s),e)},!F(t)&&{disabled:s},{"aria-disabled":s}),h=(0,f.default)(t,["as","className","disabled","size","variant","children"]),j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button";return i.default.createElement(t,p({ref:n,type:"button"===t?"button":void 0},h,x),i.default.createElement("span",{className:(0,u.css)(b())},a))};return function(t){return null!=t.as}(t)?j(t.as):F(t)?j("a"):j()}));I.displayName="Button",I.propTypes={variant:a.default.oneOf(Object.values(A)),size:a.default.oneOf(Object.values(S)),className:a.default.string,children:a.default.node,disabled:a.default.bool,as:a.default.oneOfType([a.default.string,a.default.func]),href:a.default.string};var T=I;n.default=T},function(n,r){n.exports=t},function(t,r){t.exports=n},function(t,n){t.exports=r},function(t,n){t.exports=e},function(t,n){t.exports=o},function(t,n,r){var e=r(25),o=r(54),i=r(121),a=r(23),u=r(7),c=r(132),s=r(134),f=r(44),l=s((function(t,n){var r={};if(null==t)return r;var s=!1;n=e(n,(function(n){return n=a(n,t),s||(s=n.length>1),n})),u(t,f(t),r),s&&(r=o(r,7,c));for(var l=n.length;l--;)i(r,n[l]);return r}));t.exports=l},function(t,n,r){var e=r(55),o=r(85),i=r(31),a=r(86),u=r(95),c=r(98),s=r(99),f=r(100),l=r(102),p=r(103),b=r(44),d=r(21),v=r(108),y=r(109),g=r(115),x=r(3),h=r(36),j=r(117),_=r(6),w=r(119),O=r(13),m=1,k=2,C=4,P="[object Arguments]",A="[object Function]",S="[object GeneratorFunction]",z="[object Object]",D={};D[P]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object DataView]"]=D["[object Boolean]"]=D["[object Date]"]=D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Map]"]=D["[object Number]"]=D[z]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object Symbol]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Error]"]=D[A]=D["[object WeakMap]"]=!1,t.exports=function t(n,r,M,E,F,I){var T,U=r&m,N=r&k,q=r&C;if(M&&(T=F?M(n,E,F,I):M(n)),void 0!==T)return T;if(!_(n))return n;var B=x(n);if(B){if(T=v(n),!U)return s(n,T)}else{var $=d(n),V=$==A||$==S;if(h(n))return c(n,U);if($==z||$==P||V&&!F){if(T=N||V?{}:g(n),!U)return N?l(n,u(T,n)):f(n,a(T,n))}else{if(!D[$])return F?n:{};T=y(n,$,U)}}I||(I=new e);var W=I.get(n);if(W)return W;I.set(n,T),w(n)?n.forEach((function(e){T.add(t(e,r,M,e,n,I))})):j(n)&&n.forEach((function(e,o){T.set(o,t(e,r,M,o,n,I))}));var R=q?N?b:p:N?keysIn:O,L=B?void 0:R(n);return o(L||n,(function(e,o){L&&(e=n[o=e]),i(T,o,t(e,r,M,o,n,I))})),T}},function(t,n,r){var e=r(8),o=r(61),i=r(62),a=r(63),u=r(64),c=r(65);function s(t){var n=this.__data__=new e(t);this.size=n.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=u,s.prototype.set=c,t.exports=s},function(t,n){t.exports=function(){this.__data__=[],this.size=0}},function(t,n,r){var e=r(9),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,r=e(n,t);return!(r<0)&&(r==n.length-1?n.pop():o.call(n,r,1),--this.size,!0)}},function(t,n,r){var e=r(9);t.exports=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}},function(t,n,r){var e=r(9);t.exports=function(t){return e(this.__data__,t)>-1}},function(t,n,r){var e=r(9);t.exports=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}},function(t,n,r){var e=r(8);t.exports=function(){this.__data__=new e,this.size=0}},function(t,n){t.exports=function(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}},function(t,n){t.exports=function(t){return this.__data__.get(t)}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n,r){var e=r(8),o=r(12),i=r(30),a=200;t.exports=function(t,n){var r=this.__data__;if(r instanceof e){var u=r.__data__;if(!o||u.length<a-1)return u.push([t,n]),this.size=++r.size,this;r=this.__data__=new i(u)}return r.set(t,n),this.size=r.size,this}},function(t,n,r){var e=r(27),o=r(70),i=r(6),a=r(29),u=/^\[object .+?Constructor\]$/,c=Function.prototype,s=Object.prototype,f=c.toString,l=s.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(e(t)?p:u).test(a(t))}},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){var e=r(5),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=e?e.toStringTag:void 0;t.exports=function(t){var n=i.call(t,u),r=t[u];try{t[u]=void 0;var e=!0}catch(t){}var o=a.call(t);return e&&(n?t[u]=r:delete t[u]),o}},function(t,n){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,n,r){var e,o=r(71),i=(e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";t.exports=function(t){return!!i&&i in t}},function(t,n,r){var e=r(0)["__core-js_shared__"];t.exports=e},function(t,n){t.exports=function(t,n){return null==t?void 0:t[n]}},function(t,n,r){var e=r(74),o=r(8),i=r(12);t.exports=function(){this.size=0,this.__data__={hash:new e,map:new(i||o),string:new e}}},function(t,n,r){var e=r(75),o=r(76),i=r(77),a=r(78),u=r(79);function c(t){var n=-1,r=null==t?0:t.length;for(this.clear();++n<r;){var e=t[n];this.set(e[0],e[1])}}c.prototype.clear=e,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=u,t.exports=c},function(t,n,r){var e=r(10);t.exports=function(){this.__data__=e?e(null):{},this.size=0}},function(t,n){t.exports=function(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}},function(t,n,r){var e=r(10),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;if(e){var r=n[t];return r===o?void 0:r}return i.call(n,t)?n[t]:void 0}},function(t,n,r){var e=r(10),o=Object.prototype.hasOwnProperty;t.exports=function(t){var n=this.__data__;return e?void 0!==n[t]:o.call(n,t)}},function(t,n,r){var e=r(10),o="__lodash_hash_undefined__";t.exports=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?o:n,this}},function(t,n,r){var e=r(11);t.exports=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}},function(t,n){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},function(t,n,r){var e=r(11);t.exports=function(t){return e(this,t).get(t)}},function(t,n,r){var e=r(11);t.exports=function(t){return e(this,t).has(t)}},function(t,n,r){var e=r(11);t.exports=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this}},function(t,n){t.exports=function(t,n){for(var r=-1,e=null==t?0:t.length;++r<e&&!1!==n(t[r],r,t););return t}},function(t,n,r){var e=r(7),o=r(13);t.exports=function(t,n){return t&&e(n,o(n),t)}},function(t,n){t.exports=function(t,n){for(var r=-1,e=Array(t);++r<t;)e[r]=n(r);return e}},function(t,n,r){var e=r(4),o=r(2),i="[object Arguments]";t.exports=function(t){return o(t)&&e(t)==i}},function(t,n){t.exports=function(){return!1}},function(t,n){var r=9007199254740991,e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var o=typeof t;return!!(n=null==n?r:n)&&("number"==o||"symbol"!=o&&e.test(t))&&t>-1&&t%1==0&&t<n}},function(t,n,r){var e=r(92),o=r(15),i=r(16),a=i&&i.isTypedArray,u=a?o(a):e;t.exports=u},function(t,n,r){var e=r(4),o=r(37),i=r(2),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[e(t)]}},function(t,n,r){var e=r(17),o=r(94),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return o(t);var n=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&n.push(r);return n}},function(t,n,r){var e=r(38)(Object.keys,Object);t.exports=e},function(t,n,r){var e=r(7),o=r(40);t.exports=function(t,n){return t&&e(n,o(n),t)}},function(t,n,r){var e=r(6),o=r(17),i=r(97),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!e(t))return i(t);var n=o(t),r=[];for(var u in t)("constructor"!=u||!n&&a.call(t,u))&&r.push(u);return r}},function(t,n){t.exports=function(t){var n=[];if(null!=t)for(var r in Object(t))n.push(r);return n}},function(t,n,r){(function(t){var e=r(0),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?e.Buffer:void 0,u=a?a.allocUnsafe:void 0;t.exports=function(t,n){if(n)return t.slice();var r=t.length,e=u?u(r):new t.constructor(r);return t.copy(e),e}}).call(this,r(14)(t))},function(t,n){t.exports=function(t,n){var r=-1,e=t.length;for(n||(n=Array(e));++r<e;)n[r]=t[r];return n}},function(t,n,r){var e=r(7),o=r(18);t.exports=function(t,n){return e(t,o(t),n)}},function(t,n){t.exports=function(t,n){for(var r=-1,e=null==t?0:t.length,o=0,i=[];++r<e;){var a=t[r];n(a,r,t)&&(i[o++]=a)}return i}},function(t,n,r){var e=r(7),o=r(42);t.exports=function(t,n){return e(t,o(t),n)}},function(t,n,r){var e=r(43),o=r(18),i=r(13);t.exports=function(t){return e(t,i,o)}},function(t,n,r){var e=r(1)(r(0),"DataView");t.exports=e},function(t,n,r){var e=r(1)(r(0),"Promise");t.exports=e},function(t,n,r){var e=r(1)(r(0),"Set");t.exports=e},function(t,n,r){var e=r(1)(r(0),"WeakMap");t.exports=e},function(t,n){var r=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&r.call(t,"index")&&(e.index=t.index,e.input=t.input),e}},function(t,n,r){var e=r(22),o=r(111),i=r(112),a=r(113),u=r(114),c="[object Boolean]",s="[object Date]",f="[object Map]",l="[object Number]",p="[object RegExp]",b="[object Set]",d="[object String]",v="[object Symbol]",y="[object ArrayBuffer]",g="[object DataView]",x="[object Float32Array]",h="[object Float64Array]",j="[object Int8Array]",_="[object Int16Array]",w="[object Int32Array]",O="[object Uint8Array]",m="[object Uint8ClampedArray]",k="[object Uint16Array]",C="[object Uint32Array]";t.exports=function(t,n,r){var P=t.constructor;switch(n){case y:return e(t);case c:case s:return new P(+t);case g:return o(t,r);case x:case h:case j:case _:case w:case O:case m:case k:case C:return u(t,r);case f:return new P;case l:case d:return new P(t);case p:return i(t);case b:return new P;case v:return a(t)}}},function(t,n,r){var e=r(0).Uint8Array;t.exports=e},function(t,n,r){var e=r(22);t.exports=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}},function(t,n){var r=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,r.exec(t));return n.lastIndex=t.lastIndex,n}},function(t,n,r){var e=r(5),o=e?e.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},function(t,n,r){var e=r(22);t.exports=function(t,n){var r=n?e(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},function(t,n,r){var e=r(116),o=r(20),i=r(17);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:e(o(t))}},function(t,n,r){var e=r(6),o=Object.create,i=function(){function t(){}return function(n){if(!e(n))return{};if(o)return o(n);t.prototype=n;var r=new t;return t.prototype=void 0,r}}();t.exports=i},function(t,n,r){var e=r(118),o=r(15),i=r(16),a=i&&i.isMap,u=a?o(a):e;t.exports=u},function(t,n,r){var e=r(21),o=r(2),i="[object Map]";t.exports=function(t){return o(t)&&e(t)==i}},function(t,n,r){var e=r(120),o=r(15),i=r(16),a=i&&i.isSet,u=a?o(a):e;t.exports=u},function(t,n,r){var e=r(21),o=r(2),i="[object Set]";t.exports=function(t){return o(t)&&e(t)==i}},function(t,n,r){var e=r(23),o=r(128),i=r(129),a=r(45);t.exports=function(t,n){return n=e(n,t),null==(t=i(t,n))||delete t[a(o(n))]}},function(t,n,r){var e=r(3),o=r(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,n){if(e(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!o(t))||(a.test(t)||!i.test(t)||null!=n&&t in Object(n))}},function(t,n,r){var e=r(124),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=e((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(o,(function(t,r,e,o){n.push(e?o.replace(i,"$1"):r||t)})),n}));t.exports=a},function(t,n,r){var e=r(125),o=500;t.exports=function(t){var n=e(t,(function(t){return r.size===o&&r.clear(),t})),r=n.cache;return n}},function(t,n,r){var e=r(30),o="Expected a function";function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(o);var r=function(){var e=arguments,o=n?n.apply(this,e):e[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,e);return r.cache=i.set(o,a)||i,a};return r.cache=new(i.Cache||e),r}i.Cache=e,t.exports=i},function(t,n,r){var e=r(127);t.exports=function(t){return null==t?"":e(t)}},function(t,n,r){var e=r(5),o=r(25),i=r(3),a=r(24),u=1/0,c=e?e.prototype:void 0,s=c?c.toString:void 0;t.exports=function t(n){if("string"==typeof n)return n;if(i(n))return o(n,t)+"";if(a(n))return s?s.call(n):"";var r=n+"";return"0"==r&&1/n==-u?"-0":r}},function(t,n){t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},function(t,n,r){var e=r(130),o=r(131);t.exports=function(t,n){return n.length<2?t:e(t,o(n,0,-1))}},function(t,n,r){var e=r(23),o=r(45);t.exports=function(t,n){for(var r=0,i=(n=e(n,t)).length;null!=t&&r<i;)t=t[o(n[r++])];return r&&r==i?t:void 0}},function(t,n){t.exports=function(t,n,r){var e=-1,o=t.length;n<0&&(n=-n>o?0:o+n),(r=r>o?o:r)<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;for(var i=Array(o);++e<o;)i[e]=t[e+n];return i}},function(t,n,r){var e=r(133);t.exports=function(t){return e(t)?void 0:t}},function(t,n,r){var e=r(4),o=r(20),i=r(2),a="[object Object]",u=Function.prototype,c=Object.prototype,s=u.toString,f=c.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!i(t)||e(t)!=a)return!1;var n=o(t);if(null===n)return!0;var r=f.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==l}},function(t,n,r){var e=r(135),o=r(138),i=r(140);t.exports=function(t){return i(o(t,void 0,e),t+"")}},function(t,n,r){var e=r(136);t.exports=function(t){return(null==t?0:t.length)?e(t,1):[]}},function(t,n,r){var e=r(19),o=r(137);t.exports=function t(n,r,i,a,u){var c=-1,s=n.length;for(i||(i=o),u||(u=[]);++c<s;){var f=n[c];r>0&&i(f)?r>1?t(f,r-1,i,a,u):e(u,f):a||(u[u.length]=f)}return u}},function(t,n,r){var e=r(5),o=r(35),i=r(3),a=e?e.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,n,r){var e=r(139),o=Math.max;t.exports=function(t,n,r){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,a=-1,u=o(i.length-n,0),c=Array(u);++a<u;)c[a]=i[n+a];a=-1;for(var s=Array(n+1);++a<n;)s[a]=i[a];return s[n]=r(c),e(t,this,s)}}},function(t,n){t.exports=function(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}},function(t,n,r){var e=r(141),o=r(144)(e);t.exports=o},function(t,n,r){var e=r(142),o=r(33),i=r(143),a=o?function(t,n){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(n),writable:!0})}:i;t.exports=a},function(t,n){t.exports=function(t){return function(){return t}}},function(t,n){t.exports=function(t){return t}},function(t,n){var r=800,e=16,o=Date.now;t.exports=function(t){var n=0,i=0;return function(){var a=o(),u=e-(a-i);if(i=a,u>0){if(++n>=r)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}}])})); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@leafygreen-ui/button", | ||
"version": "2.3.7", | ||
"version": "3.0.0", | ||
"description": "leafyGreen UI Kit Button", | ||
@@ -15,6 +15,6 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@leafygreen-ui/lib": "^3.0.6", | ||
"@leafygreen-ui/lib": "^3.1.0", | ||
"@leafygreen-ui/palette": "^1.0.6" | ||
}, | ||
"gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
599166
2
743
2
Updated@leafygreen-ui/lib@^3.1.0