Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@devseed-ui/theme-provider

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devseed-ui/theme-provider - npm Package Compare versions

Comparing version 3.0.0-rc.0 to 3.0.0

26

CHANGELOG.md
# @devseed-ui/theme-provider
## 3.0.0
### Major Changes
- 6972997: Major UI Library release
**BREAKING CHANGES**
## 🎉 Features
- Improved theme with clearer variables
- Added a date-picker component
## 🚀 Improvements
- Revision of documentation, including new "Getting Started" guide
- General cleanup
- Improvements to forms (#169)
- Send custom prop to the first child (#175)
- Improve packages meta information (#140)
## 🐛 Fixes
- DEV: Linting for react-hooks
- DEV: Module updates
## 3.0.0-rc.0

@@ -4,0 +30,0 @@

2

dist/index.node.js

@@ -1,1 +0,1 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("styled-components"),require("polished"),require("react"));else if("function"==typeof define&&define.amd)define(["styled-components","polished","react"],t);else{var n="object"==typeof exports?t(require("styled-components"),require("polished"),require("react")):t(e["styled-components"],e.polished,e.react);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(global,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgba=t.glsp=t.stylizeFunction=t.themeVal=t.val2rem=t.val2px=t.px=t.rem=t.unitify=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r},a=n(1),i=n(0),l=n(4);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){return function(t){return"function"==typeof t?function(){return"".concat(t.apply(void 0,arguments)).concat(e)}:"".concat(t).concat(e)}};t.unitify=u;var s=u("rem");t.rem=s;var f=u("px");t.px=f;var p=function(e,t){return function(){e="function"==typeof e?e.apply(void 0,arguments):e,t="function"==typeof t?t.apply(void 0,arguments):t;var n=(0,o.default)(arguments.length<=0?void 0:arguments[0],"theme.type.base.root",null);if(null===n)throw new Error("Root type pixel value not found in theme.type.base.root");var r=(e+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],a=parseFloat(e);return"px"===t?f("rem"===r?a*parseFloat(n):a):"rem"===t?s("px"===r?a/parseFloat(n):a):e}};t.val2px=function(e){return p(e,"px")};t.val2rem=function(e){return p(e,"rem")};var d=function(e){return function(t){var n=t.theme,r=(0,o.default)(n,e,void 0);return void 0===r&&console.error("Theme Value Error: path [".concat(e,"] not found in theme."),n),r}};t.themeVal=d;var b=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=n.map((function(e){return"function"==typeof e?e.apply(void 0,r):e}));return e.apply(void 0,c(a))}}};t.stylizeFunction=b;t.glsp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=(t=t.length?t:[1]).map((function(e){return(0,l.multiply)(d("layout.space"),e)}));if(1===r.length)return r[0];var o=Array(t.length-1).fill(" ");return i.css.apply(void 0,[[""].concat(c(o),[""])].concat(c(r)))};var y=b(a.rgba);t.rgba=y},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,s=c||u||Function("return this")();var f,p=Array.prototype,d=Function.prototype,b=Object.prototype,y=s["__core-js_shared__"],h=(f=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",m=d.toString,v=b.hasOwnProperty,g=b.toString,O=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=s.Symbol,_=p.splice,x=E(s,"Map"),w=E(Object,"create"),P=j?j.prototype:void 0,A=P?P.toString:void 0;function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function M(e,t){for(var o,a=0,i=(t=function(e,t){if(R(e))return!1;var o=typeof e;if("number"==o||"symbol"==o||"boolean"==o||null==e||$(e))return!0;return r.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(o=t)?o:z(o)).length;null!=e&&a<i;)e=e[C(t[a++])];return a&&a==i?e:void 0}function V(e){return!(!U(e)||(t=e,h&&h in t))&&(function(e){var t=U(e)?g.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:l).test(function(e){if(null!=e){try{return m.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function q(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function E(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return V(n)?n:void 0}S.prototype.clear=function(){this.__data__=w?w(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return v.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:v.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=F(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},D.prototype.get=function(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return F(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},k.prototype.clear=function(){this.__data__={hash:new S,map:new(x||D),string:new S}},k.prototype.delete=function(e){return q(this,e).delete(e)},k.prototype.get=function(e){return q(this,e).get(e)},k.prototype.has=function(e){return q(this,e).has(e)},k.prototype.set=function(e,t){return q(this,e).set(e,t),this};var z=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if($(e))return A?A.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,o){n.push(r?o.replace(i,"$1"):t||e)})),n}));function C(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(T.Cache||k),n}T.Cache=k;var R=Array.isArray;function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==g.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:M(e,t);return void 0===r?n:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=t.min=t.multiply=t.divide=t.subtract=t.add=void 0;var r=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=(t+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],o=parseFloat(t),a=parseFloat(n);return"+"===e?"".concat(o+a).concat(r):"-"===e?"".concat(o-a).concat(r):"/"===e?"".concat(o/a).concat(r):"*"===e?"".concat(o*a).concat(r):void 0}}},o=r("+");t.add=o;var a=r("-");t.subtract=a;var i=r("/");t.divide=i;var l=r("*");t.multiply=l;var c=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=/[0-9]*(?:.[0-9]+)?(.*)/,o=(t+"").match(r)[1],a=(n+"").match(r)[1],i=parseFloat(t),l=parseFloat(n),c="";return o===a?c=o:o&&!a?c=o:!o&&a&&(c=a),"min"===e?"".concat(Math.min(i,l)).concat(c):"max"===e?"".concat(Math.max(i,l)).concat(c):void 0}}},u=c("min");t.min=u;var s=c("max");t.max=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={baseLight:"#FFFFFF",baseDark:"#443F3F",primary:"#CF3F02",secondary:"#E2C044",tertiary:"#4DA167",quaternary:"#3AB795"};l=a({},l,{base:l.baseDark,background:l.baseLight,surface:l.baseLight,link:l.primary,danger:l.primary,warning:l.secondary,success:l.tertiary,info:l.primary});var c={main:{layout:{space:"1rem",border:"1px",min:"320px",max:"1280px"},color:l=a({},l,{baseAlphaA:(0,r.rgba)(l.base,.02),baseAlphaB:(0,r.rgba)(l.base,.04),baseAlphaC:(0,r.rgba)(l.base,.08),baseAlphaD:(0,r.rgba)(l.base,.16),baseAlphaE:(0,r.rgba)(l.base,.32),silkLight:"radial-gradient(farthest-side, ".concat(l.baseLight,", ").concat((0,r.rgba)(l.baseLight,.64),")"),silkDark:"radial-gradient(farthest-side, ".concat(l.baseDark,", ").concat((0,r.rgba)(l.baseDark,.64),")")}),type:{base:{root:"16px",size:"1rem",line:"1.5",color:l.base,family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:300,antialiasing:!0},heading:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:700,textTransform:"none"},button:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",weight:700}},shape:{rounded:"0.25rem",ellipsoid:"320rem"},boxShadow:{inset:"inset 0px 0px 3px 0px ".concat(l.baseAlphaA,";"),input:"0 -1px 1px 0 ".concat(l.baseAlphaC,", 0 2px 6px 0 ").concat(l.baseAlphaD,";"),elevationA:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 2px 2px 0 ").concat(l.baseAlphaC,";"),elevationB:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 4px 4px 0 ").concat(l.baseAlphaC,";"),elevationC:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 8px 12px 0 ").concat(l.baseAlphaC,";"),elevationD:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 12px 24px 0 ").concat(l.baseAlphaC,";")},mediaRanges:{xsmall:[null,543],small:[544,767],medium:[768,991],large:[992,1199],xlarge:[1216,null]}}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unscrollableX=t.unscrollableY=t.disabled=t.visuallyDisabled=t.truncated=t.listReset=t.visuallyHidden=t.antialiased=void 0;var r=n(0);t.antialiased=function(){return(0,r.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])};t.visuallyHidden=function(){return(0,r.css)(["border:0 none;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"])};t.listReset=function(){return(0,r.css)(["margin:0;padding:0;list-style:none;"])};t.truncated=function(){return(0,r.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])};t.visuallyDisabled=function(){return(0,r.css)(["opacity:0.48;cursor:not-allowed;"])};t.disabled=function(){return(0,r.css)(["opacity:0.48;pointer-events:none;cursor:not-allowed;"])};t.unscrollableY=function(){return(0,r.css)(["overflow-y:hidden;"])};t.unscrollableX=function(){return(0,r.css)(["overflow-x:hidden;"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return r.GlobalStyles}}),Object.defineProperty(t,"DevseedUiThemeProvider",{enumerable:!0,get:function(){return r.DevseedUiThemeProvider}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"antialiased",{enumerable:!0,get:function(){return a.antialiased}}),Object.defineProperty(t,"visuallyHidden",{enumerable:!0,get:function(){return a.visuallyHidden}}),Object.defineProperty(t,"listReset",{enumerable:!0,get:function(){return a.listReset}}),Object.defineProperty(t,"truncated",{enumerable:!0,get:function(){return a.truncated}}),Object.defineProperty(t,"visuallyDisabled",{enumerable:!0,get:function(){return a.visuallyDisabled}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return a.disabled}}),Object.defineProperty(t,"unscrollableY",{enumerable:!0,get:function(){return a.unscrollableY}}),Object.defineProperty(t,"unscrollableX",{enumerable:!0,get:function(){return a.unscrollableX}}),Object.defineProperty(t,"unitify",{enumerable:!0,get:function(){return i.unitify}}),Object.defineProperty(t,"rem",{enumerable:!0,get:function(){return i.rem}}),Object.defineProperty(t,"px",{enumerable:!0,get:function(){return i.px}}),Object.defineProperty(t,"val2px",{enumerable:!0,get:function(){return i.val2px}}),Object.defineProperty(t,"val2rem",{enumerable:!0,get:function(){return i.val2rem}}),Object.defineProperty(t,"stylizeFunction",{enumerable:!0,get:function(){return i.stylizeFunction}}),Object.defineProperty(t,"themeVal",{enumerable:!0,get:function(){return i.themeVal}}),Object.defineProperty(t,"glsp",{enumerable:!0,get:function(){return i.glsp}}),Object.defineProperty(t,"rgba",{enumerable:!0,get:function(){return i.rgba}}),Object.defineProperty(t,"multiply",{enumerable:!0,get:function(){return l.multiply}}),Object.defineProperty(t,"divide",{enumerable:!0,get:function(){return l.divide}}),Object.defineProperty(t,"add",{enumerable:!0,get:function(){return l.add}}),Object.defineProperty(t,"subtract",{enumerable:!0,get:function(){return l.subtract}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return l.min}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return l.max}}),Object.defineProperty(t,"media",{enumerable:!0,get:function(){return c.default}});var r=n(8),o=u(n(5)),a=n(6),i=n(2),l=n(4),c=u(n(10));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevseedUiThemeProvider=t.GlobalStyles=void 0;var r=u(n(9)),o=n(0),a=n(1),i=n(2),l=u(n(5)),c=n(6);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n ","\n ","\n"]);return p=function(){return e},e}var d=(0,o.css)(["html{box-sizing:border-box;font-size:",";-webkit-tap-highlight-color:rgba(0,0,0,0);}*,*::before,*::after{box-sizing:inherit;}*{margin:0;padding:0;}body{background-color:",";color:",";font-size:",";line-height:",";font-family:",";text-transform:",";font-weight:",";font-style:",";font-variation-settings:",";min-width:",";","}a{cursor:pointer;color:",";text-decoration:none;transition:opacity 0.24s ease 0s;}a:visited{color:",";}a:hover{opacity:0.64;}a:active{transform:translate(0,1px);}[role='button']{cursor:pointer;}input,select,textarea{font:inherit;height:auto;width:auto;margin:0;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none;}b,strong{font-weight:",";}::selection{background-color:",";color:",";}.tether-element{z-index:1000;}.unscrollable-y{","}.unscrollable-x{","}"],(0,i.themeVal)("type.base.root"),(0,i.themeVal)("color.background"),(0,i.themeVal)("type.base.color"),(0,i.themeVal)("type.base.size"),(0,i.themeVal)("type.base.line"),(0,i.themeVal)("type.base.family"),(0,i.themeVal)("type.base.case"),(0,i.themeVal)("type.base.weight"),(0,i.themeVal)("type.base.style"),(0,i.themeVal)("type.base.settings"),(0,i.themeVal)("layout.min"),(function(e){return e.theme.type.base.antialiasing&&(0,o.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])}),(0,i.themeVal)("color.link"),(0,i.themeVal)("color.link"),(0,i.themeVal)("type.base.bold"),(0,i.rgba)((0,i.themeVal)("color.base"),.64),(0,i.themeVal)("color.baseLight"),(0,c.unscrollableY)(),(0,c.unscrollableX)()),b=(0,o.createGlobalStyle)(p(),(0,a.normalize)(),d);t.GlobalStyles=b;t.DevseedUiThemeProvider=function(e){var t=e.children,n=e.theme,a=f(e,["children","theme"]),i="function"==typeof n?n(l.default.main):n||l.default.main;return r.default.createElement(o.ThemeProvider,s({theme:i},a),r.default.createElement(b,null),t)}},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(0),a=(r=n(3))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=["Up","Only","Down"];function f(e,t,n){var r=function(e,t){var n=u(e,2),r=n[0],o=n[1];switch(t){case"Up":return null===r?null:"only screen and (min-width: ".concat(r,"px)");case"Only":return null===r||null===o?null:"only screen and (min-width: ".concat(r,"px and max-width: ").concat(o,"px)");case"Down":return null===o?null:"only screen and (max-width: ".concat(o,"px)")}},o=null===e[0]?"lower":null===e[1]?"upper":null,a=r(e,n);return null!==a||"Up"!==n&&"Down"!==n?null===a?(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nYou can use (").concat(t).concat(null===e[0]?"Down":"Up",") instead.")),r(e,null===e[0]?"Down":"Up")):a:(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nThere's no need for a media query in this case;")),null)}var p=["xsmall","small","medium","large","xlarge"].reduce((function(e,t){return l({},e,{},function(e){return s.reduce((function(t,n){return l({},t,c({},"".concat(e).concat(n),(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(t){var i=(0,a.default)(t.theme,["mediaRanges",e]);i||console.warn("Media query warning: Missing bounds for (".concat(e,") range.\nAdd them to the theme under (mediaRanges: { ").concat(e,": [upper, lower] })"));var l=i?f(i,e,n):null;return l?(0,o.css)(["@media ","{","}"],l,o.css.apply(void 0,r)):o.css.apply(void 0,r)}})))}),{})}(t))}),{});t.default=p}])}));
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("styled-components"),require("polished"),require("react"));else if("function"==typeof define&&define.amd)define(["styled-components","polished","react"],t);else{var n="object"==typeof exports?t(require("styled-components"),require("polished"),require("react")):t(e["styled-components"],e.polished,e.react);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(global,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgba=t.glsp=t.stylizeFunction=t.themeVal=t.val2rem=t.val2px=t.px=t.rem=t.unitify=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r},a=n(1),i=n(0),l=n(4);function c(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){return function(t){return"function"==typeof t?function(){return"".concat(t.apply(void 0,arguments)).concat(e)}:"".concat(t).concat(e)}};t.unitify=u;var s=u("rem");t.rem=s;var f=u("px");t.px=f;var p=function(e,t){return function(){e="function"==typeof e?e.apply(void 0,arguments):e,t="function"==typeof t?t.apply(void 0,arguments):t;var n=(0,o.default)(arguments.length<=0?void 0:arguments[0],"theme.type.base.root",null);if(null===n)throw new Error("Root type pixel value not found in theme.type.base.root");var r=(e+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],a=parseFloat(e);return"px"===t?f("rem"===r?a*parseFloat(n):a):"rem"===t?s("px"===r?a/parseFloat(n):a):e}};t.val2px=function(e){return p(e,"px")};t.val2rem=function(e){return p(e,"rem")};var d=function(e){return function(t){var n=t.theme,r=(0,o.default)(n,e,void 0);return void 0===r&&console.error("Theme Value Error: path [".concat(e,"] not found in theme."),n),r}};t.themeVal=d;var b=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=n.map((function(e){return"function"==typeof e?e.apply(void 0,r):e}));return e.apply(void 0,c(a))}}};t.stylizeFunction=b;t.glsp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=(t=t.length?t:[1]).map((function(e){return(0,l.multiply)(d("layout.space"),e)}));if(1===r.length)return r[0];var o=Array(t.length-1).fill(" ");return i.css.apply(void 0,[[""].concat(c(o),[""])].concat(c(r)))};var y=b(a.rgba);t.rgba=y},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,s=c||u||Function("return this")();var f,p=Array.prototype,d=Function.prototype,b=Object.prototype,y=s["__core-js_shared__"],h=(f=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",m=d.toString,v=b.hasOwnProperty,g=b.toString,O=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=s.Symbol,_=p.splice,x=E(s,"Map"),w=E(Object,"create"),P=j?j.prototype:void 0,A=P?P.toString:void 0;function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function M(e,t){for(var o,a=0,i=(t=function(e,t){if(R(e))return!1;var o=typeof e;if("number"==o||"symbol"==o||"boolean"==o||null==e||$(e))return!0;return r.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(o=t)?o:z(o)).length;null!=e&&a<i;)e=e[C(t[a++])];return a&&a==i?e:void 0}function q(e){return!(!U(e)||(t=e,h&&h in t))&&(function(e){var t=U(e)?g.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:l).test(function(e){if(null!=e){try{return m.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function V(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function E(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return q(n)?n:void 0}S.prototype.clear=function(){this.__data__=w?w(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return v.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:v.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=F(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},D.prototype.get=function(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return F(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},k.prototype.clear=function(){this.__data__={hash:new S,map:new(x||D),string:new S}},k.prototype.delete=function(e){return V(this,e).delete(e)},k.prototype.get=function(e){return V(this,e).get(e)},k.prototype.has=function(e){return V(this,e).has(e)},k.prototype.set=function(e,t){return V(this,e).set(e,t),this};var z=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if($(e))return A?A.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,o){n.push(r?o.replace(i,"$1"):t||e)})),n}));function C(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(T.Cache||k),n}T.Cache=k;var R=Array.isArray;function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==g.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:M(e,t);return void 0===r?n:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=t.min=t.multiply=t.divide=t.subtract=t.add=void 0;var r=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=(t+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],o=parseFloat(t),a=parseFloat(n);return"+"===e?"".concat(o+a).concat(r):"-"===e?"".concat(o-a).concat(r):"/"===e?"".concat(o/a).concat(r):"*"===e?"".concat(o*a).concat(r):void 0}}},o=r("+");t.add=o;var a=r("-");t.subtract=a;var i=r("/");t.divide=i;var l=r("*");t.multiply=l;var c=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=/[0-9]*(?:.[0-9]+)?(.*)/,o=(t+"").match(r)[1],a=(n+"").match(r)[1],i=parseFloat(t),l=parseFloat(n),c="";return o===a?c=o:o&&!a?c=o:!o&&a&&(c=a),"min"===e?"".concat(Math.min(i,l)).concat(c):"max"===e?"".concat(Math.max(i,l)).concat(c):void 0}}},u=c("min");t.min=u;var s=c("max");t.max=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={baseLight:"#FFFFFF",baseDark:"#443F3F",primary:"#CF3F02",secondary:"#E2C044",tertiary:"#4DA167",quaternary:"#2E86AB"};l=a({},l,{base:l.baseDark,background:l.baseLight,surface:l.baseLight,link:l.primary,danger:"#A71D31",warning:l.secondary,success:l.tertiary,info:l.quaternary});var c={main:{layout:{space:"1rem",border:"1px",min:"320px",max:"1280px"},color:l=a({},l,{baseAlphaA:(0,r.rgba)(l.base,.02),baseAlphaB:(0,r.rgba)(l.base,.04),baseAlphaC:(0,r.rgba)(l.base,.08),baseAlphaD:(0,r.rgba)(l.base,.16),baseAlphaE:(0,r.rgba)(l.base,.32),silkLight:"radial-gradient(farthest-side, ".concat(l.baseLight,", ").concat((0,r.rgba)(l.baseLight,.64),")"),silkDark:"radial-gradient(farthest-side, ".concat(l.baseDark,", ").concat((0,r.rgba)(l.baseDark,.64),")")}),type:{base:{root:"16px",size:"1rem",line:"1.5",color:l.base,family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:300,antialiasing:!0},heading:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:700,textTransform:"none"},button:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",weight:700}},shape:{rounded:"0.25rem",ellipsoid:"320rem"},boxShadow:{inset:"inset 0px 0px 3px 0px ".concat(l.baseAlphaA,";"),input:"0 -1px 1px 0 ".concat(l.baseAlphaC,", 0 2px 6px 0 ").concat(l.baseAlphaD,";"),elevationA:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 2px 2px 0 ").concat(l.baseAlphaC,";"),elevationB:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 4px 4px 0 ").concat(l.baseAlphaC,";"),elevationC:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 8px 12px 0 ").concat(l.baseAlphaC,";"),elevationD:"0 0 4px 0 ".concat(l.baseAlphaC,", 0 12px 24px 0 ").concat(l.baseAlphaC,";")},mediaRanges:{xsmall:[null,543],small:[544,767],medium:[768,991],large:[992,1199],xlarge:[1216,null]}}};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unscrollableX=t.unscrollableY=t.disabled=t.visuallyDisabled=t.truncated=t.listReset=t.visuallyHidden=t.antialiased=void 0;var r=n(0);t.antialiased=function(){return(0,r.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])};t.visuallyHidden=function(){return(0,r.css)(["border:0 none;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"])};t.listReset=function(){return(0,r.css)(["margin:0;padding:0;list-style:none;"])};t.truncated=function(){return(0,r.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])};t.visuallyDisabled=function(){return(0,r.css)(["opacity:0.48;cursor:not-allowed;"])};t.disabled=function(){return(0,r.css)(["opacity:0.48;pointer-events:none;cursor:not-allowed;"])};t.unscrollableY=function(){return(0,r.css)(["overflow-y:hidden;"])};t.unscrollableX=function(){return(0,r.css)(["overflow-x:hidden;"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return r.GlobalStyles}}),Object.defineProperty(t,"DevseedUiThemeProvider",{enumerable:!0,get:function(){return r.DevseedUiThemeProvider}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"antialiased",{enumerable:!0,get:function(){return a.antialiased}}),Object.defineProperty(t,"visuallyHidden",{enumerable:!0,get:function(){return a.visuallyHidden}}),Object.defineProperty(t,"listReset",{enumerable:!0,get:function(){return a.listReset}}),Object.defineProperty(t,"truncated",{enumerable:!0,get:function(){return a.truncated}}),Object.defineProperty(t,"visuallyDisabled",{enumerable:!0,get:function(){return a.visuallyDisabled}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return a.disabled}}),Object.defineProperty(t,"unscrollableY",{enumerable:!0,get:function(){return a.unscrollableY}}),Object.defineProperty(t,"unscrollableX",{enumerable:!0,get:function(){return a.unscrollableX}}),Object.defineProperty(t,"unitify",{enumerable:!0,get:function(){return i.unitify}}),Object.defineProperty(t,"rem",{enumerable:!0,get:function(){return i.rem}}),Object.defineProperty(t,"px",{enumerable:!0,get:function(){return i.px}}),Object.defineProperty(t,"val2px",{enumerable:!0,get:function(){return i.val2px}}),Object.defineProperty(t,"val2rem",{enumerable:!0,get:function(){return i.val2rem}}),Object.defineProperty(t,"stylizeFunction",{enumerable:!0,get:function(){return i.stylizeFunction}}),Object.defineProperty(t,"themeVal",{enumerable:!0,get:function(){return i.themeVal}}),Object.defineProperty(t,"glsp",{enumerable:!0,get:function(){return i.glsp}}),Object.defineProperty(t,"rgba",{enumerable:!0,get:function(){return i.rgba}}),Object.defineProperty(t,"multiply",{enumerable:!0,get:function(){return l.multiply}}),Object.defineProperty(t,"divide",{enumerable:!0,get:function(){return l.divide}}),Object.defineProperty(t,"add",{enumerable:!0,get:function(){return l.add}}),Object.defineProperty(t,"subtract",{enumerable:!0,get:function(){return l.subtract}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return l.min}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return l.max}}),Object.defineProperty(t,"media",{enumerable:!0,get:function(){return c.default}});var r=n(8),o=u(n(5)),a=n(6),i=n(2),l=n(4),c=u(n(10));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevseedUiThemeProvider=t.GlobalStyles=void 0;var r=u(n(9)),o=n(0),a=n(1),i=n(2),l=u(n(5)),c=n(6);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n ","\n ","\n"]);return p=function(){return e},e}var d=(0,o.css)(["html{box-sizing:border-box;font-size:",";-webkit-tap-highlight-color:rgba(0,0,0,0);}*,*::before,*::after{box-sizing:inherit;}*{margin:0;padding:0;}body{background-color:",";color:",";font-size:",";line-height:",";font-family:",";text-transform:",";font-weight:",";font-style:",";font-variation-settings:",";min-width:",";","}a{cursor:pointer;color:",";text-decoration:none;transition:opacity 0.24s ease 0s;}a:visited{color:",";}a:hover{opacity:0.64;}a:active{transform:translate(0,1px);}[role='button']{cursor:pointer;}input,select,textarea{font:inherit;height:auto;width:auto;margin:0;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none;}b,strong{font-weight:",";}::selection{background-color:",";color:",";}.tether-element{z-index:1000;}.unscrollable-y{","}.unscrollable-x{","}"],(0,i.themeVal)("type.base.root"),(0,i.themeVal)("color.background"),(0,i.themeVal)("type.base.color"),(0,i.themeVal)("type.base.size"),(0,i.themeVal)("type.base.line"),(0,i.themeVal)("type.base.family"),(0,i.themeVal)("type.base.case"),(0,i.themeVal)("type.base.weight"),(0,i.themeVal)("type.base.style"),(0,i.themeVal)("type.base.settings"),(0,i.themeVal)("layout.min"),(function(e){return e.theme.type.base.antialiasing&&(0,o.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])}),(0,i.themeVal)("color.link"),(0,i.themeVal)("color.link"),(0,i.themeVal)("type.base.bold"),(0,i.rgba)((0,i.themeVal)("color.base"),.64),(0,i.themeVal)("color.baseLight"),(0,c.unscrollableY)(),(0,c.unscrollableX)()),b=(0,o.createGlobalStyle)(p(),(0,a.normalize)(),d);t.GlobalStyles=b;t.DevseedUiThemeProvider=function(e){var t=e.children,n=e.theme,a=f(e,["children","theme"]),i="function"==typeof n?n(l.default.main):n||l.default.main;return r.default.createElement(o.ThemeProvider,s({theme:i},a),r.default.createElement(b,null),t)}},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(0),a=(r=n(3))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=["Up","Only","Down"];function f(e,t,n){var r=function(e,t){var n=u(e,2),r=n[0],o=n[1];switch(t){case"Up":return null===r?null:"only screen and (min-width: ".concat(r,"px)");case"Only":return null===r||null===o?null:"only screen and (min-width: ".concat(r,"px and max-width: ").concat(o,"px)");case"Down":return null===o?null:"only screen and (max-width: ".concat(o,"px)")}},o=null===e[0]?"lower":null===e[1]?"upper":null,a=r(e,n);return null!==a||"Up"!==n&&"Down"!==n?null===a?(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nYou can use (").concat(t).concat(null===e[0]?"Down":"Up",") instead.")),r(e,null===e[0]?"Down":"Up")):a:(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nThere's no need for a media query in this case;")),null)}var p=["xsmall","small","medium","large","xlarge"].reduce((function(e,t){return l({},e,{},function(e){return s.reduce((function(t,n){return l({},t,c({},"".concat(e).concat(n),(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(t){var i=(0,a.default)(t.theme,["mediaRanges",e]);i||console.warn("Media query warning: Missing bounds for (".concat(e,") range.\nAdd them to the theme under (mediaRanges: { ").concat(e,": [upper, lower] })"));var l=i?f(i,e,n):null;return l?(0,o.css)(["@media ","{","}"],l,o.css.apply(void 0,r)):o.css.apply(void 0,r)}})))}),{})}(t))}),{});t.default=p}])}));

@@ -1,1 +0,1 @@

!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("styled-components"),require("polished"),require("react"));else if("function"==typeof define&&define.amd)define(["styled-components","polished","react"],t);else{var n="object"==typeof exports?t(require("styled-components"),require("polished"),require("react")):t(e["styled-components"],e.polished,e.react);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgba=t.glsp=t.stylizeFunction=t.themeVal=t.val2rem=t.val2px=t.px=t.rem=t.unitify=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r},a=n(1),i=n(0),c=n(4);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){return function(t){return"function"==typeof t?function(){return"".concat(t.apply(void 0,arguments)).concat(e)}:"".concat(t).concat(e)}};t.unitify=u;var s=u("rem");t.rem=s;var f=u("px");t.px=f;var p=function(e,t){return function(){e="function"==typeof e?e.apply(void 0,arguments):e,t="function"==typeof t?t.apply(void 0,arguments):t;var n=(0,o.default)(arguments.length<=0?void 0:arguments[0],"theme.type.base.root",null);if(null===n)throw new Error("Root type pixel value not found in theme.type.base.root");var r=(e+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],a=parseFloat(e);return"px"===t?f("rem"===r?a*parseFloat(n):a):"rem"===t?s("px"===r?a/parseFloat(n):a):e}};t.val2px=function(e){return p(e,"px")};t.val2rem=function(e){return p(e,"rem")};var d=function(e){return function(t){var n=t.theme,r=(0,o.default)(n,e,void 0);return void 0===r&&console.error("Theme Value Error: path [".concat(e,"] not found in theme."),n),r}};t.themeVal=d;var b=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=n.map((function(e){return"function"==typeof e?e.apply(void 0,r):e}));return e.apply(void 0,l(a))}}};t.stylizeFunction=b;t.glsp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=(t=t.length?t:[1]).map((function(e){return(0,c.multiply)(d("layout.space"),e)}));if(1===r.length)return r[0];var o=Array(t.length-1).fill(" ");return i.css.apply(void 0,[[""].concat(l(o),[""])].concat(l(r)))};var y=b(a.rgba);t.rgba=y},function(e,t,n){(function(t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=/^\[object .+?Constructor\]$/,l="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,s=l||u||Function("return this")();var f,p=Array.prototype,d=Function.prototype,b=Object.prototype,y=s["__core-js_shared__"],h=(f=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",m=d.toString,v=b.hasOwnProperty,g=b.toString,O=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=s.Symbol,_=p.splice,x=E(s,"Map"),w=E(Object,"create"),P=j?j.prototype:void 0,A=P?P.toString:void 0;function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function M(e,t){for(var o,a=0,i=(t=function(e,t){if(R(e))return!1;var o=typeof e;if("number"==o||"symbol"==o||"boolean"==o||null==e||$(e))return!0;return r.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(o=t)?o:z(o)).length;null!=e&&a<i;)e=e[C(t[a++])];return a&&a==i?e:void 0}function V(e){return!(!U(e)||(t=e,h&&h in t))&&(function(e){var t=U(e)?g.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:c).test(function(e){if(null!=e){try{return m.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function q(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function E(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return V(n)?n:void 0}S.prototype.clear=function(){this.__data__=w?w(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return v.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:v.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},D.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return k(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=k(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},F.prototype.clear=function(){this.__data__={hash:new S,map:new(x||D),string:new S}},F.prototype.delete=function(e){return q(this,e).delete(e)},F.prototype.get=function(e){return q(this,e).get(e)},F.prototype.has=function(e){return q(this,e).has(e)},F.prototype.set=function(e,t){return q(this,e).set(e,t),this};var z=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if($(e))return A?A.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,o){n.push(r?o.replace(i,"$1"):t||e)})),n}));function C(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(T.Cache||F),n}T.Cache=F;var R=Array.isArray;function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==g.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:M(e,t);return void 0===r?n:r}}).call(this,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=t.min=t.multiply=t.divide=t.subtract=t.add=void 0;var r=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=(t+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],o=parseFloat(t),a=parseFloat(n);return"+"===e?"".concat(o+a).concat(r):"-"===e?"".concat(o-a).concat(r):"/"===e?"".concat(o/a).concat(r):"*"===e?"".concat(o*a).concat(r):void 0}}},o=r("+");t.add=o;var a=r("-");t.subtract=a;var i=r("/");t.divide=i;var c=r("*");t.multiply=c;var l=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=/[0-9]*(?:.[0-9]+)?(.*)/,o=(t+"").match(r)[1],a=(n+"").match(r)[1],i=parseFloat(t),c=parseFloat(n),l="";return o===a?l=o:o&&!a?l=o:!o&&a&&(l=a),"min"===e?"".concat(Math.min(i,c)).concat(l):"max"===e?"".concat(Math.max(i,c)).concat(l):void 0}}},u=l("min");t.min=u;var s=l("max");t.max=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={baseLight:"#FFFFFF",baseDark:"#443F3F",primary:"#CF3F02",secondary:"#E2C044",tertiary:"#4DA167",quaternary:"#3AB795"};c=a({},c,{base:c.baseDark,background:c.baseLight,surface:c.baseLight,link:c.primary,danger:c.primary,warning:c.secondary,success:c.tertiary,info:c.primary});var l={main:{layout:{space:"1rem",border:"1px",min:"320px",max:"1280px"},color:c=a({},c,{baseAlphaA:(0,r.rgba)(c.base,.02),baseAlphaB:(0,r.rgba)(c.base,.04),baseAlphaC:(0,r.rgba)(c.base,.08),baseAlphaD:(0,r.rgba)(c.base,.16),baseAlphaE:(0,r.rgba)(c.base,.32),silkLight:"radial-gradient(farthest-side, ".concat(c.baseLight,", ").concat((0,r.rgba)(c.baseLight,.64),")"),silkDark:"radial-gradient(farthest-side, ".concat(c.baseDark,", ").concat((0,r.rgba)(c.baseDark,.64),")")}),type:{base:{root:"16px",size:"1rem",line:"1.5",color:c.base,family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:300,antialiasing:!0},heading:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:700,textTransform:"none"},button:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",weight:700}},shape:{rounded:"0.25rem",ellipsoid:"320rem"},boxShadow:{inset:"inset 0px 0px 3px 0px ".concat(c.baseAlphaA,";"),input:"0 -1px 1px 0 ".concat(c.baseAlphaC,", 0 2px 6px 0 ").concat(c.baseAlphaD,";"),elevationA:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 2px 2px 0 ").concat(c.baseAlphaC,";"),elevationB:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 4px 4px 0 ").concat(c.baseAlphaC,";"),elevationC:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 8px 12px 0 ").concat(c.baseAlphaC,";"),elevationD:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 12px 24px 0 ").concat(c.baseAlphaC,";")},mediaRanges:{xsmall:[null,543],small:[544,767],medium:[768,991],large:[992,1199],xlarge:[1216,null]}}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unscrollableX=t.unscrollableY=t.disabled=t.visuallyDisabled=t.truncated=t.listReset=t.visuallyHidden=t.antialiased=void 0;var r=n(0);t.antialiased=function(){return(0,r.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])};t.visuallyHidden=function(){return(0,r.css)(["border:0 none;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"])};t.listReset=function(){return(0,r.css)(["margin:0;padding:0;list-style:none;"])};t.truncated=function(){return(0,r.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])};t.visuallyDisabled=function(){return(0,r.css)(["opacity:0.48;cursor:not-allowed;"])};t.disabled=function(){return(0,r.css)(["opacity:0.48;pointer-events:none;cursor:not-allowed;"])};t.unscrollableY=function(){return(0,r.css)(["overflow-y:hidden;"])};t.unscrollableX=function(){return(0,r.css)(["overflow-x:hidden;"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return r.GlobalStyles}}),Object.defineProperty(t,"DevseedUiThemeProvider",{enumerable:!0,get:function(){return r.DevseedUiThemeProvider}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"antialiased",{enumerable:!0,get:function(){return a.antialiased}}),Object.defineProperty(t,"visuallyHidden",{enumerable:!0,get:function(){return a.visuallyHidden}}),Object.defineProperty(t,"listReset",{enumerable:!0,get:function(){return a.listReset}}),Object.defineProperty(t,"truncated",{enumerable:!0,get:function(){return a.truncated}}),Object.defineProperty(t,"visuallyDisabled",{enumerable:!0,get:function(){return a.visuallyDisabled}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return a.disabled}}),Object.defineProperty(t,"unscrollableY",{enumerable:!0,get:function(){return a.unscrollableY}}),Object.defineProperty(t,"unscrollableX",{enumerable:!0,get:function(){return a.unscrollableX}}),Object.defineProperty(t,"unitify",{enumerable:!0,get:function(){return i.unitify}}),Object.defineProperty(t,"rem",{enumerable:!0,get:function(){return i.rem}}),Object.defineProperty(t,"px",{enumerable:!0,get:function(){return i.px}}),Object.defineProperty(t,"val2px",{enumerable:!0,get:function(){return i.val2px}}),Object.defineProperty(t,"val2rem",{enumerable:!0,get:function(){return i.val2rem}}),Object.defineProperty(t,"stylizeFunction",{enumerable:!0,get:function(){return i.stylizeFunction}}),Object.defineProperty(t,"themeVal",{enumerable:!0,get:function(){return i.themeVal}}),Object.defineProperty(t,"glsp",{enumerable:!0,get:function(){return i.glsp}}),Object.defineProperty(t,"rgba",{enumerable:!0,get:function(){return i.rgba}}),Object.defineProperty(t,"multiply",{enumerable:!0,get:function(){return c.multiply}}),Object.defineProperty(t,"divide",{enumerable:!0,get:function(){return c.divide}}),Object.defineProperty(t,"add",{enumerable:!0,get:function(){return c.add}}),Object.defineProperty(t,"subtract",{enumerable:!0,get:function(){return c.subtract}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return c.min}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return c.max}}),Object.defineProperty(t,"media",{enumerable:!0,get:function(){return l.default}});var r=n(8),o=u(n(5)),a=n(6),i=n(2),c=n(4),l=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevseedUiThemeProvider=t.GlobalStyles=void 0;var r=u(n(9)),o=n(0),a=n(1),i=n(2),c=u(n(5)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n ","\n ","\n"]);return p=function(){return e},e}var d=(0,o.css)(["html{box-sizing:border-box;font-size:",";-webkit-tap-highlight-color:rgba(0,0,0,0);}*,*::before,*::after{box-sizing:inherit;}*{margin:0;padding:0;}body{background-color:",";color:",";font-size:",";line-height:",";font-family:",";text-transform:",";font-weight:",";font-style:",";font-variation-settings:",";min-width:",";","}a{cursor:pointer;color:",";text-decoration:none;transition:opacity 0.24s ease 0s;}a:visited{color:",";}a:hover{opacity:0.64;}a:active{transform:translate(0,1px);}[role='button']{cursor:pointer;}input,select,textarea{font:inherit;height:auto;width:auto;margin:0;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none;}b,strong{font-weight:",";}::selection{background-color:",";color:",";}.tether-element{z-index:1000;}.unscrollable-y{","}.unscrollable-x{","}"],(0,i.themeVal)("type.base.root"),(0,i.themeVal)("color.background"),(0,i.themeVal)("type.base.color"),(0,i.themeVal)("type.base.size"),(0,i.themeVal)("type.base.line"),(0,i.themeVal)("type.base.family"),(0,i.themeVal)("type.base.case"),(0,i.themeVal)("type.base.weight"),(0,i.themeVal)("type.base.style"),(0,i.themeVal)("type.base.settings"),(0,i.themeVal)("layout.min"),(function(e){return e.theme.type.base.antialiasing&&(0,o.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])}),(0,i.themeVal)("color.link"),(0,i.themeVal)("color.link"),(0,i.themeVal)("type.base.bold"),(0,i.rgba)((0,i.themeVal)("color.base"),.64),(0,i.themeVal)("color.baseLight"),(0,l.unscrollableY)(),(0,l.unscrollableX)()),b=(0,o.createGlobalStyle)(p(),(0,a.normalize)(),d);t.GlobalStyles=b;t.DevseedUiThemeProvider=function(e){var t=e.children,n=e.theme,a=f(e,["children","theme"]),i="function"==typeof n?n(c.default.main):n||c.default.main;return r.default.createElement(o.ThemeProvider,s({theme:i},a),r.default.createElement(b,null),t)}},function(e,t){e.exports=n},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(0),a=(r=n(3))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=["Up","Only","Down"];function f(e,t,n){var r=function(e,t){var n=u(e,2),r=n[0],o=n[1];switch(t){case"Up":return null===r?null:"only screen and (min-width: ".concat(r,"px)");case"Only":return null===r||null===o?null:"only screen and (min-width: ".concat(r,"px and max-width: ").concat(o,"px)");case"Down":return null===o?null:"only screen and (max-width: ".concat(o,"px)")}},o=null===e[0]?"lower":null===e[1]?"upper":null,a=r(e,n);return null!==a||"Up"!==n&&"Down"!==n?null===a?(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nYou can use (").concat(t).concat(null===e[0]?"Down":"Up",") instead.")),r(e,null===e[0]?"Down":"Up")):a:(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nThere's no need for a media query in this case;")),null)}var p=["xsmall","small","medium","large","xlarge"].reduce((function(e,t){return c({},e,{},function(e){return s.reduce((function(t,n){return c({},t,l({},"".concat(e).concat(n),(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(t){var i=(0,a.default)(t.theme,["mediaRanges",e]);i||console.warn("Media query warning: Missing bounds for (".concat(e,") range.\nAdd them to the theme under (mediaRanges: { ").concat(e,": [upper, lower] })"));var c=i?f(i,e,n):null;return c?(0,o.css)(["@media ","{","}"],c,o.css.apply(void 0,r)):o.css.apply(void 0,r)}})))}),{})}(t))}),{});t.default=p}])}));
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("styled-components"),require("polished"),require("react"));else if("function"==typeof define&&define.amd)define(["styled-components","polished","react"],t);else{var n="object"==typeof exports?t(require("styled-components"),require("polished"),require("react")):t(e["styled-components"],e.polished,e.react);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rgba=t.glsp=t.stylizeFunction=t.themeVal=t.val2rem=t.val2px=t.px=t.rem=t.unitify=void 0;var r,o=(r=n(3))&&r.__esModule?r:{default:r},a=n(1),i=n(0),c=n(4);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var u=function(e){return function(t){return"function"==typeof t?function(){return"".concat(t.apply(void 0,arguments)).concat(e)}:"".concat(t).concat(e)}};t.unitify=u;var s=u("rem");t.rem=s;var f=u("px");t.px=f;var p=function(e,t){return function(){e="function"==typeof e?e.apply(void 0,arguments):e,t="function"==typeof t?t.apply(void 0,arguments):t;var n=(0,o.default)(arguments.length<=0?void 0:arguments[0],"theme.type.base.root",null);if(null===n)throw new Error("Root type pixel value not found in theme.type.base.root");var r=(e+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],a=parseFloat(e);return"px"===t?f("rem"===r?a*parseFloat(n):a):"rem"===t?s("px"===r?a/parseFloat(n):a):e}};t.val2px=function(e){return p(e,"px")};t.val2rem=function(e){return p(e,"rem")};var d=function(e){return function(t){var n=t.theme,r=(0,o.default)(n,e,void 0);return void 0===r&&console.error("Theme Value Error: path [".concat(e,"] not found in theme."),n),r}};t.themeVal=d;var b=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var a=n.map((function(e){return"function"==typeof e?e.apply(void 0,r):e}));return e.apply(void 0,l(a))}}};t.stylizeFunction=b;t.glsp=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=(t=t.length?t:[1]).map((function(e){return(0,c.multiply)(d("layout.space"),e)}));if(1===r.length)return r[0];var o=Array(t.length-1).fill(" ");return i.css.apply(void 0,[[""].concat(l(o),[""])].concat(l(r)))};var y=b(a.rgba);t.rgba=y},function(e,t,n){(function(t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,c=/^\[object .+?Constructor\]$/,l="object"==typeof t&&t&&t.Object===Object&&t,u="object"==typeof self&&self&&self.Object===Object&&self,s=l||u||Function("return this")();var f,p=Array.prototype,d=Function.prototype,b=Object.prototype,y=s["__core-js_shared__"],h=(f=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",m=d.toString,v=b.hasOwnProperty,g=b.toString,O=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=s.Symbol,_=p.splice,x=E(s,"Map"),w=E(Object,"create"),P=j?j.prototype:void 0,A=P?P.toString:void 0;function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function k(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function M(e,t){for(var o,a=0,i=(t=function(e,t){if(R(e))return!1;var o=typeof e;if("number"==o||"symbol"==o||"boolean"==o||null==e||$(e))return!0;return r.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(o=t)?o:z(o)).length;null!=e&&a<i;)e=e[C(t[a++])];return a&&a==i?e:void 0}function q(e){return!(!U(e)||(t=e,h&&h in t))&&(function(e){var t=U(e)?g.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?O:c).test(function(e){if(null!=e){try{return m.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function V(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function E(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return q(n)?n:void 0}S.prototype.clear=function(){this.__data__=w?w(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return v.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:v.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},D.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return k(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=k(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},F.prototype.clear=function(){this.__data__={hash:new S,map:new(x||D),string:new S}},F.prototype.delete=function(e){return V(this,e).delete(e)},F.prototype.get=function(e){return V(this,e).get(e)},F.prototype.has=function(e){return V(this,e).has(e)},F.prototype.set=function(e,t){return V(this,e).set(e,t),this};var z=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if($(e))return A?A.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,o){n.push(r?o.replace(i,"$1"):t||e)})),n}));function C(e){if("string"==typeof e||$(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(T.Cache||F),n}T.Cache=F;var R=Array.isArray;function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==g.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:M(e,t);return void 0===r?n:r}}).call(this,n(10))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=t.min=t.multiply=t.divide=t.subtract=t.add=void 0;var r=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=(t+"").match(/[0-9]*(?:.[0-9]+)?(.*)/)[1],o=parseFloat(t),a=parseFloat(n);return"+"===e?"".concat(o+a).concat(r):"-"===e?"".concat(o-a).concat(r):"/"===e?"".concat(o/a).concat(r):"*"===e?"".concat(o*a).concat(r):void 0}}},o=r("+");t.add=o;var a=r("-");t.subtract=a;var i=r("/");t.divide=i;var c=r("*");t.multiply=c;var l=function(e){return function(t,n){return function(){t="function"==typeof t?t.apply(void 0,arguments):t,n="function"==typeof n?n.apply(void 0,arguments):n;var r=/[0-9]*(?:.[0-9]+)?(.*)/,o=(t+"").match(r)[1],a=(n+"").match(r)[1],i=parseFloat(t),c=parseFloat(n),l="";return o===a?l=o:o&&!a?l=o:!o&&a&&(l=a),"min"===e?"".concat(Math.min(i,c)).concat(l):"max"===e?"".concat(Math.max(i,c)).concat(l):void 0}}},u=l("min");t.min=u;var s=l("max");t.max=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={baseLight:"#FFFFFF",baseDark:"#443F3F",primary:"#CF3F02",secondary:"#E2C044",tertiary:"#4DA167",quaternary:"#2E86AB"};c=a({},c,{base:c.baseDark,background:c.baseLight,surface:c.baseLight,link:c.primary,danger:"#A71D31",warning:c.secondary,success:c.tertiary,info:c.quaternary});var l={main:{layout:{space:"1rem",border:"1px",min:"320px",max:"1280px"},color:c=a({},c,{baseAlphaA:(0,r.rgba)(c.base,.02),baseAlphaB:(0,r.rgba)(c.base,.04),baseAlphaC:(0,r.rgba)(c.base,.08),baseAlphaD:(0,r.rgba)(c.base,.16),baseAlphaE:(0,r.rgba)(c.base,.32),silkLight:"radial-gradient(farthest-side, ".concat(c.baseLight,", ").concat((0,r.rgba)(c.baseLight,.64),")"),silkDark:"radial-gradient(farthest-side, ".concat(c.baseDark,", ").concat((0,r.rgba)(c.baseDark,.64),")")}),type:{base:{root:"16px",size:"1rem",line:"1.5",color:c.base,family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:300,antialiasing:!0},heading:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",light:300,regular:400,medium:600,bold:700,weight:700,textTransform:"none"},button:{family:'"Open Sans", sans-serif',style:"normal",settings:"normal",case:"none",weight:700}},shape:{rounded:"0.25rem",ellipsoid:"320rem"},boxShadow:{inset:"inset 0px 0px 3px 0px ".concat(c.baseAlphaA,";"),input:"0 -1px 1px 0 ".concat(c.baseAlphaC,", 0 2px 6px 0 ").concat(c.baseAlphaD,";"),elevationA:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 2px 2px 0 ").concat(c.baseAlphaC,";"),elevationB:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 4px 4px 0 ").concat(c.baseAlphaC,";"),elevationC:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 8px 12px 0 ").concat(c.baseAlphaC,";"),elevationD:"0 0 4px 0 ".concat(c.baseAlphaC,", 0 12px 24px 0 ").concat(c.baseAlphaC,";")},mediaRanges:{xsmall:[null,543],small:[544,767],medium:[768,991],large:[992,1199],xlarge:[1216,null]}}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unscrollableX=t.unscrollableY=t.disabled=t.visuallyDisabled=t.truncated=t.listReset=t.visuallyHidden=t.antialiased=void 0;var r=n(0);t.antialiased=function(){return(0,r.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])};t.visuallyHidden=function(){return(0,r.css)(["border:0 none;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;"])};t.listReset=function(){return(0,r.css)(["margin:0;padding:0;list-style:none;"])};t.truncated=function(){return(0,r.css)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"])};t.visuallyDisabled=function(){return(0,r.css)(["opacity:0.48;cursor:not-allowed;"])};t.disabled=function(){return(0,r.css)(["opacity:0.48;pointer-events:none;cursor:not-allowed;"])};t.unscrollableY=function(){return(0,r.css)(["overflow-y:hidden;"])};t.unscrollableX=function(){return(0,r.css)(["overflow-x:hidden;"])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalStyles",{enumerable:!0,get:function(){return r.GlobalStyles}}),Object.defineProperty(t,"DevseedUiThemeProvider",{enumerable:!0,get:function(){return r.DevseedUiThemeProvider}}),Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"antialiased",{enumerable:!0,get:function(){return a.antialiased}}),Object.defineProperty(t,"visuallyHidden",{enumerable:!0,get:function(){return a.visuallyHidden}}),Object.defineProperty(t,"listReset",{enumerable:!0,get:function(){return a.listReset}}),Object.defineProperty(t,"truncated",{enumerable:!0,get:function(){return a.truncated}}),Object.defineProperty(t,"visuallyDisabled",{enumerable:!0,get:function(){return a.visuallyDisabled}}),Object.defineProperty(t,"disabled",{enumerable:!0,get:function(){return a.disabled}}),Object.defineProperty(t,"unscrollableY",{enumerable:!0,get:function(){return a.unscrollableY}}),Object.defineProperty(t,"unscrollableX",{enumerable:!0,get:function(){return a.unscrollableX}}),Object.defineProperty(t,"unitify",{enumerable:!0,get:function(){return i.unitify}}),Object.defineProperty(t,"rem",{enumerable:!0,get:function(){return i.rem}}),Object.defineProperty(t,"px",{enumerable:!0,get:function(){return i.px}}),Object.defineProperty(t,"val2px",{enumerable:!0,get:function(){return i.val2px}}),Object.defineProperty(t,"val2rem",{enumerable:!0,get:function(){return i.val2rem}}),Object.defineProperty(t,"stylizeFunction",{enumerable:!0,get:function(){return i.stylizeFunction}}),Object.defineProperty(t,"themeVal",{enumerable:!0,get:function(){return i.themeVal}}),Object.defineProperty(t,"glsp",{enumerable:!0,get:function(){return i.glsp}}),Object.defineProperty(t,"rgba",{enumerable:!0,get:function(){return i.rgba}}),Object.defineProperty(t,"multiply",{enumerable:!0,get:function(){return c.multiply}}),Object.defineProperty(t,"divide",{enumerable:!0,get:function(){return c.divide}}),Object.defineProperty(t,"add",{enumerable:!0,get:function(){return c.add}}),Object.defineProperty(t,"subtract",{enumerable:!0,get:function(){return c.subtract}}),Object.defineProperty(t,"min",{enumerable:!0,get:function(){return c.min}}),Object.defineProperty(t,"max",{enumerable:!0,get:function(){return c.max}}),Object.defineProperty(t,"media",{enumerable:!0,get:function(){return l.default}});var r=n(8),o=u(n(5)),a=n(6),i=n(2),c=n(4),l=u(n(11));function u(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DevseedUiThemeProvider=t.GlobalStyles=void 0;var r=u(n(9)),o=n(0),a=n(1),i=n(2),c=u(n(5)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function f(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n ","\n ","\n"]);return p=function(){return e},e}var d=(0,o.css)(["html{box-sizing:border-box;font-size:",";-webkit-tap-highlight-color:rgba(0,0,0,0);}*,*::before,*::after{box-sizing:inherit;}*{margin:0;padding:0;}body{background-color:",";color:",";font-size:",";line-height:",";font-family:",";text-transform:",";font-weight:",";font-style:",";font-variation-settings:",";min-width:",";","}a{cursor:pointer;color:",";text-decoration:none;transition:opacity 0.24s ease 0s;}a:visited{color:",";}a:hover{opacity:0.64;}a:active{transform:translate(0,1px);}[role='button']{cursor:pointer;}input,select,textarea{font:inherit;height:auto;width:auto;margin:0;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none;}b,strong{font-weight:",";}::selection{background-color:",";color:",";}.tether-element{z-index:1000;}.unscrollable-y{","}.unscrollable-x{","}"],(0,i.themeVal)("type.base.root"),(0,i.themeVal)("color.background"),(0,i.themeVal)("type.base.color"),(0,i.themeVal)("type.base.size"),(0,i.themeVal)("type.base.line"),(0,i.themeVal)("type.base.family"),(0,i.themeVal)("type.base.case"),(0,i.themeVal)("type.base.weight"),(0,i.themeVal)("type.base.style"),(0,i.themeVal)("type.base.settings"),(0,i.themeVal)("layout.min"),(function(e){return e.theme.type.base.antialiasing&&(0,o.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"])}),(0,i.themeVal)("color.link"),(0,i.themeVal)("color.link"),(0,i.themeVal)("type.base.bold"),(0,i.rgba)((0,i.themeVal)("color.base"),.64),(0,i.themeVal)("color.baseLight"),(0,l.unscrollableY)(),(0,l.unscrollableX)()),b=(0,o.createGlobalStyle)(p(),(0,a.normalize)(),d);t.GlobalStyles=b;t.DevseedUiThemeProvider=function(e){var t=e.children,n=e.theme,a=f(e,["children","theme"]),i="function"==typeof n?n(c.default.main):n||c.default.main;return r.default.createElement(o.ThemeProvider,s({theme:i},a),r.default.createElement(b,null),t)}},function(e,t){e.exports=n},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(0),a=(r=n(3))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],r=!0,o=!1,a=void 0;try{for(var i,c=e[Symbol.iterator]();!(r=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw a}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=["Up","Only","Down"];function f(e,t,n){var r=function(e,t){var n=u(e,2),r=n[0],o=n[1];switch(t){case"Up":return null===r?null:"only screen and (min-width: ".concat(r,"px)");case"Only":return null===r||null===o?null:"only screen and (min-width: ".concat(r,"px and max-width: ").concat(o,"px)");case"Down":return null===o?null:"only screen and (max-width: ".concat(o,"px)")}},o=null===e[0]?"lower":null===e[1]?"upper":null,a=r(e,n);return null!==a||"Up"!==n&&"Down"!==n?null===a?(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nYou can use (").concat(t).concat(null===e[0]?"Down":"Up",") instead.")),r(e,null===e[0]?"Down":"Up")):a:(console.warn("Media query warning: The specified media query (".concat(t).concat(n,") has no ").concat(o," bound.\nThere's no need for a media query in this case;")),null)}var p=["xsmall","small","medium","large","xlarge"].reduce((function(e,t){return c({},e,{},function(e){return s.reduce((function(t,n){return c({},t,l({},"".concat(e).concat(n),(function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(t){var i=(0,a.default)(t.theme,["mediaRanges",e]);i||console.warn("Media query warning: Missing bounds for (".concat(e,") range.\nAdd them to the theme under (mediaRanges: { ").concat(e,": [upper, lower] })"));var c=i?f(i,e,n):null;return c?(0,o.css)(["@media ","{","}"],c,o.css.apply(void 0,r)):o.css.apply(void 0,r)}})))}),{})}(t))}),{});t.default=p}])}));
{
"name": "@devseed-ui/theme-provider",
"version": "3.0.0-rc.0",
"version": "3.0.0",
"description": "devseed UI Kit Theme",

@@ -20,5 +20,5 @@ "browser": "./dist/index.web.js",

"front-end",
"responsive",
"styled-components",
"web"
"react",
"theme"
],

@@ -25,0 +25,0 @@ "publishConfig": {

@@ -119,3 +119,3 @@ # @devseed-ui/theme-provider

tertiary: '#4DA167'
quaternary: '#3AB795'
quaternary: '#2E86AB'
base: color.baseDark

@@ -125,6 +125,6 @@ background: color.baseLight

link: color.primary
danger: color.primary
danger: '#A71D31'
warning: color.secondary
success: color.tertiary
info: color.primary
info: color.quaternary
baseAlphaA: rgba(color.base, 0.02)

@@ -131,0 +131,0 @@ baseAlphaB: rgba(color.base, 0.04)

@@ -9,3 +9,3 @@ import { rgba } from 'polished';

tertiary: '#4DA167',
quaternary: '#3AB795',
quaternary: '#2E86AB',
};

@@ -19,6 +19,6 @@

link: color.primary,
danger: color.primary,
danger: '#A71D31',
warning: color.secondary,
success: color.tertiary,
info: color.primary,
info: color.quaternary,
};

@@ -25,0 +25,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc